summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Add identity v3 catalog listTerryHowe2015-03-072-0/+140
| | | | Change-Id: Id4c1371ca28b9fd884ec75061edca700fd69886c
* Handle novaclient >2.20.0Dean Troyer2015-03-033-11/+19
| | | | | | | | | | As of 2.21.0 novaclient moved all of the v1_1 classes to v2 with a deprecation warning. The version-non-specific interfaces provided in novaclient.client are insufficient to support a few specific commands in OSC so we need to conditionally import directly from the correct classes. Closes-Bug: #1418024 Change-Id: I864b1908737803069dc1419c9cbca391b985c932
* Merge "Fix error msg in sort_items"Jenkins2015-03-021-1/+7
|\
| * Fix error msg in sort_itemszhiyuan_cai2015-02-111-1/+7
| | | | | | | | | | | | | | | | Include direction users pass in the error msg to help users know which part of the argument is troublesome. Change-Id: I796a85fbf40f6ddf544fb52a61f967e1914abdcc Closes-Bug: #1420732
* | Merge "Fix auth-required for help command"Jenkins2015-03-024-59/+89
|\ \
| * | Fix auth-required for help commandDean Troyer2015-02-274-59/+89
| |/ | | | | | | | | | | | | | | | | | | When we got picky with the auth arguments we broke using help without any auth config supplied. This rearranges things a bit to do the argument checking when the deferred auth request to Identity occurs so commands that do not need auth have a chance to live short but useful lives. Closes-Bug: #1399588 Change-Id: I8ceac491cf65e25eddb62ab2713f471fe686756d
* | change oslo namespace to avoid warningTerry Howe2015-02-253-3/+3
|/ | | | Change-Id: Ieff86f841623e1ce34b79c66bc5e8b1b239fa3e9
* Merge "Restrict groups and users from changing domains"Jenkins2015-02-103-62/+1
|\
| * Restrict groups and users from changing domainsSteve Martinelli2015-02-093-62/+1
| | | | | | | | | | | | | | | | | | | | Similar to projects, we shouldn't allow users and groups to change domains. The server side tosses up an error but osc should restrict that behaviour in the first place. Related-Bug: #1418384 Change-Id: I860291a5859c576021b18e35d1a12c32abfb6ca5
* | Merge "Do not allow user to change domain of a project"Jenkins2015-02-101-9/+0
|\ \ | |/
| * Do not allow user to change domain of a projectSteve Martinelli2015-02-091-9/+0
| | | | | | | | | | | | | | | | | | Keystone Server already surfaces an error for this operation, but we should restrict the user, and not offer --domain to be changed for a project. Change-Id: I48317e8accfea3c285e6ad213e75b783de8070ac Closes-Bug: #1418384
* | Merge "Implement trust in identity v3 api"Jenkins2015-02-103-1/+476
|\ \ | |/ |/|
| * Implement trust in identity v3 apiSteve Martinelli2015-02-083-1/+476
| | | | | | | | | | | | | | | | | | | | | | Added new module in identity v3 api to handle create, read, and delete operations of trust resources. Co-Authored-By: Lance Bragstad <lbragstad@gmail.com> Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closes-Bug: #1413718 Change-Id: I2b360b141ff70d4f396466abede859a3db6644f4
* | Merge "Add sort support to image list"Jenkins2015-02-076-0/+178
|\ \
| * | Add sort support to image listzhiyuan_cai2015-02-066-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sort support to image list by sorting items in the client side. The parameter syntax follows this spec[1]. [1] https://review.openstack.org/#/c/145544/ Change-Id: I42b487d18f00f937db1938daa46487cea2a896ab Closes-Bug: #1410251
* | | Merge "Change volume create --snapshot-id to --snapshot"Jenkins2015-02-071-3/+12
|\ \ \
| * | | Change volume create --snapshot-id to --snapshotlin-hua-cheng2015-02-061-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeping the option --snapshot-id hidden for backward compatibility. Change-Id: Iefa0aed9be255a5626a9bbb7db77911ef5ca8595 Closes-Bug: #1418742
* | | | Merge "Add network support to quota show"Jenkins2015-02-071-6/+30
|\ \ \ \
| * | | | Add network support to quota showzhiyuan_cai2015-01-281-6/+30
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently quota show only lists quotas of Nova and Cinder, we should make it also support Neutron resources. Also, Nova and Neutron may have conflicts in the quotas of the following resources: floating ip, security group and security group rule. When Neutron is enabled, we should display the quotas of the above resouces in Neutron, not Nova. Change-Id: I6e508d2077b6cda41ca93d81a82f39aee0ebfb4c Closes-Bug: #1411160
* | | | Merge "Begin low-level API for Network v2"Jenkins2015-02-076-118/+419
|\ \ \ \ | |_|/ / |/| | |
| * | | Begin low-level API for Network v2Dean Troyer2015-01-226-118/+419
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | api.network.APIv2 starts with network_list() support to flush out the skeleton of the Network API. list_dhcp_agent() supports the --dhcp option of 'network list' Change-Id: I9a2b90cde84eced1f2ea6a014b769e2bae668211
* | | Merge "Adding default user_domain_id parameter only when using password auth"Jenkins2015-02-061-0/+1
|\ \ \
| * | | Adding default user_domain_id parameter only when usingIgor_Bolotin2015-02-051-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | password auth Change-Id: I31943739cc1b535cbd402c5e9245b2f7a19cfa32 Closes-Bug: #1418810
* | | Merge "Check volume status before extending size"Jenkins2015-02-065-10/+220
|\ \ \
| * | | Check volume status before extending sizelin-hua-cheng2015-02-065-10/+220
| |/ / | | | | | | | | | | | | | | | | | | Added test for Volume Set as well. Change-Id: I8e6794f67b160ca328fcafa8f1d67138b4f3becd Closes-Bug: #1415182
* | | Merge "Added capabilities/options to 'openstack flavor list' command to ↵Jenkins2015-02-062-6/+326
|\ \ \ | |/ / |/| | | | | match capabilities already provided by 'nova flavor-list':"
| * | Added capabilities/options to 'openstack flavor list'Igor_Bolotin2015-02-032-6/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command to match capabilities already provided by 'nova flavor-list': —public | --private | --all options allows to list public only (default), private only or all flavors. —long displays more field. This option also fetches properties (extra-specs) for each flavor using separate API call for each flavor and it’s too slow to be done by default. However as an administrator - sometimes I need to be able to see them for all flavors. Removed empty “Extra Specs” column as well as "Swap" and "RXTX Factor" from default output. DocImpact Closes-Bug: #1416780 Change-Id: I30cfa2c75e28daf17b936543a177c23ae1743c37
* | | tenant_id to project_id in server showMarcos Fermin Lobo2015-02-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The result of 'server show VM_NAME' command shows tenant_id instead of project_id. All openstack components are moving from 'tenant' to 'project' naming when we are talking about openstack projects. Change-Id: I50053b72e79e1ff3167fa573728da1a81a8e5ed8 Closes-Bug: #1417614
* | | Merge "Improving the help of the lock command."Jenkins2015-02-021-1/+2
|\ \ \ | |/ / |/| |
| * | Improving the help of the lock command.Pedro Navarro2015-02-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lock command allows you to block the actions on the server for the non-admin users. Improving the help so that api users understands better what locking a server implies. Change-Id: I925c946751602dc0f6bd1d31b514bc20bca585fa Closes-Bug: #1366279
* | | Merge "Add filter to image list"Jenkins2015-01-2810-124/+594
|\ \ \
| * | | Add filter to image listDean Troyer2015-01-2710-124/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Hides previously broken --page-size option * Adds --property to image list for filtering on properties * Adds Visibility, Protected, Owner, Properties/Tags to --long output * Adds api.utils.simple_filter() for selecting matches out of a list of objects * Adds tests for all of the above * Updates image docs There are additional filtering options to be added in later reviews. Change-Id: I32feff0ad61aae749b33621c817658d7dc90c3aa Closes-bug: 1401902
* | | | Merge "Add the ability to extend volumes in `osc volume set`"Jenkins2015-01-281-1/+14
|\ \ \ \ | |/ / / |/| | |
| * | | Add the ability to extend volumes in `osc volume set`Steve Martinelli2015-01-271-1/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | Create a --size option for volume set, so the user may extend a volume's size. Change-Id: Ic8d3396d788a14ea1e10bf1da73edfd7f5d85070 Closes-Bug: #1413954
* | | Merge "fix the wrong order of assertEqual args"Jenkins2015-01-2727-283/+283
|\ \ \
| * | | fix the wrong order of assertEqual argswanghong2015-01-2727-283/+283
| |/ / | | | | | | | | | | | | | | | Let's fix them thoroughly. Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
* | | Add 'find by name' to --nic for creating serverzhiyuan_cai2015-01-273-1/+117
|/ / | | | | | | | | | | | | Add 'find by name' feature to --nic option for creating server. Closes-Bug: #1353040 Change-Id: Idd0a30415d8360a57e33efedf2467593652683d4
* | Merge "Command docs: network"Jenkins2015-01-221-24/+39
|\ \
| * | Command docs: networkDean Troyer2015-01-211-24/+39
| |/ | | | | | | Change-Id: Ia88b6c0ca5205fa5bfc3efa06ac7f84c4a9e5d4e
* | Merge "Add region name for identity and volume clients"Jenkins2015-01-212-0/+2
|\ \
| * | Add region name for identity and volume clientsSteve Martinelli2015-01-212-0/+2
| |/ | | | | | | | | | | | | | | | | We do not take into account region names for identity and volume clients. Change-Id: I4263e9013226b0adc6b9ad7540d6ad3efb42e809 Co-Authored-By: Eric Helgeson <erichelgeson@gmail.com> Related-Bug: #1405416
* | Begin low-level API for Image v1 and v2Dean Troyer2015-01-2010-60/+614
|/ | | | | | | | | image list for v1 and v2: * Add --public|--private to command parsers * Implement local public/private filtering for v1 image_list() * Pass public/private filter to server for v2 image_list() Change-Id: Ie7c24ea2d1bf2b3b1b7fa342eb45fee45894634d
* Merge "Add version url config workaround"Jenkins2015-01-191-1/+45
|\
| * Add version url config workaroundDean Troyer2015-01-151-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This subclasses KSC's generic Password plugin to allow version discovery with default Keystone configurations that leave admin_endpoint and public_endpoint at the default values (http://localhost:xxxx). This patch copies the scheme and netloc from the original auth_url into the URL returned from version discovery if the returned netloc begins with 'localhost'. Due to the specific nature of this review, the Keystone team is not inclned to include it in keystoneclient so it is addressed here. Closes-bug: #1410364 Change-Id: I877fe74d86aab3a63122a07b77d1302a007f5b30
* | Merge "Add helpful messages when authN'ing with password"Jenkins2015-01-164-4/+31
|\ \
| * | Add helpful messages when authN'ing with passwordSteve Martinelli2015-01-164-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting up auth options can be complicated, and we currently don't do any checking before we build all our auth parameters to send off to keystoneclient. We should do some basic checking to guide new users. Change-Id: I9c88f1c9637b3870c151952ecc797aaf65be271a Closes-Bug: #1400531
* | | Merge "Update service clist commands for v2 and v3"Jenkins2015-01-164-18/+43
|\ \ \
| * | | Update service clist commands for v2 and v3Dean Troyer2015-01-164-18/+43
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to the 'service list' commands for Identity v2 and v3: * Document support for --long * Add Description to v3 output with --long * v3 output is now (ID, Name, Type), with (Description, Enabled) added with --long * Change v2 output to match v3 output, with the absense of Enabled. * Update doc to match Closes-Bug: #1411337 Change-Id: I999e3df22f61350cdeba63bbb7d01145c2ffeeaf
* | | Default user domain id and project domain idSteve Martinelli2015-01-162-0/+18
|/ / | | | | | | | | | | | | | | | | | | | | | | | | If either of OS_USER_DOMAIN_ID or OS_USER_DOMAIN_NAME are present then we don't tinker with anything. Otherwise, we should set the USER_DOMAIN_ID to 'OS_DEFAULT_DOMAIN', as this provides a better UX, since the end user doesn't have to specify these arguments. Same logic applies for OS_PROJECT_DOMAIN_ID. Closes-Bug: #1385338 Change-Id: I8a4034c16a1dd50d269f809abab8e960d5de20f7
* | Merge "Deprecate project usage list command"Jenkins2015-01-152-7/+25
|\ \