2842 Commits

Author SHA1 Message Date
Jenkins
4ce7dd53e8 Merge "Refactor unit tests for project and domain with fake classes in identityv3" 2016-07-06 04:08:03 +00:00
Steve Martinelli
72a82b2794 skip failing tests due to bug 1599333 is fixed
latest osc-lib breaks some of the tests, skip them for now
so we can continue to merge patches that are already approved.

Change-Id: I433190e9f763bea1df3135612b281d925745f884
Related-Bug: 1599333
2016-07-05 20:24:31 -04:00
Jenkins
44d4188149 Merge "fix a few spelling mistakes" 2016-07-04 17:19:59 +00:00
Jenkins
73a0ad7cf3 Merge "Remove useless dest of option in "snapshot create" command" 2016-07-04 16:13:45 +00:00
gecong1973
6115dfe9f8 fix a few spelling mistakes
- overwriten should be overwritten
 - retrun should be return

Change-Id: I1567402f4d5c7253e6a54d8753e3f201af7e6a54
2016-07-04 15:15:23 +00:00
Huanxuan Ao
8aa00894ef Remove useless dest of option in "snapshot create" command
The option is '--force' and the default argument is
'force', so the 'dest=force' is useless and unnecessary.
This patch remove it.

Change-Id: If8fd5270e4e36b5361127f4a91bdf347f29341c2
2016-07-04 16:46:28 +08:00
Huanxuan Ao
43a07e133d Add missing '(name only)' message for keypair in computev2
In 'keypair show' command. One help message had '(name only)'
but the doc had not. And another had not '(name only)' but the
doc had. This patch Fixs them and keeps the consistent between
doc and help message.

Change-Id: Ic88219ae25a6f545a1db39e6b585e1857ae9e2e0
2016-07-04 14:45:40 +08:00
Huanxuan Ao
441e4e963a Refactor unit tests for project and domain with fake classes in identityv3
Add FakeProject and FakeDomain classes and update unit tests for
project and domain.

Change-Id: Ifeed5dcba03155daa3b7b46b34d49c333ab19135
Partially-Implements: blueprint refactor-identity-unit-test
2016-07-04 14:27:37 +08:00
Jenkins
605efe6711 Merge "Add command to unset information from Subnet-pools" 2016-07-01 15:20:18 +00:00
OpenStack Proposal Bot
8a3b5d2b50 Updated from global requirements
Change-Id: I0954807ccd7be3256627eb330a66c9fb539d639f
2016-07-01 04:24:41 +00:00
Jenkins
9c8307ea31 Merge "Add "--snapshot" option to "backup create" command in volumev2" 2016-07-01 04:08:45 +00:00
Huanxuan Ao
6364df4cbd Add "--snapshot" option to "backup create" command in volumev2
Add "--snapshot" option to "backup create" command to support
backing up a snapshot.

Change-Id: Ibecbf1902599875f422d372d529835f73211d3ec
Closes-Bug: #1597184
2016-07-01 10:06:10 +08:00
Steve Martinelli
46b14afc3f update plugin documentation
- add watcher, gnocchi and aodh
- organize sphinx docs based on alphabetical order
  of the library

Change-Id: Ibdd500da0e488ce3256320d53b3354ee7c66468a
2016-06-30 12:57:42 -04:00
Jenkins
fc804a58bf Merge "Fix doc issue for "compute agent list" command" 2016-06-30 13:48:42 +00:00
Jenkins
ba6951222a Merge "Add "--property" option to "flavor create" command" 2016-06-30 10:36:55 +00:00
reedip
063c722a11 Add command to unset information from Subnet-pools
This patch introduces the ``subnet pool unset`` command to
clear the pool prefix information from the subnet-pools.

Change-Id: I84b7259d6e26e695343d41cea6d807396faaf69a
Implements: blueprint network-property-unset
2016-06-30 08:14:58 +00:00
Huanxuan Ao
3ddb973292 Fix doc issue for "compute agent list" command
"--hypervisor" is a optional argument but in the doc it
was wrong format, this patch modify it.

