1089 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
00988d4030 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Id788908b4cbf5de8e8b17cd30f62a4d528a4587a
2015-02-07 06:04:57 +00:00
lin-hua-cheng
60ef8b08fe Change volume create --snapshot-id to --snapshot
Keeping the option --snapshot-id hidden for backward compatibility.

Change-Id: Iefa0aed9be255a5626a9bbb7db77911ef5ca8595
Closes-Bug: #1418742
2015-02-06 16:45:08 -08:00
Jenkins
04d036875f Merge "Add network support to quota show" 2015-02-07 00:17:14 +00:00
Jenkins
09357009c1 Merge "Begin low-level API for Network v2" 2015-02-07 00:16:28 +00:00
Jenkins
863b50cb6d Merge "Adding default user_domain_id parameter only when using password auth" 2015-02-06 23:47:13 +00:00
Jenkins
5cf3929b03 Merge "Check volume status before extending size" 2015-02-06 23:36:54 +00:00
Jenkins
1cb56a6a44 Merge "Added capabilities/options to 'openstack flavor list' command to match capabilities already provided by 'nova flavor-list':" 2015-02-06 23:29:57 +00:00
lin-hua-cheng
8968bc0979 Check volume status before extending size
Added test for Volume Set as well.

Change-Id: I8e6794f67b160ca328fcafa8f1d67138b4f3becd
Closes-Bug: #1415182
2015-02-06 09:05:41 -08:00
Igor_Bolotin
4771feb7c4 Adding default user_domain_id parameter only when using
password auth

Change-Id: I31943739cc1b535cbd402c5e9245b2f7a19cfa32
Closes-Bug: #1418810
2015-02-05 21:30:44 -08:00
zhiyuan_cai
42cff38834 Add sort support to image list
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
2015-02-06 10:57:10 +08:00
Marcos Fermin Lobo
0cc3955f0a tenant_id to project_id in server show
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
2015-02-04 05:43:26 +00:00
Igor_Bolotin
6d4678185d Added capabilities/options to 'openstack flavor list'
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
2015-02-03 07:57:20 -08:00
Jenkins
b131692007 Merge "Improving the help of the lock command." 2015-02-02 05:07:04 +00:00
Pedro Navarro
ee062922d1 Improving the help of the lock command.
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
2015-02-01 13:15:49 -08:00
OpenStack Proposal Bot
6fd5fc2d27 Updated from global requirements
Change-Id: I2512e4e43f53392fe0c1f8ee4d326688e0cad9c5
2015-01-28 16:40:08 +00:00
Terry Howe
d843255bd8 Change test order to avoid incompatibliity
If py26 or py27 tests are run first, there is a incompatibility in
the .testrepository that breaks several tests.  To get around this,
you need to run the py33 tests first.  This change was made over in
the cliff project.

Before:
    (.venv)terry@brat:~/cli$ rm -rf .testrepository/
    (.venv)terry@brat:~/cli$ tox
      ...
      py26: commands succeeded
      py27: commands succeeded
    ERROR:   py33: commands failed
    ERROR:   py34: commands failed
      pep8: commands succeeded
After:
    (.venv)terry@brat:~/cli$ rm -rf .testrepository/
    (.venv)terry@brat:~/cli$ tox
      ...
      py33: commands succeeded
      py34: commands succeeded
      py26: commands succeeded
      py27: commands succeeded
      pep8: commands succeeded
      congratulations :)
    (.venv)terry@brat:~/cli$

Change-Id: Ie1717efd6827eae36683f2e7fe7ff8ec58ff4aa8
2015-01-28 05:44:37 -07:00
zhiyuan_cai
54ab9fb230 Add network support to quota show
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
2015-01-28 16:26:11 +08:00
Jenkins
a4394ebb7a Merge "Add filter to image list" 2015-01-28 05:43:09 +00:00
Jenkins
c3aad41341 Merge "Add the ability to extend volumes in osc volume set" 2015-01-28 05:11:29 +00:00
Dean Troyer
61a40343fd Add filter to image list
* 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
2015-01-27 19:17:35 -06:00
Jenkins
2c03f6f42f Merge "fix the wrong order of assertEqual args" 2015-01-27 19:53:44 +00:00
Steve Martinelli
4ff020006e Add the ability to extend volumes in osc volume set
Create a --size option for volume set, so the user may extend
a volume's size.

Change-Id: Ic8d3396d788a14ea1e10bf1da73edfd7f5d85070
Closes-Bug: #1413954
2015-01-27 14:16:03 -05:00
wanghong
127af151ff fix the wrong order of assertEqual args
Let's fix them thoroughly.

Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
2015-01-27 17:02:41 +08:00
zhiyuan_cai
520b2f10cf Add 'find by name' to --nic for creating server
Add 'find by name' feature to --nic option for creating server.

