1349 Commits

Author SHA1 Message Date
Jenkins
fac52cc606 Merge "Remove testing of cliff command line options" 2015-07-12 14:58:32 +00:00
Jenkins
6b80efb429 Merge "Fix address parsing for server ssh command" 2015-07-12 14:40:29 +00:00
Jenkins
d96f8b532a Merge "Fixes modules index generated by Sphinx" 2015-07-12 05:07:00 +00:00
lin-hua-cheng
f807f0a66e Fix wrong mock method call
There is no assert_called() method in mock, replace it with
assert_called_with() method. The old method used to work with
mock 1.0.1 because it was a noop in magicmock.

Needs https://review.openstack.org/#/c/200583 to pass the requirements check.

https://review.openstack.org/#/c/193935/ changed the OS_* vars
we source by forcing v2password as the auth method.
change our identity v3 test setup by setting v3password

Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Closes-Bug: 1473454

Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d

Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
2015-07-11 18:57:20 -04:00
Guojian Shao
e76de2c204 add functional tests for identity v2
split test_identity.py into test_user.py, test_project, etc.
To make functional tests run repeatedly without raising
duplicated error, clean up resources before exiting each test case.

Change-Id: I8f31ccbd70f1cccdab8b3720aac179e2e399486d
Implements: blueprint identity-functional-tests
2015-07-10 15:35:58 +08:00
lin-hua-cheng
89cf9f61b1 Fixes modules index generated by Sphinx
Sphinx was always using (o)penstackclient for the prefix so the index
wasn't very useful.

Change-Id: Ie9f5d7fe428142bdb8027b422e3023418b48c428
2015-07-09 21:40:31 -07:00
Jenkins
35dc2bed9e Merge "openstack catalog list always returns publicURL for internalURL and adminURL" 2015-07-09 15:58:34 +00:00
OpenStack Proposal Bot
a3f50eafa5 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I053c9518ef01e008e63833494d2b51c44d3a64a7
2015-07-09 06:11:22 +00:00
TerryHowe
f89fc1ef32 Fix address parsing for server ssh command
There seem to be three formats for the server address field
and the old code only supported the old format.  This code adds
a parser for all three formats.

Change-Id: I7f12d2c69ff70556907ea6f31a0e0bba91b68b49
Closes-Bug: #1469843
2015-07-08 15:00:51 -06:00
Martin Schuppert
7af00f833f openstack catalog list always returns publicURL for internalURL and adminURL
With this change 'openstack catalog list' returns the correspoding URL for
publicURL, internalURL and adminURL in _format_endpoints .

Change-Id: I5d946c9d70a2d3c22a7cc77067fec8e2e9aa4940
Closes-Bug: 1472629
2015-07-08 21:40:44 +02:00
TerryHowe
2d4a737160 Remove the --dhcp option to network list
The --dhcp option lists agents, not networks.  This does not make
a lot of sense.  Another command should be created to list agents.

BackwardsIncompatibleImpact
Closes-Bug: #1472613

Change-Id: I5ecfe3fc046a07eb64a4dabd41dbd99de7c2215f
2015-07-08 11:21:41 -06:00
TerryHowe
8c7920ddf0 Remove testing of cliff command line options
These options are part of cliff, let cliff test them.

Change-Id: I802c25ba80048607eef6909a21709dcda63231cc
2015-07-08 10:38:35 -06:00
Jenkins
f07f71661f Merge "add functional tests for identity v3" 2015-07-07 18:11:25 +00:00
Guojian Shao
aa3b3c1f0f add functional tests for identity v3
To make test cases more clearly, split test_identity.py
into test_user.py, test_role, etc. Add more test cases for
user, role, etc. Furthermore, to make functional tests run
repeatedly without raising duplicated error, clean up
resources before exiting each test case.

