oci-cli/oc_name-defaults_file-parameter.patch

13 lines
1.1 KiB
Diff
Raw Normal View History

Accepting request 745485 from home:glaubitz:branches:Cloud:Tools - Update to version 2.6.10 + Support for retrieving metadata for Autonomous Wallet, both regional and instance, as well as requesting rotation of Autonomous Wallets, both regional instance. Generate wallet now allows for specifying the wallet type to download, All or Single. + ``oci db autonomous-database get-metadata --id <an OCID of an autonomous database>`` + ``oci db autonomous-database get-regional-wallet-metadata`` + ``oci db autonomous-database-wallet rotate --should-rotate true --id <an OCID of an autonomous database>`` + ``oci db autonomous-database-wallet rotate-regional-wallet --should-rotate true`` + ``oci db autonomous-database generate-wallet --generate-type ALL`` + ``oci db autonomous-database generate-wallet --generate-type SINGLE`` + Support for adding and removing image shape compatibility entries * ``oci compute image-shape-compatibility-entry add`` * ``oci compute image-shape-compatibility-entry remove`` + Support for managing redirects (e.g. create, update, delete, get list) * ``oci waas http-redirect change-compartment --compartment-id, --http-redirect-id`` * ``oci waas http-redirect create --compartment-id, --domain, --target, --defined-tags, --display-name, --freeform-tags, --response-code`` * ``oci waas http-redirect delete --http-redirect-id, --force`` * ``oci waas http-redirect get --http-redirect-id`` * ``oci waas http-redirect list --compartment-id, --all-pages, --display-name, --id, --time-created-greater-than-or-equal-to, --time-created-less-than`` * ``oci waas http-redirect update --http-redirect-id, --defined-tags, --display-name, --force, --freeform-tags, --response-code, --target`` + Support for migrating Dyn HTTP Redirect Service to OCI DNS * ``oci dns zone migrate-from-dynect`` + ``oci setup oci-cli-rc`` will try to create the directory for the oci_cli_rc file, if it does not exist. + Added validation check for thread count ``--parallel-upload-count`` and OBS-URL: https://build.opensuse.org/request/show/745485 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=2
2019-11-05 14:51:34 +01:00
diff -Nru oci-cli-2.6.10.orig/src/oci_cli/cli_root.py oci-cli-2.6.10/src/oci_cli/cli_root.py
--- oci-cli-2.6.10.orig/src/oci_cli/cli_root.py 2019-10-29 21:42:32.000000000 +0100
+++ oci-cli-2.6.10/src/oci_cli/cli_root.py 2019-11-05 13:48:54.066905418 +0100
@@ -219,7 +219,7 @@
@click.option('--profile',
default=Sentinel(DEFAULT_PROFILE), show_default=False,
help='The profile in the config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file. [default: DEFAULT]')
-@click.option('--cli-rc-file', '--defaults-file',
+@click.option('--cli-rc-file', '--defaults-file', 'defaults_file',
default=cli_constants.CLI_RC_DEFAULT_LOCATION, show_default=True,
is_eager=True, callback=eager_load_cli_rc_file,
help='The path to the OCI CLI-specific configuration file, containing parameter default values and other configuration information such as command aliases and predefined queries. The --defaults-file option is deprecated and you should use the --cli-rc-file option instead.')