summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Raise AttributeError for unknown attributesJamie Lennox2015-03-052-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not returning a value is the same as returning None. In the event that someone asks ClientManager for an attribute that doesn't exist it should raise AttributeError in the same way as other python objects rather than return an empty value. Change-Id: Id0ee825e6527c831c38e3a671958ded362fb96e1
* | | | Merge "Fix help messages"Jenkins2015-03-061-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix help messagesRamaraja2015-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update help message for openstack security group rule delete Update help message for openstack security group rule list Change-Id: I017ffd424ca25b6c62193b91068eb1ba7de6c919 Closes-Bug: #1417854
* | | | Merge "Add hypervisor docs"Jenkins2015-03-061-7/+7
|\ \ \ \
| * | | | Add hypervisor docslin-hua-cheng2015-03-051-7/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: I444734925316e876afcbfdeffafea9973a837022
* | | | | Don't hack the image urlMonty Taylor2015-03-052-4/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | It's actually breaking usage against HP Public Cloud. Change-Id: Ic172786c6d1272798b768078a0bcf246f8d64ca8
* | | | Merge "Rename --verify for server resize to avoid conflict"Jenkins2015-03-052-8/+8
|\ \ \ \ | |_|/ / |/| | |
| * | | Rename --verify for server resize to avoid conflictzhiyuan_cai2015-02-162-8/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently server resize command has a verify argument for user to confirm resize operation. But this argument is also registered by openstack client shell which is used to enable server certificate verification. So verify argument can not be correctly passed to server resize command. This patch renames --verify to --confirm (nova client has a resize-confirm command) to solve this problem. Change-Id: I751aa3df16c3b637b82944dd350afc5cbab62120 Closes-Bug: #1416542
* | | 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
|\