Change-Id: I1541943ad0b8d4d8d1e72822c159fda243b3d1d7
Implements: blueprint identity-functional-tests
2015-07-07 15:57:36 +08:00
Jenkins
dfa80ee9c0 Merge "Add functional tests for volume set size" 2015-07-06 18:52:17 +00:00
Jenkins
e57808d962 Merge "Add functional tests for security group CRUD" 2015-07-06 18:01:35 +00:00
Jenkins
1a45b20ba1 Merge "Add functional tests for flavor metadata" 2015-07-06 17:04:02 +00:00
Jenkins
541ec43cf0 Merge "Add flavor functional test" 2015-07-06 16:04:55 +00:00
Jenkins
8c7e6e7de6 Merge "Add functional tests for server CRUD" 2015-07-05 15:25:41 +00:00
Jenkins
ee64c2fa6b Merge "Add --os-endpoint-type cli optional argument" 2015-07-03 02:48:47 +00:00
Roxana Gherle
5521e4c504 Add --os-endpoint-type cli optional argument
User should be able to specify the endpoint type through
a CLI optional argument/ENV variable setting. We will name this new
optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and
based on the value given, the service API will use that specific
endpoint type. Possible values: public, admin, internal.

DocImpact
Closes-Bug: #1454392
Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
2015-07-02 10:10:46 -07:00
David Moreau Simard
3bfaf79732 Show which aggregate a hypervisor is member of
This adds support for showing which host aggregates
a hypervisor is member of, if any.
It supports hypervisors with or without nova cells.

Closes-bug: #1470875
Change-Id: I0cfe4f15fa8f8ba0be3295b79cd438998893114c
2015-07-02 10:23:22 -04:00
Jenkins
d80deaba41 Merge "Move update code from image create command" 2015-07-02 14:08:05 +00:00
Marek Aufart
bd589778c2 Move update code from image create command
Openstack image create command updates existing image (with same name) by
default. That might be confusing since glance allows create multiple
images with same names and may lead to unwanted image update by image
create command.

Image update code was moved from image create action to image set action.

BackwardsIncompatibleImpact

Change-Id: I1686c6544c366262efab9e33c066d5f8a667f707
Closes-Bug: #1461817
2015-07-02 11:02:17 +02:00
Jenkins
60d1417c2f Merge "Add functional tests for image set" 2015-07-01 19:51:13 +00:00
Jenkins
50a80ab97e Merge "Add tests for 'list' and 'show' for volume qos v1" 2015-07-01 19:40:43 +00:00
TerryHowe
700048a1e0 Fix examples with cacert
Change-Id: I2a4f758ef11caf51d0c47cb5632e59245d631d3d
Closes-Bug: #1470272
2015-07-01 05:11:45 -06:00
OpenStack Proposal Bot
a7eb8b5b3f Updated from global requirements
Change-Id: Icf1e3f1292baafe7746fd8804c61ccaab592db65
2015-06-30 22:45:47 +00:00
Jenkins
730b26e349 Merge "Add support for volume API v2 QoS commands" 2015-06-30 20:43:15 +00:00
Jenkins
e3589b3fde Merge "Alphabetize tests for v1 qos_specs" 2015-06-30 16:26:21 +00:00
David Moreau Simard
974c9d5793 Add support for volume API v2 QoS commands
This commit adds the following commands:
  volume qos associate
  volume qos create
  volume qos delete
  volume qos disassociate
  volume qos list
  volume qos set
  volume qos show
  volume qos unset

Change-Id: If3c679557ac9abb0dfc75d290b96fb9c8d46c7b7
Partial-Bug: #1467967
2015-06-29 17:24:35 -04:00
David Moreau Simard
4d832e7beb Add tests for 'list' and 'show' for volume qos v1
Change-Id: I1b4d998f3ec1bd5cb8dd4c9e0d04fd3b3049e9d7
2015-06-29 17:15:31 -04:00
Jenkins
a5259fe008 Merge "Add docs for QoS specs" 2015-06-29 19:07:13 +00:00
David Moreau Simard
1051a46944 Alphabetize tests for v1 qos_specs
As a follow up of sorting the methods for volume v1
qos_specs.

Change-Id: I428167297e7110e586d139bf38fd22d321836e80
2015-06-29 12:25:30 -04:00
Steve Martinelli
862afd1e7b Add docs for QoS specs
QoS v1 was recently included in openstackclient. We should include
command object docs.

