3426 Commits

Author SHA1 Message Date
Jenkins
5ec4290e27 Merge "Add commands for "consistency group snapshot"" 2016-12-02 18:29:01 +00:00
Jenkins
1c2b0c6b73 Merge "Add "consistency group create" command" 2016-12-02 18:28:22 +00:00
OpenStack Proposal Bot
d5b69c6269 Updated from global requirements
Change-Id: I8f9828e5e3a266a1ba52f9c09ddad4ed8d928e1b
2016-12-02 17:18:11 +00:00
Jenkins
307a847685 Merge "Correct reraising of exception" 2016-12-02 13:34:51 +00:00
Jenkins
2de45c2805 Merge "clean up image choices and help text" 2016-12-02 13:11:30 +00:00
Jenkins
c0dd8086e5 Merge "Updated from global requirements" 2016-12-02 07:11:23 +00:00
Jenkins
9b19a35bb7 Merge "Add --enable/disable-port-security option to port set and port create" 2016-12-02 05:28:21 +00:00
OpenStack Proposal Bot
2cb0f85288 Updated from global requirements
Change-Id: I807f29306f262cf5c7deceb240e0a257b96af456
2016-12-02 05:13:51 +00:00
gengchc2
40d73a0b58 Correct reraising of exception
When an exception was caught and rethrown, it should
call 'raise' without any arguments because it shows
the place where an exception occured initially instead
of place where the exception re-raised

Change-Id: I3ec3680debbfad7c06f2251396e0e8e4e3df6c50
2016-12-02 09:56:27 +08:00
Jenkins
3a509be871 Merge "Introduce overwrite functionality in `osc subnet set`" 2016-12-01 21:57:15 +00:00
Nam Nguyen Hoai
ce079d2261 Add '--project' and '--project-domain' options to os cmds
This patch added '--project' and '--project-domain' options to
filter subnets resulted by 'os subnet list',
'os floating ip create' and 'os security group list' commands.

Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Change-Id: I727663d49ffa6aa042fdeb60797f18bb753b0372
Closes-Bug: #1613231
Closes-Bug: #1610909
Closes-Bug: #1613629
Partially-Implements: blueprint network-commands-options
2016-12-01 14:59:10 +07:00
Jenkins
d6e058fa1f Merge "Add network service provider list to OSC" 2016-11-29 15:13:42 +00:00
Jenkins
155114e457 Merge "Trivial:modify one parameter" 2016-11-29 13:51:29 +00:00
Ankur Gupta
ac7d27adc6 Add network service provider list to OSC
Add network service providers commands to OSC

Change-Id: Iea8bbe460061d67e36a4346b349e07612112c732
Depends-On: Ie0be92e0717b8b13e31068276a12b5fbf784e374
2016-11-28 22:54:08 -06:00
Sindhu Devale
246f60ab13 Add --enable/disable-port-security option to port set and port create
This patch adds the currently missing options
`--enable-port-security` and `--disable-port-security`
in the `os port set` and `os port create` commands.

Partially-Implements: blueprint network-commands-options

Change-Id: I4dc11cdf32bf482a5937f5464fe8a3b418644ec3
2016-11-28 16:33:34 -06:00
jiahui.qiang
747ec5b897 Add unit tests for server create in computev2
Unit tests for server create is not completed. Some of the code in
take_action has not been tested.

Change-Id: Ifd3f42400408d3437e0bc6cd42acbb6db861b1f3
2016-11-28 23:24:22 +08:00
Jenkins
b12782726f Merge "Add QoS support to Network object." 2016-11-28 13:57:07 +00:00
zhiyong.dai
fca81526ff Trivial:modify one parameter
This patch modifies a wrong parameter to make the metavar
consistent with the optional argument.
Change-Id: I27ed30fdbc3adbc19d2f5662d6952cfe15dc52b1
2016-11-28 20:27:03 +08:00
Rodolfo Alonso Hernandez
4132392c2f Add QoS support to Network object.
Added "qos_policy" parameter to Network class.

Change-Id: Idc00f2792eef5b1f0910084d95cf9a8e83fe818c
Closes-Bug: 1627069
2016-11-28 09:35:00 +00:00
Reedip
abfcd7810c Introduce overwrite functionality in `osc subnet set`
The overwrite functionality allows user to overwrite
the dns-nameservers of a specific subnet.