Closes-Bug: #1353040
Change-Id: Idd0a30415d8360a57e33efedf2467593652683d4
2015-01-27 05:34:32 +00:00
Steve Martinelli
703a25d445 Remove ignore portion of tox.ini
In the latest hacking update a few rules were dropped, and we no
longer have to ignore these rules in our tox.ini.

Change-Id: Id38a1497019c7fe2d4ad8567f1c0c8d229951751
2015-01-26 00:21:06 +00:00
Jimmy McCrory
71e0e5332a fix object list command naming
Change-Id: I30a62c9b9eb1eeac29f32286ac18c0caed4f380d
2015-01-24 11:45:36 -08:00
Dean Troyer
748e0ab6ce Begin low-level API for Network v2
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
2015-01-22 10:06:15 -06:00
Jenkins
b02cce5678 Merge "Command docs: network" 2015-01-22 15:18:33 +00:00
Dean Troyer
20ec40e222 Command docs: network
Change-Id: Ia88b6c0ca5205fa5bfc3efa06ac7f84c4a9e5d4e
2015-01-21 17:49:43 -06:00
Jenkins
326f7e3891 Merge "Add region name for identity and volume clients" 2015-01-21 19:34:00 +00:00
Steve Martinelli
5e43120d43 Add region name for identity and volume clients
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
2015-01-21 01:52:20 -05:00
Dean Troyer
1ecf1bee2d Begin low-level API for Image v1 and v2
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
2015-01-20 17:01:23 -06:00
Jenkins
95fe3fda3d Merge "Create 1.0.2 release notes" 2015-01-19 20:15:02 +00:00
Jenkins
827226edfb Merge "Fix doc building errors" 2015-01-19 19:22:02 +00:00
Steve Martinelli
27b73ac55d Fix doc building errors
Addresses some of the issues that appeared when running tox -edocs

Change-Id: I31133744ee0ddefa72c6590cb381de317e65633e
2015-01-19 13:12:18 -05:00
Jenkins
c9c28dc31d Merge "Add version url config workaround" 2015-01-19 18:08:53 +00:00
Steve Martinelli
98aee9e39a Create 1.0.2 release notes
Also move the release notes to the bottom of the ToC, no need for
it to be at the top, that's prime real estate.

Change-Id: Ib3094a390a7214b320d02f77229f368aa4432c4e
2015-01-19 10:42:29 -06:00
OpenStack Proposal Bot
ab24728377 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ic0553e48357f444da72693bdfcc8bd393df7659e
2015-01-19 06:14:14 +00:00
Abhishek Chanda
052bcb279b Add missing oslo-config to requirements
openstackclient uses these oslo-config but it is not in
list of requirements. That results in a stacktrace while
using the cli.

Change-Id: I9b3c8e491ce09624524cf8b3ddcafcf5953d9ab6
2015-01-18 09:20:09 +00:00
Jenkins
b9e50a716d Merge "Add helpful messages when authN'ing with password" 2015-01-16 21:14:08 +00:00
Jenkins
ee62718dc8 Merge "Update service clist commands for v2 and v3" 2015-01-16 20:52:07 +00:00
Jenkins
655b76f649 Merge "Default user domain id and project domain id" 2015-01-16 19:30:22 +00:00
Dean Troyer
c2c3f2e0f2 Update service clist commands for v2 and v3
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
2015-01-16 12:59:14 -06:00
Steve Martinelli
1d75edb167 Default user domain id and project domain id
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
2015-01-16 02:52:15 -05:00
Steve Martinelli
fff4a1cd23 Add helpful messages when authN'ing with password
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
2015-01-16 02:41:24 -05:00
Jenkins
77097c6cd4 Merge "Imported Translations from Transifex" 2015-01-16 00:32:06 +00:00
Dean Troyer
d3b87d7795 Add version url config workaround
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
2015-01-15 13:51:31 -06:00
Jenkins
9057cedfd4 Merge "Deprecate project usage list command" 2015-01-15 18:02:34 +00:00
Vladimir Eremin
3296781b2c Use session for neutron client
python-openstack client is now using sessions to create clients. This
patch implements creating Network client using sessions.

Related to c3c6edbe8a083aef0fb6aea3cb461ff8e715fc59

Change-Id: If90ac705eb11dfc1e3abbe2ce18c3d8ccefdbdfb
Closes-Bug: 1411179
2015-01-15 10:33:39 +00:00
Jenkins
8dd8cdcdfe Merge "Check if service.name available before access" 2015-01-15 07:34:36 +00:00