Change-Id: I891231be095324bf55eb7ee4bb86debdf7a26f05
2015-06-29 16:16:35 +00:00
Steve Martinelli
36613f9f53 No need for get_parser on QoS list
There are no arguments so there's no need to define the
get_parser function.

Change-Id: Icfa8accf6dbb7f8d1a0472926403b405da3cc611
2015-06-28 23:43:39 -04:00
Steve Martinelli
1d51eb82d0 Alphabetize QoS specs
setup.cfg and the implementation had some functions that were
not in alphabetical order. Since the rest of OSC is alphabetized,
let's stick to that.

Change-Id: Ief5d4694c7b6bc20a0898437b96305885104d45c
2015-06-28 23:42:55 -04:00
Jenkins
4c3f2ed73e Merge "Add support for volume API v1 QoS commands" 2015-06-27 15:55:48 +00:00
David Moreau Simard
7bb038c4a7 Add support for volume API v1 QoS commands
This commit adds the following commands:
  volume qos associate
  volume qos create
  volume qos delete
  volume qos disassociate
  volume qos list
  volume qos set
  volume qos show
  volume qos unset

Change-Id: I72ea1b9a4d0bd0e35eda03071ea438b75439fce9
Partial-Bug: #1467967
2015-06-26 23:19:08 -04:00
Guojian Shao
8899bc4162 fix confused domain argument for network create v2
we have used domain scope arguments --project-domain, --user-domain
and --group-domain in identity commands, for example, role add v3,
to prevent resources conflict from same resource name existence.
To keep with the style of identity commands, it's better to rename
--domain to --project-domain.

Closes-Bug: #1468988
Change-Id: Ic6ccb895cf9be4a3d5f0001525e3b80cd340da8b
2015-06-26 12:08:22 +08:00
Jenkins
ec31a2a12e Merge "Enables retrieval of project's parents and subtree" 2015-06-25 21:51:04 +00:00
Jenkins
2cc679ed9f Merge "Add support to inherited project role grant calls" 2015-06-24 15:26:18 +00:00
Jenkins
c307b6b484 Merge "Updated from global requirements" 2015-06-24 13:02:15 +00:00
Guojian Shao
253ba3c425 fix typo in network.rst
There is a typo for --domain argument in network create:
Owner’s domain (name or ID)",
the last character " should be removed.

Closes-Bug: #1468282
Change-Id: I81d55841e633a52f3913cf5f4a3e6626ebc1f919
2015-06-24 18:14:12 +08:00
OpenStack Proposal Bot
4f12a82679 Updated from global requirements
Change-Id: I4c5304a276b1c2b2ea98c98518217b0201a2c993
2015-06-24 00:21:41 +00:00
OpenStack Proposal Bot
af7f64eae5 Updated from global requirements
Change-Id: Ib550688f8420e8d29b594d90705ef8a89eb03018
2015-06-22 21:43:54 +00:00
Samuel de Medeiros Queiroz
ed241ef9bc Add support to inherited project role grant calls
Once inherited project role grant calls are
implemented on python-keystoneclient,
python-openstackclient also should support such
calls.
This patch add such support as well as its
related tests.

Co-Authored-By: Raildo Mascena <raildo@lsd.ufcg.edu.br>

Change-Id: Id72670be8640e5c6e2490a6ef849e9ec3493b1a9
Implements: blueprint hierarchical-multitenancy
2015-06-22 11:05:01 -03:00
OpenStack Proposal Bot
2d6bc8f4c3 Updated from global requirements
Change-Id: Ie4f93534ec504e7672c88ab02efc8747df91318c
2015-06-22 08:28:06 +00:00
Jenkins
3120a0bd2a Merge "fix typo for server create in server.rst" 2015-06-19 15:31:13 +00:00
Guojian Shao
012e6a7628 fix typo for server create in server.rst
we have <security-group-list> in server create option,
while <security-group-name> in the explanation, they
both should be <security-group-name>.

Closes-Bug: #1466742
Change-Id: I26a25f57e57d8f9e19ec9c9ccb3c2b8d5396b78d
2015-06-19 15:14:04 +08:00