Change-Id: I421808a3bdeb4565668f627b7929c4762cf40212
partially-implements: blueprint allow-overwrite-set-options
partially-implements: blueprint network-commands-options
2016-11-28 05:49:21 +00:00
jiahui.qiang
dc1d510350 Fix description errors in volume fakes
In volumev2 fakes.py. Description of some 'get_*' methods is incorrect.
the error will mislead the user. this patch has already fixed it.

Change-Id: I048e3c2b625c7b54ab19f2b923d4970427f277ff
2016-11-27 06:18:00 +08:00
jiahui.qiang
6ca4dc3533 Add options to "volume snapshot list" command
Add "--name", "--status" and "--volume" options
to "volume snapshot list" command for filtering results.

Change-Id: I72db1abce7701f31598deec34801a4d1f5713870
Closes-Bug:#1645252
2016-11-26 23:13:50 +08:00
jiahui.qiang
71e6d44476 Add "volume host set" command
Add "volume host set" command in volume v2 to support freeze(disable)
and thaw(enable) the specified cinder-volume host

Change-Id: Iee1604d72f9eccd9e327b0ef8d345909a733a647
Implements: bp cinder-command-support
2016-11-25 05:21:00 +08:00
OpenStack Proposal Bot
da03f6e17d Updated from global requirements
Change-Id: I517d93ce1a2fcdb6b674bd5617902c4daf078031
2016-11-24 18:50:36 +00:00
Steve Martinelli
f15352f861 clean up image choices and help text
Use choices for image set and image create commands, this aligns
with our use of choices in networking commands.

Also update the help text to match that of the networking
commands, where we iterate through the options.

Related-Bug: 1635518
Change-Id: Ib4c66b06e07f1d4e5bfe1b74053f2215cccad890
2016-11-23 22:52:33 +05:30
Huanxuan Ao
4b14f3d0cb Add "--type" and "--retype-policy" options to "volume set" command
Add "--type" and "--retype-policy" options to
"volume set" command in volume v2 (v2 only) to
support changing the volume type for a volume

Change-Id: I0153abdb967aee790586a57cef31930e32005c1b
Implements: bp cinder-command-support
2016-11-23 10:34:31 +08:00
OpenStack Proposal Bot
3a7bb859a6 Updated from global requirements
Change-Id: Iec7883cfbc38d44aa1ad39c3a2879ad400b7ebb9
2016-11-22 17:59:10 +00:00
Jenkins
5bf5de6f45 Merge "Outdated test data clean up in volume" 2016-11-22 16:03:09 +00:00
Jenkins
bf6f4bb58b Merge "Show disk format vhdx in help" 2016-11-22 15:39:47 +00:00
Huanxuan Ao
5e070c36a1 Add "Is Public" column in volume type list
I think admin users will like to see the "Is Public" column
in volume type list since they can know the volume type
is public or private, so add "Is Public" column in volume
type list

Change-Id: I3f6e297a7adf82a275debbd87d2c4da415aa1360
Closes-Bug: #1643861
2016-11-22 14:58:55 +00:00
Huanxuan Ao
b6b9a524f9 Remove outdated comments in volume unit test
Checked the volume create unit test has beed completed,
so remove the TODO.
Checked the FakeVolume class has been added in volume
v1, so remove the note.

Change-Id: I82b5f775d013e5e301bc1c18481ef516ca5baa7e
2016-11-22 20:46:29 +08:00
Vijendra Soni
a7a0d0c61a Sort list images by name by default
Set the default key and dir for openstack image list,
if no command line argument passed
Changing sort_key to name(old value: created_at)

Change-Id: I6c61f6e5a04824d655ccf43477afcec9652101df
Closes-Bug: #1639231
2016-11-21 20:19:53 +05:30
Abhishek Raut
c76e631a2c SDK Refactor: Prepare security group rule commands
Prepare the OSC "security group rule" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I5553e40fe90f3a26d3f462a69f1a424032479d49
Partially-Implements: blueprint network-command-sdk-support
2016-11-19 22:46:17 -08:00
Abhishek Raut
1256aee491 SDK Refactor: Prepare network rbac commands
Prepare the OSC "network rbac" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I6f25e167d7f933667173b04a4b0ad55baf3c56f2
Partially-Implements: blueprint network-command-sdk-support
2016-11-19 22:44:02 -08:00
Abhishek Raut
77ea8baafe SDK Refactor: Prepare network qos policy commands
Prepare the OSC "network qos policy" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: I12dd8bda40801c26176a73646ed87aea66f09fcc
Partially-Implements: blueprint network-command-sdk-support
2016-11-19 22:42:07 -08:00
Abhishek Raut
11560a0527 SDK Refactor: Prepare subnet commands
Prepare the OSC "subnet" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Partially-Implements: blueprint network-command-sdk-support
Change-Id: I5d58b189e822b2ee61c9c95ccf909113ff59de46
2016-11-19 22:38:36 -08:00
Huanxuan Ao
3907137f58 Add commands for "consistency group snapshot"
Add commands:
    consistency group snapshot create
    consistency group snapshot delete
    consistency group snapshot list
    consistency group snapshot show
