summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Implement "address scope set" commandHuanxuan Ao2016-05-112-0/+115
| | | | | | | | This patch add a command that supports setting address scope properties. Change-Id: I9c4b5068a8abb986a9dc18b167b48b924d16ff42 Closes-Bug: #1566269
* Implement "address scope show" commandHuanxuan Ao2016-05-112-0/+77
| | | | | | | | This patch add a command that supports showing address scope details Change-Id: Ic0b41c1cab8c618904c7a6046d7493db5b74b430 Partial-Bug: #1566269
* Implement "address scope list" commandHuanxuan Ao2016-05-113-0/+87
| | | | | | | | This patch add a command that supports listing address scopes Change-Id: Id14757011560cacf28011ba51841a8e23b824f33 Partial-Bug: #1566269
* Implement "address scope delete" commandHuanxuan Ao2016-05-112-0/+50
| | | | | | | | This patch add a command that supports deleting a address scope Change-Id: Ie028058c759b9511d105a530d7e89b841865e7d6 Partial-Bug: #1566269
* Implement "address scope create" commandHuanxuan Ao2016-05-112-0/+260
| | | | | | | | | This patch supports creating a new address scope, with --ip-version,--project,--project-domain and --share or --no-share options. Change-Id: I37c73391a41ac239dd72d55dbc0adbebd7701f4a Partial-Bug: #1566269
* Merge "Rename --profile to --os-profile"2.4.0Jenkins2016-04-192-12/+29
|\
| * Rename --profile to --os-profileDean Troyer2016-04-192-12/+29
| | | | | | | | | | | | | | | | | | * The --profile global option is deprecated but will be supported through at least April 2017. * Update man page Closes-bug: #1571812 Change-Id: I2e623411a56096b4cc352f4eedbf770632ae2cc3
* | Merge "Fix client certificate/key support for Network v2 commands"Jenkins2016-04-191-1/+3
|\ \
| * | Fix client certificate/key support for Network v2 commandsCedric Brandily2016-04-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently network v2 commands don't support client certificate/key because they were not passed to OpenStackSDK Connection which is used by network v2 commands. This changes corrects the integration with OpenStacKSDK to pass client certificate/key. Closes-Bug: #1569513 Related-Bug: #1569508 Depends-On: Ic093f8515e7b15931994e4516ebec8f4399d021e Change-Id: Ie37e8e988ca695a09894c6c93560dacd83f17030
* | | Merge "Imported Translations from Zanata"Jenkins2016-04-193-273/+821
|\ \ \
| * | | Imported Translations from ZanataOpenStack Proposal Bot2016-04-193-273/+821
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I7e1c948a2bb7f4843cd8a58bb66fbedec79af39b
* | | | Merge "Add provider network options to osc network set"Jenkins2016-04-192-31/+42
|\ \ \ \ | |_|/ / |/| | |
| * | | Add provider network options to osc network setreedip2016-04-192-31/+42
| | |/ | |/| | | | | | | | | | | | | | | | | | | The following patch adds the provider network options to OSC "network set". Change-Id: I23b617077eda25d16164172a8e280082750eaf18 Partial-Bug: #1545537
* | | Merge "Add options to security group rule list"Jenkins2016-04-192-19/+126
|\ \ \ | |_|/ |/| |
| * | Add options to security group rule listRichard Theis2016-04-182-19/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following options to the 'os security group rule list' command: --long: Display direction and ethertype for Network v2 --all-projects: Display information from all projects for Compute v2 Change-Id: If8a1cbd7669cdfa6577d6d2f6fffd9e999a39a82 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | Merge "Initialize neutron client with region name"Jenkins2016-04-191-1/+5
|\ \ \ | |_|/ |/| |
| * | Initialize neutron client with region nameAndrey Larionov2016-04-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | All clients except neutron are initialized with region name. This makes unable to use network related commands of openstackclient in multi-region configurations Change-Id: I200dc9a2f938c3e69357f91c79810df167e4fccb Closes-bug: 1570491
* | | Merge "Remove methods argument from vloume/v2/fakes.py"Jenkins2016-04-181-9/+3
|\ \ \ | |_|/ |/| |
| * | Remove methods argument from vloume/v2/fakes.pyTang Chen2016-04-181-9/+3
| | | | | | | | | | | | | | | | | | | | | methods argument in FakeAvailabilityZone class is not necessary. Remove it. Change-Id: Idf136bf90bd94e7045b0d471b8e03cd843693251
* | | Merge "Propagate AttributeErrors when lazily loading plugins"Jenkins2016-04-183-1/+24
|\ \ \
| * | | Propagate AttributeErrors when lazily loading pluginsTim Burke2016-04-143-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if an AttributeError was raised in a plugin's make_client method, the plugin simply wouldn't be an attribute of the ClientManager, producing tracebacks like Traceback (most recent call last): File ".../openstackclient/shell.py", line 118, in run ret_val = super(OpenStackShell, self).run(argv) ... File ".../openstackclient/object/v1/container.py", line 150, in take_action data = self.app.client_manager.object_store.container_list( File ".../openstackclient/common/clientmanager.py", line 66, in __getattr__ raise AttributeError(name) AttributeError: object_store This made writing minimal third-party auth plugins difficult, as it obliterated the original AttributeError. Now, AttributeErrors that are raised during plugin initialization will be re-raised as PluginAttributeErrors, and the original traceback will be preserved. This gives much more useful information to plugin developers, as in Traceback (most recent call last): File ".../openstackclient/shell.py", line 118, in run ret_val = super(OpenStackShell, self).run(argv) ... File ".../openstackclient/object/v1/container.py", line 150, in take_action data = self.app.client_manager.object_store.container_list( File ".../openstackclient/common/clientmanager.py", line 57, in __get__ err_val, err_tb) File ".../openstackclient/common/clientmanager.py", line 51, in __get__ self._handle = self.factory(instance) File ".../openstackclient/object/client.py", line 35, in make_client interface=instance._interface, File ".../openstackclient/common/clientmanager.py", line 258, in get_endpoint_for_service_type endpoint = self.auth_ref.service_catalog.url_for( PluginAttributeError: 'NoneType' object has no attribute 'url_for' Change-Id: I0eee7eba6eccc6d471a699a381185c4e76da10bd
* | | | State i18() changes and help messages improvedTang Chen2016-04-188-200/+229
| |/ / |/| | | | | | | | | | | | | | | | | | | | Add _() to wrap help message in network commands. And also some improvement for help message. Change-Id: Ib3e498f5976ba98c44fd4eec2d1623263b3db53e Partial-bug: 1570924
* | | Merge "Remove methods argument from FakeHypervisorStats"Jenkins2016-04-161-2/+1
|\ \ \
| * | | Remove methods argument from FakeHypervisorStatsTang Chen2016-04-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | methods argument is not necessary in FakeHypervisorStats class. Remove it. Change-Id: I288f71b412beb3e583e957a9fd99210bc6f3f543
* | | | Add support for removing volume-type-accessSheel Rana2016-04-162-3/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to remove volume type access to project. This feature will provide support to remove volume type access from project. Closes-Bug:#1554890 Implements: bp cinder-command-support Change-Id: I029a4292da05f028e8937962cb845ec6e00b0279
* | | | Merge "Fix wrong attribute name and add functional test for --snapshot"Jenkins2016-04-151-0/+43
|\ \ \ \
| * | | | Fix wrong attribute name and add functional test for --snapshotJirayut Nimsaeng2016-04-151-0/+43
| |/ / / | | | | | | | | | | | | | | | | Change-Id: I91f2091ef06a55bcf5373d1beeea2dd81e9f1334 Closes-Bug: #1567895
* | | | Merge "Append existing information during port set"Jenkins2016-04-152-7/+34
|\ \ \ \
| * | | | Append existing information during port setreedip2016-04-142-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing --fixed-ip and --binding-profile information is currently overwritten when a user executes 'port set', but actually that data should be appended. This patch fixes the issue. Closes-Bug: #1564453 Change-Id: I62500c10ccbbc68167f24e9d4fa49e85345d82c4
* | | | | Merge "Add external network options to osc network set"Jenkins2016-04-152-8/+39
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add external network options to osc network setreedip2016-04-152-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network set" CLI to provide the user an option to set a network as an external network or remove the setting. Change-Id: I3a7f2cb249bc8101cbb01322d7732e913237d6cd Partial-Bug: #1545537
* | | | | Merge "Add project options to security group rule create"Jenkins2016-04-142-0/+56
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add project options to security group rule createRichard Theis2016-04-112-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --project and --project-domain options to the 'os security group rule create' command. These options are for Network v2 only. Change-Id: Ie3e136be076f0f2c22fbe7048d1d6eaebf5aa655 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | | Merge "Add network options to security group rule create"Jenkins2016-04-142-14/+98
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | Add network options to security group rule createRichard Theis2016-04-112-14/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following network options to the "os security group rule" command: (1) --ingress and --egress (2) --ethertype These options enable egress and IPv6 security group rules for Network v2. Change-Id: Ie30b5e95f94e0c087b0ce81e518de72d2dda25ad Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | Merge "Remove fake methods code from compute network"Jenkins2016-04-141-77/+15
|\ \ \ \
| * | | | Remove fake methods code from compute networkTang Chen2016-04-121-77/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Network objects don't have any method needs to fake. keys() method is only used by _get_columns() helper to obtain all attributes of an object. But in compute network implementation, attributes are obtained from obj._info directly, which is a dictionary itself. So there is no need to fake this method. Change-Id: Ie6a46ef6a3042641e55a7002573ef501db7b60e1
* | | | | Merge "use correct manager for volume snapshots"Jenkins2016-04-141-1/+1
|\ \ \ \ \
| * | | | | use correct manager for volume snapshotsSteve Martinelli2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the snapshot manager is volume_snapshots, not snapshots. Closes-Bug: #1567895 Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
* | | | | | Trivial: Fix incorrect comment textTang Chen2016-04-143-3/+3
| |_|_|/ / |/| | | | | | | | | | | | | | Change-Id: Ia6ec15f11a535a8de5769569d75e81094caed171
* | | | | Merge "Doc: Unify repeatable option comments"Jenkins2016-04-1311-26/+26
|\ \ \ \ \
| * | | | | Doc: Unify repeatable option commentsTang Chen2016-04-1211-26/+26
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are lots of "this option can be repeated" comments in the doc, which are not consistent to other similar docs. This patch changes them to the following format: "repeat option to do something" Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
* | | | | Merge "Append existing information during subnet set"Jenkins2016-04-132-0/+26
|\ \ \ \ \
| * | | | | Append existing information during subnet setreedip2016-04-082-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing values of --dns-nameserver, --allocation-pool and --houst-routes is currently overwritten when a user executes 'port set', but actually that data should be appended. This patch fixes the issue. Closes-Bug: #1564447 Change-Id: I3dba9afa68d869abb3960b55a6880401a10eebf7
* | | | | | Merge "Fix SSL/TLS verification for network commands"Jenkins2016-04-131-1/+2
|\ \ \ \ \ \
| * | | | | | Fix SSL/TLS verification for network commandsRichard Theis2016-04-081-1/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The network commands ignored the --insecure and --os-cacert options and OS_CACERT environment variable which prevented them from properly completing SSL/TLS verification. This resulted in the network commands failing with "An SSL error occurred." Change-Id: I15167631ef58335e1476c16b828b079e3b0f13c1 Closes-Bug: #1560157
* | | | | | Merge "Add --address-scope option "subnet pool create/set""Jenkins2016-04-133-8/+160
|\ \ \ \ \ \
| * | | | | | Add --address-scope option "subnet pool create/set"Tang Chen2016-04-093-8/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds --address-scope option to "subnet pool create/set" commands, and --no-address-scope option to "subnet pool set" command to clear the address scope setting. Change-Id: Ie2c370a50b52574fa6ec268083ad013b7544361e Partial-Bug: #1544586 Partial-Bug: #1544591
* | | | | | | Merge "Add support for setting volume-type-access"Jenkins2016-04-123-6/+116
|\ \ \ \ \ \ \
| * | | | | | | Add support for setting volume-type-accessSheel Rana2016-04-113-6/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to set volume type access to project. This patch will provide support for adding volume type access to existing project. Closes-Bug:#1554889 Implements: bp cinder-command-support Change-Id: Ie36e202bdde7de36eb263a476eb66699d82f7565