Change-Id: I527feff73eca5834b2fee4efb2462562581210ed
2016-06-30 12:05:30 +08:00
Jenkins
4b61efe3f9 Merge "Add "--device-owner" option to "port list"" 2016-06-29 17:28:39 +00:00
Jenkins
4b38753a92 Merge "Add command to unset information from Subnets" 2016-06-29 12:58:05 +00:00
Huanxuan Ao
dbed97a24d Add "--property" option to "flavor create" command
Add "--property" option to "flavor create" command to support
adding properties to a new falvor.

Change-Id: I4f06b364375d5a81584fe41122d48e9568fa712a
Closes-Bug: #1596798
2016-06-29 19:16:35 +08:00
reedip
45b026d7c8 Add command to unset information from Subnets
This patch introduces the ``subnet unset`` command to
clear the host-routes, allocation-pools and dns-nameservers
from subnets.
Implements: blueprint network-property-unset

Change-Id: I31324a2423f6d2315eed27445dfdcfe863e0b550
2016-06-29 03:22:25 +00:00
Jenkins
6920c9e839 Merge "Add command to unset information from Routers" 2016-06-28 22:29:31 +00:00
Jenkins
9422f8bdea Merge "Add "--force" option to "volume qos delete" command" 2016-06-28 18:26:03 +00:00
Jenkins
bc4acba15e Merge "Add Tox prerequisites and installation" 2016-06-28 12:57:51 +00:00
Jenkins
30bcaebd00 Merge "Make set/unset command in volume pass normally when nothing specified" 2016-06-28 08:38:51 +00:00
Jenkins
161d37b42a Merge "Add "--force" option to "backup create" command in volumev2" 2016-06-28 08:35:31 +00:00
Jenkins
21ad61ddd9 Merge "Support bulk deletion for delete commands in computev2" 2016-06-28 08:24:36 +00:00
Jenkins
1ce547103a Merge "Change "ID only" to "name or ID" for backup commands" 2016-06-28 08:24:03 +00:00
Huanxuan Ao
4e46c04f92 Add "--force" option to "volume qos delete" command
Add ``--force`` option to ``volume qos delete`` command in volume
v1 and v2 to allow users to delete in-use QoS specification(s).

Change-Id: I46036e5f55ced8b8a1be54c521f2a5c242b89160
Closes-Bug: #1596821
2016-06-28 08:12:40 +00:00
Jenkins
6eef299899 Merge "Fix typo in openstackclient/network/v2" 2016-06-28 07:39:37 +00:00
Jenkins
9e47688e5e Merge "Update Fakes.py and unit tests for commands in identity V2.0" 2016-06-27 22:34:58 +00:00
Jenkins
e38a6e3740 Merge "Modify few words and change output format for command "ip floating list"" 2016-06-27 21:56:09 +00:00
Jenkins
9ef5ffe428 Merge "Modify some unusual help messages in computev2" 2016-06-27 20:49:15 +00:00
Huanxuan Ao
af7ab03693 Support bulk deletion for delete commands in computev2
Support bulk deletion and error handling for "keypair delete"
and "service delete" commands in computev2.
Up to now, all the delete commands in computev2 support bulk
deletion.

Change-Id: I6d5c960e9716188e56615514d0921618a15a88ec
Partially-Implements: blueprint multi-argument-compute
Partial-Bug: #1592906
2016-06-27 20:39:23 +00:00
sunyajing
a9da91285f Update Fakes.py and unit tests for commands in identity V2.0
Update remaining commands:role, service, user, token.

