2426 Commits

Author SHA1 Message Date
Jenkins
74162fa31a Merge "Support quota show for current project" 2016-04-25 21:15:43 +00:00
Jenkins
a0a29df3e6 Merge "Add new share and default parms to subnet pool cmds" 2016-04-21 17:18:01 +00:00
Jenkins
d0ff8b6db2 Merge "Fixed subnet command host route output" 2016-04-21 17:17:53 +00:00
Richard Theis
27024d70af Support quota show for current project
The "os quota show" command "<project/class>" argument is now
optional. If not specified, the user's current project is used.
This allows non-admin users to show quotas for their current
project.

Change-Id: I602d4cc09c9d29ce84271eff78137f8810cb1a47
Closes-Bug: #1572733
2016-04-21 11:33:24 -05:00
Jenkins
65828f0982 Merge "Add commands of clustering service to doc" 2016-04-21 14:54:33 +00:00
Rui Chen
0d3a06db1c Fix server group document issue
The patch fix server group document typo and format issue.

Implements: blueprint nova-server-group-support
Related-Bug: #1542171

Change-Id: I3e24ddce91ecabc6be1b7be95d0f4e5a2ebe93ab
2016-04-21 14:51:45 +08:00
tengqm
518ef26895 Add commands of clustering service to doc
This patch adds the 'objects'/'resources' provided by the clustering
service (senlin) to the commands doc.

Change-Id: I028bd919f5b357d1b6e806c85e83a1a63c42839c
2016-04-21 01:20:36 -04:00
Brad Behle
48ebc49f20 Add new share and default parms to subnet pool cmds
Add the "share" and "default" parms to subnet pool create command.
Add the "default" and "no-default" parms to subnet pool set command.
Note that "share" can not be modified once subnet pool has been
created, so do not add this to the set command.

Change-Id: I1eecad69527a1cde7fb234669f4aff2be2db491e
Partial-Bug: #1544591
Partial-Bug: #1544586
2016-04-20 20:12:02 -05:00
Jenkins
38759f3edd Merge "Add "server group show" command" 2016-04-20 20:43:07 +00:00
Jenkins
e78113a5fc Merge "Fix mutable default arguments in tests" 2016-04-20 20:22:55 +00:00
Jenkins
98a0fba3c1 Merge "Update keypair tests" 2016-04-20 19:40:44 +00:00
Jenkins
f26b085f84 Merge "Add "server group list" command" 2016-04-20 18:26:44 +00:00
Jenkins
42263d779b Merge "Updated from global requirements" 2016-04-20 17:56:30 +00:00
Jenkins
eb522fbb5e Merge "Update tests for server" 2016-04-20 16:11:39 +00:00
Jenkins
8ad4af78a7 Merge "Trivial: Fix an omited i18n issue" 2016-04-20 16:08:25 +00:00
OpenStack Proposal Bot
745dc7633e Updated from global requirements
Change-Id: I8e2060cd483262c88c76b49a060aa7288fa2bbb6
2016-04-20 14:41:58 +00:00
Jenkins
cef0322fce Merge "Deduplicate CLI output parser code in test.py" 2016-04-20 13:45:14 +00:00
Richard Theis
f753bad742 Fixed subnet command host route output
Fixed the "os subnet create", "os subnet list" and
"os subnet show" command output for host routes to
improve readability and to align with the "--host-route"
option on the "os subnet create" and "os subnet set"
commands.

Change-Id: Ida69ae1a0bdb2e1648f8b5c978fc80cf1bbe752f
Closes-Bug: #1572309
2016-04-20 07:56:24 -05:00
Tang Chen
f995185c10 Trivial: Fix an omited i18n issue
Change-Id: I064ae79d31f96021dfb5d7cd16a3ace9725803f6
2016-04-20 15:21:29 +08:00
Kyrylo Romanenko
0e8c78c91a Update tests for server
Make testcases separate instances of test class.
Use setUp with addCleanup methods for every test case.
Add more descriptive docstrings for tests.

Closes-Bug: #1483422
Partial-Bug: #1566962
Change-Id: I1a16b5bad1dafd19fd7dc94794c0bd4587b7f516
2016-04-20 05:20:13 +00:00
Rui Chen
a0d79968ca Add "server group show" command
Support compute v2 "server group show" command in OSC.

Implements: blueprint nova-server-group-support
Closes-Bug: #1542171

Change-Id: I1a6d103151c704bda5b67cb9a49cc43c7d9f1d6a
2016-04-20 03:26:13 +00:00
Rui Chen
4e22728013 Add "server group list" command
Support compute v2 "server group list" command in OSC.

Implements: blueprint nova-server-group-support
Partial-Bug: #1542171

Change-Id: I68b80e3c4458692472af671028cd1f939736bcb8
2016-04-20 03:25:57 +00:00
Rui Chen
7458c612ed Add "server group delete" command
Support compute v2 "server group delete" command in OSC.

Implements: blueprint nova-server-group-support
Partial-Bug: #1542171
Related-Bug: #1563301

Change-Id: I7d792d669b147b24dc774844cfc9dbacd60d017b
2016-04-20 03:25:38 +00:00
Rui Chen
a06bb28bcc Add "server group create" command
Support compute v2 "server group create" command in OSC.

Implements: blueprint nova-server-group-support
Partial-Bug: #1542171

Change-Id: I96ffb07764d3adb715e048943cfee3b879c280f6
2016-04-20 03:24:58 +00:00
Tang Chen
09c20b2b5c Fix mutable default arguments in tests
Python’s default arguments are evaluated only once
when the function is defined, not each time the
function is called. This means that if you use a
mutable default argument (like list and dict) and
mutate it, you will and have mutated that object
for all future calls to the function as well.

