--- otc-tools-0.8.34.orig/debian/changelog
+++ otc-tools-0.8.34/debian/changelog
@@ -0,0 +1,1037 @@
+otc-tools (0.8.34-3+7.3) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 11 Jul 2026 19:05:33 +0000
+
+otc-tools (0.8.34-3) stable; urgency=low
+
+  * otc-tools-0834-setrecord.diff:
+    Add support for otc.sh domain setrecord to update existing recs.
+    Also support passing record names instead of of record ids in
+    setrecord, showrecord, deleterecord.
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 15 Aug 2022 17:09:09 +0200
+
+otc-tools (0.8.34-2) stable; urgency=low
+
+  * otc-tools-0834-multiregion.diff:
+    Store region in token cache file name to avoid conflicts.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 13 Nov 2019 10:00:06 +0100
+
+otc-tools (0.8.34-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.34:
+    - Strip \r (^M) from http responses.
+    - Support for multi-region endpoint lists from keystone v3. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 11 Nov 2019 10:06:53 +0100
+
+otc-tools (0.8.33-4) stable; urgency=low
+
+  * otc-tools-0833-osauth3-prjws.diff: Make sure project domain
+    is passed correctly in v3 auth call. Honor OS_AUTH_VERSION.
+    Also tolerate white space in project names (CityCloud) and
+    avoid warnings from jq for empty fields.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 10 Nov 2019 18:17:47 +0100
+
+otc-tools (0.8.33-3.1) stable; urgency=low
+
+  * otc-tools-0833-nova-api-version.diff: Ensure we use v1 endpoints
+    for old Huawei cloudservers API.
+
+ -- Roman Schiller <roman.schiller@t-systems.com>  Fri, 21 Jun 2019 23:24:12 +0100
+
+otc-tools (0.8.33-3) stable; urgency=medium
+
+  * otc-tools-0833-tokendebugout.diff: Use sha1sum and {SHA1} prefix.
+    Fix a case where X-Auth-Token would have ended up with the real
+    token in the output produced with --debug. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 10 Feb 2019 12:26:06 +0100
+
+otc-tools (0.8.33-2) stable; urgency=low
+
+  * otc-tools-0833-public-ep.diff: Only consider public endpoints.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  6 Feb 2019 15:14:30 +0100
+
+otc-tools (0.8.33-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.33:
+    - Document --autorecovery avail on KVM.
+    - Tolerate lowercase x-subject-token on authentication call.
+    - Handle tokens/secrets not starting with MII correctly.
+    - Fix --unscoped token retrieval and improve indentation.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  5 Feb 2019 15:01:01 +0100
+
+otc-tools (0.8.32-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.32:
+    - Update license to CC-BY-SA-4.0 (was 3.0).
+    - Add vm show2 using nova 2.26 API.
+    - Use floatingip --pep for special IPs (was --ipv6, misleading).
+    - Make ssh/scp_otc.sh chose the best multiple IPs.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  9 Nov 2018 11:35:57 +0100
+
+otc-tools (0.8.31-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.31:
+    - Prepare for publicip6 handling (untested, as not yet available
+      in OTC PreProduction environment).
+    - Support publicip bind with fixed IP specification (rather than
+      port).
+    - More verbose error messages.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  7 Nov 2018 19:43:20 +0100
+
+otc-tools (0.8.30-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.30:
+    - Work around tagging inconsistency in API (neutron, from Matt
+      Rechenburg).
+    - Implement otc.sh vpcpeer functions. 
+    - Clearer wording that otc-tools is deprecated (in favor of
+      python-openstackclient plus python-otcextensions).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  7 Nov 2018 19:42:23 +0100
+
+otc-tools (0.8.29-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.29:
+    - Fix volume create --scsi (parser failed). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 27 Sep 2018 12:38:38 +0200
+
+otc-tools (0.8.28-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.28:
+    - Use OS_TENANT_NAME if set and OS_PROJECT_NAME is not.
+    - --paginate arrayname option for custom GET command. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 26 Sep 2018 22:38:54 +0200
+
+otc-tools (0.8.27-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.27:
+    - Don't consider non-existence of autorecovery as error.
+    - Support --wait for vm start/stop/reboot (Rene Gilles).
+    - Allow --instance-id in image create to be a VM name.
+    - Support --type override for image create.
+  * Avoid confusing ssh with neutron port in ssh_otc.sh.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 24 Aug 2018 13:03:50 +0200
+
+otc-tools (0.8.26-1) stable; urgency=low
+
+  * Udpate to otc-tools-0.8.26:
+    - Automatical switch to vm create2 now really active.
+    - Prefer exact DNS name matches in domain commands and error 
+      out if no match is found.
+    - New vm flavor-pretty (flp) function resulting in a nicer to
+      read flavor list (from Sebastian Posner).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 13 Jun 2018 09:43:23 +0200
+
+otc-tools (0.8.25-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.25:
+    - Fix parsing of VM name as positional param (broke in 0.8.23).
+    - Support boot from volume (automatically switches to create2).
+    - Support internal ELBs without AZ specification.
+    - Fix typo in determination whether we need explicit block
+      device mapping (we could have missed disk size specification).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 30 May 2018 17:30:26 +0200
+
+otc-tools (0.8.24-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.24:
+    - Fix schedulder-hints passing for ecs create2.
+    - Support ecs console-log.
+    - Support for updating bandwidth of EIPs (eip update).
+    - Allow referencing EIPs by IP address.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat,  5 May 2018 21:01:12 +0200
+
+otc-tools (0.8.23-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.23:
+    - More work ecs create2: File injections, EIP allocation,
+      flexible block device mapping, tag inheritance to volumes.
+    - Allow passing custom scheduler-hints (JSON).
+    - ssh_otc.sh: add --wait option
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  3 May 2018 16:54:40 +0200
+
+otc-tools (0.8.22-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.22:
+    - New function ecs create2 that uses v2 (nova) API, incomplete.
+    - Is needed for physical flavors (Bare Metal) .
+    - Avoid accidentially setting flavor in ECSupdate.
+    - Resolve volume names in backuppol create and backup.
+    - Understand some alternative options to improve nova compat.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  1 May 2018 22:39:45 +0200
+
+otc-tools (0.8.21-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.21:
+    - Support otc.sh help XXX as alias for otc.sh XXX help.
+    - Support multiple certficates in ELB listener (for SNI).
+    - Support specifying --domain for ELB certificates (SNI).
+    - Support referencing ELB resources by name.
+    - Document token cache and cmd line parser in README.
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 19 Apr 2018 18:55:01 +0200
+
+otc-tools (0.8.20-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.20:
+    - Support --tags for backuppolicy create.
+    - Support referencing images by name in all images commands.
+    - Support images copy with optional encryption (Christian Wesp).
+    - Clarify that options normally precede positional parameters.
+    - Doc that gnu date is needed on MacOS (Mikhail Vasilenko).
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 13 Apr 2018 22:46:02 +0200
+
+otc-tools (0.8.19-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.19:
+    - Find error messages in JSON Body and output it.
+    - Find HTTP error codes even if in body and display.
+    - Preliminary support for --ipv6 EIPs (NAT64).
+    - Support for listing and displaying Autoscaling properties. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 25 Mar 2018 23:16:57 +0200
+
+otc-tools (0.8.18-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.18:
+    - Merged CCE deletion patch. 
+    - Don't apply VPC tag to VMs (no longer supported - #763042).
+    - Warn if "@" is found in tags (no longer supported).
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 13 Mar 2018 14:07:39 +0100
+
+otc-tools (0.8.17-2) stable; urgency=low
+
+  * otc-cce-delete-json.diff: Fix CCE cluster deletion.
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 12 Mar 2018 13:25:37 +0100
+
+otc-tools (0.8.17-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.17:
+    - When passing down tags, still output ECS ID last.
+    - Pass down tags to all created volumes with --inherit-tags.
+    - When referncing resources by name and querying the API with
+      &name=$NAME, do properly escape characters (not just %20).
+    - Speed up otc ecs details UUID (by not querying complete list).
+    - Detect FAIL status in job iface and bail out (Obaid Mushtaq).
+    - Pass rootdisk size as integer.
+  * ssh/scp_otc.sh updates:
+    - Don't pass SSHKey if we have it via ssh-agent.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  9 Mar 2018 15:52:54 +0100
+
+otc-tools (0.8.16-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.16:
+    - Support referencing dedicated hosts by name (suggested by Uli).
+    - Rudimentary support for natgw, dis, dcaas, product GET.
+    - Support stop, start, reboot without -instances alias.
+    - Support tag inheritance to root vol on VM creation and add
+      evs tags command to display them.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  9 Mar 2018 00:01:00 +0100
+
+otc-tools (0.8.15-1) stable; urgency=medium
+
+  * Update to otc-tools-0.8.15:
+    - Ensure correct exit status for custom commands.
+    - Avoid jq error msg from empty cce cluster and host lists.
+    - Fix help for file injection (reported by Uli Schneider).
+    - Add tagging support for vpc and subnet creation (Uli).
+    - --description option for security group creation (Uli).
+    - Fix --remotegroup handling in security-group-rules.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  7 Mar 2018 06:36:47 +0100
+
+otc-tools (0.8.14-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.14:
+    - Fixed RDS support (confusion by trove catalog entry).
+    - Support creation and deletion of CCE clusters and hosts.
+    - Streamlined cluster list output format -- beware if you parse
+      it!
+    - Fixed spurious error return code from VM creation (observed
+      and debugged by Obaid Mushtaq).
+    - Fixed missed error return code.
+    - Whitespace cleanup (Christian Kortwich).
+    - vm update now also handles resize (changing flavor).
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 24 Feb 2018 23:44:41 +0100
+
+otc-tools (0.8.13-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.13:
+    - Add VPC tag to freshly created VMs.
+    - Add vpn list and fw list.
+    - Improve ssh_ and scp_otc.sh helpers: Better VPC determination;
+      also check keys from ssh-agent before warning.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 14 Feb 2018 23:32:58 +0100
+
+otc-tools (0.8.12-1) stable; urgency=medium
+
+  * Update to otc-tools-0.8.12:
+    - Better error propagation broke token retrieval (on empty cache);
+      thanks to Artem Goncharov for analyzing and fixing.
+    - Default to uh-l1 volumetype for e1/e2/hl.
+    - Support for shares list and share show.
+    - ssh_otc.sh and scp_otc.sh wrappers, allowing to specify nova
+      names/UUIDs instead of IPs; automatically adding logname and
+      identity files.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 11 Feb 2018 22:17:27 +0100
+
+otc-tools (0.8.11-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.11:
+    - Better error propagation.
+    - Support managing predefined tags (see otc.sh tags help).
+    - Increase poll frequency, reflecting improved platform
+      performance.
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  8 Feb 2018 09:54:53 +0100
+
+otc-tools (0.8.10-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.10:
+    - Support for volume tagging (create, update, describe).
+    - Streamline ecs show output.
+    - Option to --rename on ecs delete.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 24 Jan 2018 11:10:52 +0100
+
+otc-tools (0.8.9-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.9:
+    - Add support for autorecovery (Huawei extension, Xen flavors).
+    - Be more systematic on using ERROR, #Warning, #Note, #DEBUG
+      prefixes in informational message.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 23 Jan 2018 08:54:34 +0100
+
+otc-tools (0.8.8-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.8:
+    - Fix "Token needs to refresh" also for domain scoped tokens.
+    - Add iam showextproject showing project status.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 20 Jan 2018 23:33:33 +0100
+
+otc-tools (0.8.7-1) stable; urgency=low
+
+  * Update to otc-toos-0.8.7:
+    - Handle premature token expiry "Token need to refresh". 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 18 Jan 2018 22:35:14 +0100
+
+otc-tools (0.8.6-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.6:
+    - Improve otc.sh vm delete implementation: Speed up and fix data
+      disk detachment and fix error return code.
+    - shareable disks now use a multiattach key.
+    - support date output by ancient date binaries.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  9 Jan 2018 23:43:26 +0100
+
+otc-tools (0.8.5-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.5:
+    - Use 9.9.9.9 rather than 8.8.8.8 as 2ndary nameserver.
+    - Adapt to changed ECS trace API (from Ralf Schaefer).
+    - iam users/groups/roles output JSON again, add listusers/groups/
+      roles instead.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 17 Nov 2017 22:07:22 +0100
+
+otc-tools (0.8.4-1) stable; urgency=medium
+
+  * Update to otc-tools-0.8.4:
+    - subnet create: calc GWIP if needed, add default nameservers.
+    - security-group-rulesi create: Fix URL, add --remoteip/group.
+    - new iam usermgmt: add/change/show/deluser.
+    - new iam groupmgmt: add/change/show/delgroup.
+    - new iam group user assignment: check/add/delgroupuser.
+    - new iam role group assignment: list/add/delroleuser. 
+    - Adjust output format of roles2, groups to list fmt.
+    - Support iam showrole.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 14 Nov 2017 18:16:52 +0100
+
+otc-tools (0.8.3-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.3:
+    - Fix reverted logic in curl wrapper which lead to a false
+      failure in the auth call (hidden by token caching). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 11 Nov 2017 20:59:04 +0100
+
+otc-tools (0.8.2-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.2:
+    - Filter images by virtual_env_type when matching names.
+    - Display it in images list.
+    - Stop overriding imageid with name.
+    - List format for antiddos list.
+    - Better HTML error code recognition.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 10 Nov 2017 13:32:37 +0100
+
+otc-tools (0.8.1-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.1:
+    - Make ~/tmp for token caching if not existent yet.
+    - Doc update.
+    - Support otc cts show (from Ralf Schaefer).
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 14 Oct 2017 23:06:09 +0200
+
+otc-tools (0.8.0-1) stable; urgency=low
+
+  * Update to otc-tools-0.8.0:
+    - Filter out duplicates from the service catalogue.
+    - Cache tokens and reuse them if they are still valid, works
+      also for domain and unscoped tokens. Can be controlled via 
+      --nocache 
+    - Convenience: DNS domains/zones can be referenced by name now.
+    - Fix support for private DNS zones, add associate and dissociate
+      support.
+    - Simple list support for cache, shares, tags, dws, migration
+      (DCS, SFS, TMS, DWS, MAAS in OTC lingo).
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  6 Oct 2017 18:18:16 +0200
+
+otc-tools (0.7.18-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.18:
+    - Allow updating tags and metadata for VMs.
+    - Support for iam cleanproject and recoverproject.
+    - Fix exit code when using paginated interfaces.
+    - Display tags on ecs show.
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 11 Sep 2017 16:51:25 +0200
+
+otc-tools (0.7.17-1) stable; urgency=low
+
+  * Update to 0.7.17:
+    - Add custom HEAD support
+    - Parse return codes from HEAD and adjust exit code
+    - Support iam deletetoken (not yet supported by OTC)
+    - Support passing tags and metadata to created VMs.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun,  3 Sep 2017 18:14:12 +0200
+
+otc-tools (0.7.16-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.16:
+    - Support for project creation, deletion, ... (not yet launched)
+    - Support for ulb list and show (use neutron lbaas ...)
+    - Support for elb cert handling and param tweaking (timeouts,
+      cookies, draining stickyness fixes)
+    - Support for deh list create delete show listvms listtypes
+    - Support for backuppolicy create update delete add remove
+      excute listtasks showtasks
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 23 Aug 2017 19:50:13 +0200
+
+otc-tools (0.7.15-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.15:
+    - Merge otc-tools-nonpag.diff
+    - Fix notifications delete
+    - Add support for placement on dedicated host (Sebastian Posner)
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  4 Aug 2017 23:21:51 +0200
+
+otc-tools (0.7.14-2) stable; urgency=low
+
+  * otc-tools-nonpag.diff: avoid using paginated interface when
+    unneeded. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 26 Jul 2017 14:32:15 +0200
+
+otc-tools (0.7.14-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.14:
+    - Output volume_id on evs create.
+    - Support filters for ecs, evs, backup, snapshot list.
+    - Use REST filters for image, ecs, evs, backup, snapshot name
+      to ID conversions (efficiency improvement).
+    - Allow explicit --vbd parameter in EVS creation.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 26 Jul 2017 09:30:40 +0200
+
+otc-tools (0.7.13-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.13:
+    - Support setting volume parameters for encryption, SCSI
+      passthrough attachment, and sharing.
+    - mds network_data (fails).
+    - Improve help for SNAT en/disablement (Christian).
+    - iam catalog and roles for keystonev2.
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 17 Jun 2017 17:13:00 +0200
+
+otc-tools (0.7.12-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.12:
+    - Support switching on/off SNAT and displaying and setting 
+      routes.
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 11 May 2017 16:34:16 +0200
+
+otc-tools (0.7.11-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.11:
+    - Avoid spurious error messages when we have arrays without.
+    - Fix assignment of specific EIP on VM creation (#349117). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 24 Apr 2017 23:47:47 +0200
+
+otc-tools (0.7.10-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.10:
+    - Support for DMS: otc queues ... commands.
+    - Split up help and support otc FUNC help.
+    - otc ecs show now outputs valid JSON.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 29 Mar 2017 20:54:55 +0200
+
+otc-tools (0.7.9-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.9:
+    - Support for notification/messaging service (SNM), except 
+      templates. topics: list, show, create, delete
+      subscriptions: subscriptions, subscribe, unsubscribe
+      SMS and publish
+    - Some code cleanup and formatting fixes (inspired by Stefan
+      Flachsbarth)
+    - Better error output and return code propagation.
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 16 Mar 2017 12:47:20 +0100
+
+otc-tools (0.7.8-2) stable; urgency=low
+
+  * Fix up packaging error. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 12 Mar 2017 11:28:12 +0100
+
+otc-tools (0.7.8-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.8:
+    - Allow OS_USER_ID instead of OS_USERNAME for auth.
+    - Allow specifying multiple NICs with --nicsubs on VM creation.
+    - Support for ecs attach-nic/detach-nic.
+    - vpc limits (quota display).
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 12 Mar 2017 11:02:26 +0100
+
+otc-tools (0.7.7-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.7:
+    - Don't require OS_ config for mds or help
+    - Add security-group delete
+    - Add region filter to endpoint catalog parsing (not curr used)
+    - otc stack functions (HEAT -- read-only for now)
+    - otc kms list function
+    - Prepare mrs and antiddos API support
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  8 Mar 2017 18:53:24 +0100
+
+otc-tools (0.7.6-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.6:
+    - Support for domain scoped tokens, needed for iam users, iam
+      groups (not working) and federation functions.
+    - Optional --domain/projectscope gets a domai/prjn scoped token
+    - Support iam roles (list format)
+    - list format for iam catalog, domain list and domain listrecords
+    - new pagination handling: automagically paginate if estimated
+      request size exceeds a certain limit (default 250k, #123751)
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  3 Mar 2017 17:36:11 +0100
+
+otc-tools (0.7.5-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.5:
+    - Support for ecs list-short (avoid API body length limits)
+    - Merge flexible APILIMIT limit setting from Sebastian Posner.
+    - Allow flexibe pagination with --limit and --marker for list.
+    - Support iam domain to retrieve domain ID.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed,  1 Mar 2017 18:46:15 +0100
+
+otc-tools (0.7.4-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.4:
+    - Prefix $BASEURL for custom commands if URL starts with /
+    - Fix images accept/rejectshare (PUT, default to self)
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 22 Feb 2017 23:53:18 +0100
+
+otc-tools (0.7.3-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.3:
+    - Convert metrics timesteamps to seconds (consistency)
+    - Some iam GET functions for federation:
+      [list|show][idp|mapping|protocol] and keystonemeta.
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 17 Feb 2017 19:22:27 +0100
+
+otc-tools (0.7.2-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.2:
+    - Fix for booting with EIP allocation (from Matthias)
+    - Support for Image sharing API (OpenStack style, w/o schema
+      check)
+    - Fix for custom POST
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 14 Feb 2017 20:52:19 +0100
+
+otc-tools (0.7.1-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.1:
+    - Fix publicip list 
+    - Add alias names for services (e.g. server for ecs)
+    - Support securitygroup show
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 12 Feb 2017 11:19:15 +0100
+
+otc-tools (0.7.0-1) stable; urgency=low
+
+  * Update to otc-tools-0.7.0:
+    - Consistently make otc * list return "   " separated lists
+    - Add some more detail to lists; 3rd std field is status
+    - Add otc iam catalog returning catalog from token request
+    - Support for otc custom commands
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 11 Feb 2017 23:58:26 +0100
+
+otc-tools (0.6.44-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.44:
+    - Add otc mds meta_data, user_data, vendor_data helpers
+    - Internal ELB requires security-group
+    - Use OTC API for backup deletion
+    - Determine REGION_NAME and CLOUD_ENV from AUTH_URL
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 29 Jan 2017 23:44:43 +0100
+
+otc-tools (0.6.43-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.43:
+    - Support attaching additional disks on VM creation (Junlin)
+    - alarms dis/enablement, deletion, quotas
+    - list for new services trace, notifications, queues
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 27 Jan 2017 15:16:11 +0100
+
+otc-tools (0.6.42-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.42:
+    - bug fix for ELB listener name (from Matthias Witte)
+    - New rds commands: deletesnapshot, createsnapshot,
+      showslowstatements, showerrors (from Christian Kortwich) 
+    - bugfix for rds delete instance (dito)
+    - add otc metrics list, favorites, show
+    - add otc alarms list, show
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 26 Jan 2017 16:24:00 +0100
+
+otc-tools (0.6.41-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.41:
+    - snapshot list, show, delete commands
+    - delete autogenerated snapshots on backup deletion
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 18 Jan 2017 21:46:13 +0100
+
+otc-tools (0.6.40-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.40:
+    - Support backup show and delete by name.
+    - New rds commands: listsnapshots, showbackuppolicy,
+      showdatastoreparameter[s] (from Christian Kortwich).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 18 Jan 2017 19:00:49 +0100
+
+otc-tools (0.6.39-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.39:
+    - Fix image creation from instance (requires OTC specific API)
+    - Add images delete by-name function (forgotten in 0.6.29)
+    - Flexible --[no]wait handling for long running jobs: By default
+      wait for id (backup/image) assignment, but optionally don't
+      wait at all (--nowait) or until full completion (--wait).
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  5 Jan 2017 13:49:18 +0100
+
+otc-tools (0.6.38-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.38:
+    - New otc ecs details [FILTER] command that lists VMs in a terse
+      format still providing the most relevant pieces of information
+      (except for Floating IPs, may be added later)
+    - Add same FILTER (substring match) option to ecs list-detail.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 20 Dec 2016 23:15:22 +0100
+
+otc-tools (0.6.37-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.37:
+    - Expose otc task show/delete/wait interface
+    - Increase limits (REST pagination, from Reik)
+    - Documentation improvements
+    - Fix typo and improve help for images create (Junlin Huang)
+    - Fix dbId parameter passing in rds flavor-lisy (Reik)
+    - Support rds functions even if service catalog does not
+      advertise database endpoint (Reik).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 14 Dec 2016 10:27:42 +0100
+
+otc-tools (0.6.36-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.36:
+    - Fix stop-instances (needs valid type soft or hard)
+    - Support image creation from instance (by cricketlong)
+    - Add support for backup functions
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  1 Dec 2016 16:59:19 +0100
+
+otc-tools (0.6.35-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.35:
+    - Fix internal ELB creation by passing AZ id (Reik)
+    - Typo in domain warning message (Thorsten Schifferdecker)
+    - Optional filtering in images list
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 29 Nov 2016 09:54:49 +0100
+
+otc-tools (0.6.34-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.34:
+    - Implement images download
+    - Enable option to wait for ecs delete (Reik)
+    - Add basic volume create/delete (Reik)
+    - Improve internal ELB creation (Reik)
+    - Compare volume AZ to VM AZ and warn if no matching (Jan) 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 17 Nov 2016 00:31:58 +0100
+
+otc-tools (0.6.33-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.33:
+    - VM AZ not matching subnet AZ is only a warning now (from Jan 
+      Huthmann).
+    - add container cluster and host listing (OTC specific functions)
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 12 Nov 2016 18:02:20 +0100
+
+otc-tools (0.6.32-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.32:
+    - Basic support for keystonev2
+    - Use native API for volumes
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 10 Nov 2016 17:05:22 +0100
+
+otc-tools (0.6.31-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.31:
+    - otc ecs az-list added
+    - add iam functions (services, catalog, projects)
+    - increase some limits (listing images, volumes)
+    - parse service catalog to determine endpoints (providing basic
+      compatibility with other OpenStack clouds)
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  8 Nov 2016 17:55:28 +0100
+
+otc-tools (0.6.30-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.30:
+    - Support OTC specific image API that creates and uploads image
+      with one call (otc images register). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  4 Nov 2016 19:24:43 +0100
+
+otc-tools (0.6.29-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.29:
+    - Fix EIP assignment on ECS creation (Reik Keutterling)
+    - VPC and subnet show and delete
+    - Allow names instead of IDs in show for ecs, evs, images,
+      vpc, subnet as well as security-group-rules list. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  3 Nov 2016 14:45:22 +0100
+
+otc-tools (0.6.28-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.28:
+    - Fix image property replacement
+    - Allow changing image name, mindisk, minram
+    - Make VM creation less verbose; poll every 5s
+    - VM creation: Fix wait for subtasks; handle multi-image match
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 29 Oct 2016 23:30:10 +0200
+
+otc-tools (0.6.27-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.27:
+    - Fix image property removal
+    - Volume (evs) attach and detach (Rene Gilles)
+    - ECS creation options: EIP select and Volume attachment (R
+      Gilles)
+    - ECS deletion options: Control EIP and Volume release (R Gilles)
+
+ -- Kurt Garloff <kurt@garloff.de>  Sat, 29 Oct 2016 07:38:24 +0200
+
+otc-tools (0.6.26-2) stable; urgency=low
+
+  * Rename otc to otc.sh and use update-alternatives to link otc.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 19 Oct 2016 14:20:22 +0200
+
+otc-tools (0.6.26-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.26:
+    - Support DNS as a Service (designate v2) API
+    - Improve README 
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 19 Oct 2016 14:08:22 +0200
+
+otc-tools (0.6.25-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.25:
+    - Support multiple SGs at VM creation (Rene Gilles)
+    - Support for updating image properties
+    - Support for updating VM properties 
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 12 Oct 2016 13:47:21 +0200
+
+otc-tools (0.6.24-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.24:
+    - Support --property in images create
+    - Support deletion of multiple images
+    - Pass '.' to empty jq calls to avoid breaking with redirection 
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  7 Oct 2016 13:24:17 +0200
+
+otc-tools (0.6.23-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.23:
+    - Support image file upload openstack style
+    - Display quotas
+    - Support proxy authentication
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  6 Oct 2016 15:19:05 +0200
+
+otc-tools (0.6.21-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.21:
+    - Support passing user_data and fixed ip during VM creation.
+    - Support image creation and deletion.
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  6 Oct 2016 01:17:29 +0200
+
+otc-tools (0.6.20-2) stable; urgency=low
+
+  * Fix typo causing OS_ env to be reread even if already set.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 28 Sep 2016 23:35:25 +0200
+
+otc-tools (0.6.20-1) stable; urgency=low
+
+  * Do not distribute CA bundle any more.
+  * Update to otc-tools-0.6.20:
+    - Adapt to changed legacy image upload via s3 interface
+    - Fix rds delete
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 28 Sep 2016 12:20:29 +0200
+
+otc-tools (0.6.19-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.19:
+    - Add support for RDS API calls.
+    - Warn about world-readable config files (credentials!).
+    - Optional OTC_TENANT env as suffix to config files.
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 19 Sep 2016 17:50:04 +0200
+
+otc-tools (0.6.18-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.18:
+    - Fix security-group create (POST, not PUT). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu,  4 Aug 2016 22:58:04 +0200
+
+otc-tools (0.6.17-1) stable; urgency=low
+
+  * Update to otc-tools-0.6.17:
+    - Fix tasks/jobs URL broken by last change.
+    - Support images upload ID bucket:objectname (s3).
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 18 Jul 2016 00:34:05 +0200
+
+otc-tools (0.6.16-1) stable; urgency=low
+
+  * Update to otc-0.6.16:
+    - Support other regions / envs (e.g. PreProd). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue, 12 Jul 2016 06:36:59 +0200
+
+otc-tools (0.6.15-1) stable; urgency=low
+
+  * Update to otc-0.6.15:
+    - Add ELB management functions.
+    - Add otc keypair management functions.
+  * Update to otc-0.6.14:
+    - Be more verbose which config files are being used to avoid
+      confusion.
+    - Generic debug function: otc debug cmd1 cmd2 now works in
+      general.
+    - Some refactoring.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 29 Jun 2016 23:13:31 +0200
+
+otc-tools (0.6.13-1) stable; urgency=low
+
+  * Update to otc-0.6.13: (mostly from Reik Keutterling)
+    - Add Public IP management support (publicip list/create/bind/
+      unbind/delete)
+    - Allow multiple security groups to be specified by ID
+    - Allow bandwidth controller name to be specified
+
+ -- Kurt Garloff <kurt@garloff.de>  Mon, 30 May 2016 12:34:53 +0200
+
+otc-tools (0.6.12-2) stable; urgency=low
+
+  * Patch to parse last option (even if without argument) and
+    improve messages (Note vs WARNING vs ERROR).
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 25 May 2016 12:51:34 +0200
+
+otc-tools (0.6.12-1) stable; urgency=low
+
+  * Update to 0.6.12: (mostly from Christian Kortwich)
+    - New command volume show (aka evs show).
+    - Better help instruction.
+    - Whitespace cleanup.
+    - Clarify license to be CC-BY-SA 3.0. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 19 May 2016 19:06:53 +0200
+
+otc-tools (0.6.11-1) stable; urgency=low
+
+  * Update to 0.6.11:
+    - New command line options for VM (ECS) creation:
+      --wait/--nowait, --volumetype, --bandwidth
+    - Defaults for VOLUMETYPE
+    - Derive AZ from subnet's AZ and check consistency
+    - Default count to 1 if nothing specified in ECS creation
+    - Optional --soft/--hard for ECS actions (reboot etc.)
+    - Document debug option in help message
+    - Only warn if s3 is missing, don't abort
+    - Fix otc ecs job <TASKID>
+
+ -- Kurt Garloff <kurt@garloff.de>  Thu, 12 May 2016 15:36:54 +0200
+
+otc-tools (0.6.10-1) stable; urgency=low
+
+  * Update to 0.6.10:
+    - Support injection of both password and ssh keypair
+    - Avoid pagination issues by passing limit
+    - images list does compact list, add images detail
+    - likewise: security-group list does compact list, fix
+      security-group-rules list.
+    - Rationalize ecs flavor-list
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri, 22 Apr 2016 10:08:15 +0200
+
+otc-tools (0.6.9-1) stable; urgency=low
+
+  * Update to 0.6.9: Include CA Bundle, option to list volumes. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 17 Apr 2016 09:29:43 +0200
+
+otc-tools (0.6.8-1) stable; urgency=low
+
+  * Update to 0.6.8: Add option to delete VMs.
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 13 Apr 2016 10:57:43 +0200
+
+otc-tools (0.6.7-1) stable; urgency=low
+
+  * Update to 0.6.7: Option to change (enlarge) root disk size. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Wed, 13 Apr 2016 09:25:29 +0200
+
+otc-tools (0.6.6-1) stable; urgency=low
+
+  * Add keypair list command (aliases ecs keyname-list). 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 10 Apr 2016 10:41:22 +0200
+
+otc-tools (0.6.5-1) stable; urgency=low
+
+  * Update to 0.6.5: Fix ecs creation and public ip charging. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Fri,  8 Apr 2016 19:44:55 +0200
+
+otc-tools (0.6.4-1) stable; urgency=low
+
+  * Update to 0.6.4: Filter security group by vpc_id.
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  5 Apr 2016 13:49:27 +0200
+
+otc-tools (0.6.3-1) stable; urgency=low
+
+  * Update to 0.6.3: Add missing keymap setting. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Tue,  5 Apr 2016 08:49:27 +0200
+
+otc-tools (0.6.2-1) stable; urgency=low
+
+  * Update to 0.6.2: Use jq select to parse tables. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun,  3 Apr 2016 19:09:52 +0200
+
+otc-tools (0.6.1-1) stable; urgency=low
+
+  * Add example script. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 13 Mar 2016 22:09:53 +0100
+
+otc-tools (0.6.0-2) stable; urgency=low
+
+  * Source ~/novarc and ~/.ostackrc if needed and existent
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 13 Mar 2016 21:02:59 +0100
+
+otc-tools (0.6.0-1) stable; urgency=low
+
+  * otc-tools-0.6: Initial package creation. 
+
+ -- Kurt Garloff <kurt@garloff.de>  Sun, 13 Mar 2016 20:49:01 +0100
+
--- otc-tools-0.8.34.orig/debian/compat
+++ otc-tools-0.8.34/debian/compat
@@ -0,0 +1 @@
+7
--- otc-tools-0.8.34.orig/debian/control
+++ otc-tools-0.8.34/debian/control
@@ -0,0 +1,18 @@
+Source: otc-tools
+Section: SystemUtilities
+Priority: optional
+Maintainer: Kurt Garloff <kurt@garloff.de>
+Build-Depends: debhelper (>= 4.1.16)
+
+Package: otc-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, jq
+Recommends: libs3-4
+Description: This is a shell script that uses curl and jq to talk to the
+ Open Telekom Cloud APIs (OpenStack and OTC specific APIs).
+ It's a nice demonstrator to see how the API works and allows
+ for simple automation and testing. For production use, we
+ recommend the native python-openstackclient, amended with
+ -otcextensions.
+ Authors: Zsolt Nagy and Kurt Garloff
+
--- otc-tools-0.8.34.orig/debian/postinst
+++ otc-tools-0.8.34/debian/postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+	update-alternatives --quiet --install /usr/bin/otc otc /usr/bin/otc.sh 15
+    ;;
+esac
+
--- otc-tools-0.8.34.orig/debian/prerm
+++ otc-tools-0.8.34/debian/prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+	update-alternatives --remove otc /usr/bin/otc.sh
+    ;;
+esac
+
--- otc-tools-0.8.34.orig/debian/rules
+++ otc-tools-0.8.34/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess. 
+#
+# This version is for packages that are architecture dependent.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	mv .otc_env.sh otc_env.sh
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	#$(MAKE) distclean
+
+	dh_clean
+
+install: build
+
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Add here commands to install the package into debian/<packagename>
+	dh_listpackages
+	install -d $(CURDIR)/debian/otc-tools/usr/bin
+	install -m 0755 otc.sh $(CURDIR)/debian/otc-tools/usr/bin/otc.sh
+	install -m 0755 ssh_otc.sh $(CURDIR)/debian/otc-tools/usr/bin/
+	install -m 0755 scp_otc.sh $(CURDIR)/debian/otc-tools/usr/bin/
+	install -d $(CURDIR)/debian/otc-tools/usr/share/doc/otc-tools/
+	install -m 0644 otc_env.sh README imagesflavorsloop_tscom.sh $(CURDIR)/debian/otc-tools/usr/share/doc/otc-tools/
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installcatalogs
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installwm
+#	dh_installudev
+#	dh_lintian
+#	dh_bugfiles
+#	dh_undocumented
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- otc-tools-0.8.34.orig/otc.sh
+++ otc-tools-0.8.34/otc.sh
@@ -577,6 +577,7 @@
 {
 	# We don't need OS_REGION_NAME, as it's contained in the PROJECT.
 	local FN="${OS_USERNAME% *}"
+	if test -n "$OS_REGION_NAME"; then FN="$FN.$OS_REGION_NAME"; fi
 	if test "$REQSCOPE" != "unscoped"; then FN="$FN.$OS_USER_DOMAIN_NAME"; fi
 	local PRJ=$OS_PROJECT_ID
 	if test -z "$PRJ"; then PRJ="$OS_PROJECT_NAME"; fi
@@ -777,8 +778,9 @@
 			if test -n "$OUTPUT_ROLES"; then echo "$ROLEJSON" | jq '.id+"   "+.name' | tr -d '"'; fi
 			if test -n "$DEL_TOKEN"; then curldeleteauth $TOKEN "$IAM_AUTH_URL"; fi
 		else
-			SERVICES="$(curlgetauth $TOKEN ${IAM_AUTH_URL%auth*}services)"
-			ENDPOINTS="$(curlgetauth $TOKEN ${IAM_AUTH_URL%auth*}endpoints)"
+			SERVICES="$(curlgetauth $TOKEN ${IAM_AUTH_URL%auth*}services 2>/dev/null)"
+			ENDPOINTS="$(curlgetauth $TOKEN ${IAM_AUTH_URL%auth*}endpoints 2>/dev/null)"
+			if test $? != 0; then echo "Error retrieving services/endpoints" 1>&2; fi
 			#if test "$?" != "0"; then
 			#	echo "ERROR: No keystone v3 service catalog" 1>&2
 			#	exit 2
@@ -1409,6 +1411,9 @@
 	echo "                        # type could be A, AAAA, MX, CNAME, PTR, TXT, NS"
 	echo "                        # val is a comma sep list of record values, e.g."
 	echo "                        # IPADDR, NR NAME, NAME, NAME, STRING, NAME."
+	echo "otc domain setrecord	zid name. type ttl val [desc]"
+	echo "                        # Same parameters as addrecord, for existing record"
+	echo "                          Note: set/show/delrecord can use name or rid"
 	echo "otc domain showrecord zid rid     # show record <rid> for zone <zid>"
 	echo "otc domain listrecords [zid]      # list records for zone <zid>"
 	echo "otc domain delrecord zid rid      # delete record <rid> in zone <zid>"
@@ -3260,10 +3265,52 @@
 	return ${PIPESTATUS[0]}
 }
 
+# Params: ZONEID NAME
+findRID()
+{
+	RID=$(curlgetauth $TOKEN "$AUTH_URL_DNS/$1/recordsets?name=$2" | jq .recordsets[].id | tr -d '"')
+	echo $RID
+}
+
+# Params: ZONEID NAME TYPE TTL VAL[,VAL] [DESC]
+setRecord()
+{
+	ID=$(domainNameID $1) || exit
+	if test -z "$5"; then
+		echo "ERROR: Need to provide more params" 1>&2
+		exit 1
+	fi
+	RID="$2"
+	if ! [[ "$2" =~ ^[0-9a-f]+$ ]]; then
+		RID=$(findRID "$ID" "$2")
+	fi
+	case "$3" in
+		A|AAAA|MX|PTR|CNAME|NS|TXT)
+			;;
+		*)
+			echo "WARN: Unknown record type \"$3\"" 1>&2
+			;;
+	esac
+	local REQ="{ \"type\": \"$3\", \"ttl\": $4"
+	if test -n "$6"; then REQ="$REQ, \"description\": \"$6\""; fi
+	local OLDIFS="$IFS"
+	local VALS=""
+	IFS=","
+	for val in $5; do VALS="$VALS \"$val\","; done
+	IFS="$OLDIFS"
+	REQ="$REQ, \"records\": [ ${VALS%,} ] }"
+	curlputauth $TOKEN "$REQ" $AUTH_URL_DNS/$ID/recordsets/$RID | jq '.'
+	return ${PIPESTATUS[0]}
+}
+
 showRecord()
 {
 	ID=$(domainNameID $1) || exit
-	curlgetauth $TOKEN $AUTH_URL_DNS/$ID/recordsets/$2 | jq '.'
+	RID="$2"
+	if ! [[ "$2" =~ ^[0-9a-f]+$ ]]; then
+		RID=$(findRID "$ID" "$2")
+	fi
+	curlgetauth $TOKEN $AUTH_URL_DNS/$ID/recordsets/$RID | jq '.'
 	return ${PIPESTATUS[0]}
 }
 
@@ -3289,7 +3336,12 @@
 }
 deleteRecord()
 {
-	curldeleteauth $TOKEN "$AUTH_URL_DNS/$1/recordsets/$2" | jq .
+	ID=$(domainNameID $1) || exit
+	RID="$2"
+	if ! [[ "$2" =~ ^[0-9a-f]+$ ]]; then
+		RID=$(findRID "$ID" "$2")
+	fi
+	curldeleteauth $TOKEN "$AUTH_URL_DNS/$ID/recordsets/$RID" | jq .
 	return ${PIPESTATUS[0]}
 }
 
@@ -7702,6 +7754,8 @@
 	deleteRecord "$@"
 elif [ "$MAINCOM" == "domain" -a "$SUBCOM" == "addrecord" ]; then
 	addRecord "$@"
+elif [ "$MAINCOM" == "domain" -a "$SUBCOM" == "setrecord" ]; then
+	setRecord "$@"
 elif [ "$MAINCOM" == "domain" -a "$SUBCOM" == "associate" ]; then
 	associateDomain "$@"
 elif [ "$MAINCOM" == "domain" -a "$SUBCOM" == "dissociate" ] ||