Change-Id: I06eed60dd2f312bad6076c78b53cd07bcd4cd55c
Partially-Implements: blueprint refactor-identity-unit-test
2016-06-27 20:24:19 +00:00
zhang.xiuhua
1dce52ace8 Modify few words and change output format for command "ip floating list"
According to OpenStack Documentation, preferred word choice:
Link: http://docs.openstack.org/contributor-guide/writing-style/word-choice.html
Change from 'etc.' to 'and so on'

Change-Id: Id8a5cc99a8bba8ac7531636248edaca8f98da917
2016-06-27 19:44:28 +00:00
Steve Martinelli
044a46ed5f skip image tag tests
the command ``image set tag <tag> <image>`` is now failing
skip the test so our gate isn't broken.

Change-Id: I05e415b212e76aef62c1b0b966863573eff338e9
Partial-Bug: #1596573
2016-06-27 11:26:18 -04:00
Huanxuan Ao
1d85a3f089 Change "ID only" to "name or ID" for backup commands
Tested "find_resulce()" can find a backup by name or ID.
But some help messages and doc were "ID only", this patch
modify them.

Change-Id: I22dcc3a0b40f2bafabb6d26498158e2468037312
2016-06-27 20:00:50 +08:00
reedip
ed64788cf1 Add command to unset information from Routers
This patch introduces the ``router unset`` command to
clear the routing information from the routers.
Implements: blueprint network-property-unset

Change-Id: Iac8d32ca42fb28878805b4b58ab411b67fa6555b
2016-06-27 10:41:13 +00:00
Huanxuan Ao
fc719f998c Add "--force" option to "backup create" command in volumev2
Cinder V2 API supports creating volume backup with "--force"
option. However, OSC doesn't support this argument. So this
patch add the "--force" option to allow users to back up a
in-use volume.

Change-Id: I326f8d6172b2830da4cf1317348af50142cc5490
Closes-Bug: #1596443
2016-06-27 16:59:51 +08:00
sunyajing
0106447cff Make set/unset command in volume pass normally when nothing specified
Change-Id: Iac2d1b4ba9fa6358dc9317054af970eae8d49e84
2016-06-27 16:09:16 +08:00
Huanxuan Ao
c7b137e421 Modify some unusual help messages in computev2
Some command help messages are unusual, for example:
common help message for a list command:
"list objects"
unusual help message:
"list obejcets command"
I think we should keep help message consistent, so I modify
the unusual help messages in computev2.

Change-Id: Ic5f11eba1a4397949e85d91cc067519752e89bff
2016-06-27 15:27:34 +08:00
Jenkins
21ac9230e8 Merge "Support multi-delete for commands in identity V2" 2016-06-24 21:24:49 +00:00
Jenkins
aa066346cc Merge "Fix several flake8 code style issues in compute tests." 2016-06-24 17:17:40 +00:00
Jenkins
6dbec64dd7 Merge "Make code more compact for get_list_opts function" 2016-06-24 13:50:48 +00:00
Jenkins
08480739c7 Merge "Remove code forgotten in cb28fb55884a9be7cd70c37343181116cf000a42" 2016-06-24 13:18:31 +00:00
Jenkins
0c74857971 Merge "Fix the problem of router delete" 2016-06-24 12:24:18 +00:00
Kyrylo Romanenko
f2b73c2737 Fix several flake8 code style issues in compute tests.
Fix issues:
H402 one line docstring needs punctuation,
W503 line break before binary operator.

Change-Id: Ie93430898403f137e7b647a97a28b0d7a4ebb463
2016-06-24 14:45:19 +03:00
Kyrylo Romanenko
ca9a6daba0 Make code more compact for get_list_opts function
Do it like in get_show_opts done.

Change-Id: If6b115c35a41997627660830fb8e5d299e8fb8e9
2016-06-24 14:28:28 +03:00
Vincent Legoll
60f3cfa6ef Remove code forgotten in cb28fb55884a9be7cd70c37343181116cf000a42
Change-Id: I2abc75c94c1b6450f56bfcf2d8b1135e5caa3598
Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
2016-06-24 12:18:40 +02:00