More details about this wrong usage here:
http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments

In unit tests, most FakeXXX classes' methods take
mutable arguments with default values [] or {}.
We should change them to None.

Change-Id: Iea833b66aa1379829511ad5c6d4432b72f3488e2
Closed-bug: #1550320
2016-04-20 11:15:17 +08:00
Jenkins
4639148b1d Merge "Rename --profile to --os-profile" 2.4.0 2016-04-19 23:37:52 +00:00
Jenkins
6cbbcfa3da Merge "Updated from global requirements" 2016-04-19 23:02:05 +00:00
Jenkins
79abf70593 Merge "Fix client certificate/key support for Network v2 commands" 2016-04-19 20:01:25 +00:00
Jenkins
c3cc7d109d Merge "Clean up for next release" 2016-04-19 20:00:39 +00:00
Jenkins
a1633efb0f Merge "Imported Translations from Zanata" 2016-04-19 16:44:02 +00:00
Jenkins
7f20efc57c Merge "Add provider network options to osc network set" 2016-04-19 16:19:30 +00:00
Dean Troyer
530fe42589 Rename --profile to --os-profile
* The --profile global option is deprecated but will be supported
  through at least April 2017.
* Update man page

Closes-bug: #1571812
Change-Id: I2e623411a56096b4cc352f4eedbf770632ae2cc3
2016-04-19 07:50:42 -05:00
OpenStack Proposal Bot
8ab267c2eb Updated from global requirements
Change-Id: Ia35e711f1916749b156a1344ffafb4391a7a5408
2016-04-19 12:28:55 +00:00
Kyrylo Romanenko
ff62c832b5 Update keypair tests
Make testcases separate instances of test class.
Use setUp with addCleanup methods for every test case.
Add negative test cases.

Closes-Bug: #1564480
Change-Id: I5d8fd2a238e6cf0584777eb0d24dfcaed4133ee1
2016-04-19 15:10:30 +03:00
Cedric Brandily
02a46a067b Fix client certificate/key support for Network v2 commands
Currently network v2 commands don't support client certificate/key
because they were not passed to OpenStackSDK Connection which is used
by network v2 commands.

This changes corrects the integration with OpenStacKSDK to pass client
certificate/key.

Closes-Bug: #1569513
Related-Bug: #1569508
Depends-On: Ic093f8515e7b15931994e4516ebec8f4399d021e
Change-Id: Ie37e8e988ca695a09894c6c93560dacd83f17030
2016-04-19 13:00:54 +02:00
Jenkins
4d05851d4e Merge "Add options to security group rule list" 2016-04-19 09:03:19 +00:00
OpenStack Proposal Bot
2a66493ff0 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I7e1c948a2bb7f4843cd8a58bb66fbedec79af39b
2016-04-19 06:14:07 +00:00
Kyrylo Romanenko
c95d68eaea Deduplicate CLI output parser code in test.py
Use methods from tempest-lib.cli.output_parser.

Change-Id: I0655141a0ef967675e41b1da49cf999da3382018
2016-04-19 05:20:23 +00:00
Jenkins
c9cfd569fe Merge "Initialize neutron client with region name" 2016-04-19 04:48:03 +00:00
Jenkins
a7be016b3e Merge "Updated from global requirements" 2016-04-19 04:06:00 +00:00
reedip
aa1495e241 Add provider network options to osc network set
The following patch adds the provider network options
to OSC "network set".

Change-Id: I23b617077eda25d16164172a8e280082750eaf18
Partial-Bug: #1545537
2016-04-19 11:18:13 +09:00
Dean Troyer
baf96411fe Clean up for next release
* Release notes
* Docs Table of Contents

Change-Id: I4bef26ed348923671a2b50f90606661d519b40e3
2016-04-18 14:19:27 -05:00
Richard Theis
94c9cd5c66 Add options to security group rule list
Add the following options to the 'os security group rule list'
command:
  --long: Display direction and ethertype for Network v2
  --all-projects: Display information from all projects for Compute v2

Change-Id: If8a1cbd7669cdfa6577d6d2f6fffd9e999a39a82
Partial-Bug: #1519512
Implements: blueprint neutron-client
2016-04-18 14:03:22 -05:00
Jenkins
3f2ed7d19f Merge "Remove methods argument from vloume/v2/fakes.py" 2016-04-18 17:55:08 +00:00
Jenkins
e3a6fc27b0 Merge "Propagate AttributeErrors when lazily loading plugins" 2016-04-18 17:01:42 +00:00
Andrey Larionov
8c6b5a087a Initialize neutron client with region name
All clients except neutron are initialized with region name.
This makes unable to use network related commands of
openstackclient in multi-region configurations

Change-Id: I200dc9a2f938c3e69357f91c79810df167e4fccb
Closes-bug: 1570491
2016-04-18 19:54:58 +03:00
OpenStack Proposal Bot
f9e3d45173 Updated from global requirements
Change-Id: I12de03c42bc661a6a4e55fb70a06883e987fbc5f
2016-04-18 16:34:57 +00:00
Tang Chen
cc3a062529 Remove methods argument from vloume/v2/fakes.py
methods argument in FakeAvailabilityZone class
is not necessary. Remove it.

Change-Id: Idf136bf90bd94e7045b0d471b8e03cd843693251
2016-04-18 15:20:17 +08:00
Tang Chen
89445855ac State i18() changes and help messages improved
Add _() to wrap help message in network commands.
And also some improvement for help message.

Change-Id: Ib3e498f5976ba98c44fd4eec2d1623263b3db53e
Partial-bug: 1570924
2016-04-18 10:31:01 +08:00
Jenkins
8eade18624 Merge "Remove methods argument from FakeHypervisorStats" 2016-04-16 23:58:36 +00:00