summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Add project and domain params to network create"Jenkins2015-03-243-0/+128
|\ \
| * | Add project and domain params to network createColleen Murphy2015-03-193-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, openstackclient has no way to specify to which project a network belongs upon creation. Instead, it uses the project ID that the user is authenticating with to fill the tenant_id column. This is a problem because an admin user is unable to specify a project for a non-admin network. To fix this and to improve feature parity with the neutron client, this patch adds project and domain parameters to the network create command and uses the given project name to look up the project ID. Neutron does not allow the project to be changed after creation, so no such parameter has been added to the neutron set command. Neutron calls the field 'tenant_id', but this change exposes the parameter as '--project' to support the newer terminology. If no project is specified, the client defaults to the previous behavior of using the auth project. Change-Id: Ia33ff7d599542c5b88baf2a69b063a23089a3cc4
* | | Add the ability to set and unset flavor propertiesMarek Aufart2015-03-192-4/+151
| |/ |/| | | | | | | | | | | | | | | | | Added flavor set and unset command which allow manage flavor properties called extra_specs. Command flavor show output was extended with these properties. Closes-Bug: 1434137 Change-Id: Ie469bade802de18aab9d58eda3fff46064008163
* | Base TokenEndpoint plugin on keystoneclient'sJamie Lennox2015-03-111-16/+5
| | | | | | | | | | | | | | | | Keystoneclient has always provided a TokenEndpoint plugin. Unfortunately it uses a different option name for url, so subclass the original and replace the options. Change-Id: I7e16b31ceb9f75f1c1f6bfb224d8f8f353d06150
* | Merge "Move OSC auth plugins so they can be found"Jenkins2015-03-105-105/+121
|\ \
| * | Move OSC auth plugins so they can be foundDean Troyer2015-03-105-105/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The plugin detection at the top of openstackclient.api.auth did not detect the plugins at the bottom of that file because, surprise, they had not been declared yet so the entry points were ignored. Move both plugin subclasses into openstackclient.api.auth_plugin. Fix a problem with the password callback that was otherwise made worse with this change. Closes-Bug: 1428912 Change-Id: Idc3b72534071e0013c8922884a8bc14137509a0f
* | | Merge "Add identity v3 catalog show"Jenkins2015-03-102-0/+78
|\ \ \
| * | | Add identity v3 catalog showTerryHowe2015-03-092-0/+78
| | | | | | | | | | | | | | | | Change-Id: Ia6b6c25eded43b899b3aa026227ad2859f1c67dd
* | | | Merge "Add identity v3 catalog list"Jenkins2015-03-102-0/+140
|\ \ \ \ | |/ / /
| * | | Add identity v3 catalog listTerryHowe2015-03-072-0/+140
| |/ / | | | | | | | | | Change-Id: Id4c1371ca28b9fd884ec75061edca700fd69886c
* | | Merge "Add ability for diplaying hypervisor statistics"Jenkins2015-03-101-0/+33
|\ \ \
| * | | Add ability for diplaying hypervisor statisticslin-hua-cheng2015-03-061-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new command 'hypervisor stats show' for displaying the hypervisor stats over all compute nodes. Change-Id: I4f98c69135b04d4f6cea67cd6350d5d99fb79dba Partial-Bug: #1423748
* | | | Merge "Fix catalog list when region name is absent"Jenkins2015-03-081-1/+2
|\ \ \ \
| * | | | Fix catalog list when region name is absentDean Troyer2015-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some service catalogs in the wild have services without region names defined. Let's be nice and stuff in a default value indicating this state. Closes-Bug: #1429211 Change-Id: I3ebe2534dc6e3438aaeddc7757fb2db4117eae4b
* | | | | Merge "Fix identity v2 catalog list"Jenkins2015-03-082-12/+26
|\ \ \ \ \ | |/ / / /
| * | | | Fix identity v2 catalog listTerryHowe2015-03-042-12/+26
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | The v2 catalog list was only printing the last endpoint in the catalog. Change-Id: I5401a11eedb3be1513c86261329de50c8ad82720
* | | | Merge "Add 'uptime' in 'hypervisor show'"Jenkins2015-03-081-0/+13
|\ \ \ \
| * | | | Add 'uptime' in 'hypervisor show'lin-hua-cheng2015-03-061-0/+13
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fetch the 'uptime' by making a call to hypervisor-uptime. Update the help for 'hypervisor show' to mention that it supports by Name or Id. Change-Id: I31060d203e87749cfc05810c2d9db42f2416051d Partial-Bug: #1423748
* | | | Merge "Raise AttributeError for unknown attributes"Jenkins2015-03-062-1/+2
|\ \ \ \
| * | | | 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
|\ \ \