in volume v2 (v2 only)

Change-Id: Ib4115f8ff00fb5aa8194588223032657eb1346b5
Closes-Bug: #1642238
Implements: bp cinder-command-support
2016-11-19 09:20:15 +08:00
Jenkins
f4536e708d Merge "Add '--network' and other options to floating ip list" 2016-11-18 23:08:20 +00:00
Jenkins
5787d3cbae Merge "Add relnote for release 3.4.1" 2016-11-18 18:42:42 +00:00
Jenkins
9a4075334b Merge "Use project_domain_id only in password auth" 2016-11-18 18:02:35 +00:00
Dean Troyer
61cc546475 Add relnote for release 3.4.1
Change-Id: If7d0237c4ed032be9d225cd0a05972caf5946e2d
2016-11-18 11:08:40 -06:00
Boris Bobrov
e51a8d6374 Use project_domain_id only in password auth
The method being changed constructs domain-related parameters that will
further be passed to the auth plugin. If project domain is not
passed, the method sets it to the default domain.

token_endpoint does not expect any information about domain,
because it uses only a token and URL. Passing it to auth plugin causes
an exception.

Construct domain-related parameters only for specific plugins, such
as password or totp.

Change-Id: I13db3bbe31a0ed843e9f4528d37c768546e2bee9
Closes-Bug: 1642301
2016-11-18 13:52:58 +00:00
Fei Long Wang
4bce716733 Using v2 as the default version of Glance
Glance API v1 has been deprecated, so it's better to use v2 as
the default API version in openstackclient.

Closes-Bug: 1642772

Change-Id: I7d9e3228a2f3a3d0da437b7ee6f23e528de27fd3
2016-11-18 12:58:31 +00:00
Huanxuan Ao
98b9bc10d1 Add "consistency group create" command
Add "consistency group create" command in
volume v2 (v2 only).

Change-Id: I2e9affe390b1012aa18459e64d04afcdfc15e27d
Implements: bp cinder-command-support
Partial-Bug: #1613964
2016-11-17 22:07:04 +08:00
Steve Martinelli
0ef8535036 translate all command help strings
Leverage the new cliff command class attribute (_description)
to get the help of a command, this allows us to mark strings
for translation. We could not do this before since the help
was grabbed from the docstring.

This also depends on a new release of cliff and a bump to the
minimum level in osc's requirements.

Closes-Bug: 1636209
Depends-On: Id915f6aa7d95a0ff3dc6e2ceaac5decb3f3bf0da
Change-Id: I8673080bb5625e8e3c499feaefd42dfc7121e96f
2016-11-17 02:33:42 +00:00
OpenStack Proposal Bot
6eef3277f5 Updated from global requirements
Change-Id: Ie6b85f717a7fe5bce2f6a711168dba894940cde9
2016-11-16 22:16:41 +00:00
Jenkins
17c0c70e7e Merge "3.4.0 release note cleanup" 2016-11-16 17:43:42 +00:00
Jenkins
16ffc51bf6 Merge "Do proper deprecation for security group rule create" 2016-11-16 17:00:48 +00:00
Dean Troyer
ad5ae83a34 3.4.0 release note cleanup
Change-Id: I4023e80da43e0cb28150db2892f301d141d63ef8
2016-11-16 09:47:37 -06:00
Dean Troyer
0ac4370c09 Do proper deprecation for security group rule create
Review I03fd0e14e470e7272930ac2651e73263b83bd4e1 renamed the
--src-group and --src-ip options to --remote-group and --remote-ip
but did not properly deprecate the old option names.

Add deprecation warnings when the old option names are used.

Also, format the warnings using the new proposed translation guideline
for marking substrings to not be translated, such as literal names
and option names.

Change-Id: I63d085d190fc28b8637e7686016eda4efbdda1be
2016-11-16 07:53:30 -06:00