| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Change-Id: I91f2091ef06a55bcf5373d1beeea2dd81e9f1334
Closes-Bug: #1567895
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the following network options to the "os security group rule"
command:
(1) --ingress and --egress
(2) --ethertype
These options enable egress and IPv6 security group rules for
Network v2.
Change-Id: Ie30b5e95f94e0c087b0ce81e518de72d2dda25ad
Partial-Bug: #1519512
Implements: blueprint neutron-client
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
functional.common.tests module defines:
* assertOutput (similar to assertEqual)
* assertInOutput (similar to assertIn)
in order to allow the usage of assertions in testcase classmethods but
there is no reason to use them in testcase instancemethods at least
because they raise Exception instances instead of AssertionError
instances.
Change-Id: I9ffcaf9c6e6a1ff5df6ea2d79be3fb4496db4b85
|
| | |/
|/|
| |
| |
| |
| |
| | |
Remove exceptions.py from functional/common.
Import exception with the same code from the tempest_lib to tests.
Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change replaces in many identity functests the pattern:
raw_resource = create_resource(...)
check(raw_resource)
self.addCleanup(delete_resource, ...)
...
by the pattern:
raw_resource = create_resource(...)
self.addCleanup(delete_resource, ...)
check(raw_resource)
...
which ensures that cleanup is defined and called after the test even if
check(resource) fails.
Change-Id: I4da541b7552d06eaffafda446e389bb552422cda
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change replaces when possible homemade temporary file management by
tempfile.NamedTemporaryFile[1][2] and defines only when needed a cleanup
for a temporary file[2].
[1] functional/tests/compute/v2/test_keypair.py
[2] functional/tests/object/v1/test_object.py
Change-Id: I728ab96381ca9f3fd1f899dd50e5ceb5e97b9397
|
| |/
|
|
|
|
| |
This change removes unused cleanup_tmpfile method from functests code.
Change-Id: I5d8e7edb0e50e94a5a469ce393d411b390b4db34
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a test case to exercise the --public-key option of
the 'keypair create' command. It is a follow-on to
I7a299a542d9df543bff43d3ea1e7907fc8c5f640 that fixed a key file
read bug.
Change-Id: Id78c1c7ece02f619aca69dc397185fc426b92306
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
'identity provider' commands had functional tests but 'service
provider' commands did not. Added the tests in a similar way to
how it is done it test_idp.
Change-Id: Id4b24ef7d34db65c6b0260c89327ec9be683284d
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds "subnet set" command to osc using sdk.
Implements: blueprint neutron-client
Closes-bug: #1542363
Change-Id: Id3b7f4b9190b4d73ca3ae423321a65f94a6da62e
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
wait and interval are already defaulted in the function signature
Change-Id: I66317a24f8327c464343ac13fc0126c34915eeda
|
| |/ /
| |
| |
| | |
Change-Id: I639819a5b1d8a476cdd8b340b8c339754f471048
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add tests for list and description for Server commands:
- Check server commands in main help message.
- Check list of server-related commands only.
Commands:
server add security group,
server add volume,
server create,
server delete,
server dump create,
server image create,
server list,
server lock,
server migrate,
server pause,
server reboot,
server rebuild,
server remove security group,
server remove volume,
server rescue,
server resize,
server resume,
server set,
server shelve,
server show,
server ssh,
server start,
server stop,
server suspend,
server unlock,
server unpause,
server unrescue,
server unset,
server unshelve.
Change-Id: Ib4bf9ab0264fb482d36cf5688c0f939bcd2cb6d8
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add functional tests for "os subnet" commands.
Change-Id: Ie80763334f2fb4099b3e549256576d71cc213c07
Depends-On: Ia6120b8dccf2ee83dc89b3f496f7180d4dc5199a
Related-Bug: #1523258
Related-Bug: #1542359
Related-Bug: #1542362
Related-Bug: #1542364
Related-Bug: #1542363
Partially-Implements: blueprint neutron-client
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add functional tests for "os subnet pool" commands.
Change-Id: I51ffabcdb4d0f8608cc847aae298c8cbfd1f6a3d
Depends-On: I9150797c8cfa794d5264ad07965aa967d9a8f5bc
Depends-On: I65bd71e0f54f2f65acefbc542df67a1b1ec26397
Related-Bug: #1544586
Related-Bug: #1544587
Related-Bug: #1544589
Related-Bug: #1544590
Related-Bug: #1544591
Partially-Implements: blueprint neutron-client
|
| |/
|
|
|
|
|
|
|
| |
Add functional tests for "os port" commands.
Change-Id: I162eff6abacd9ffdde369647491ae472b604c692
Depends-On: I2bea508e11290284aa64b1ab548a0bb61e7290d3
Partial-Bug: #1519909
Partially-Implements: blueprint neutron-client
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nova API validation changes [1] appear to have broken the
'os aggregate create' and 'nova aggregate-create' commands when
an availability zone name is not specified. This patch set updates
the test_aggregate functional test to set the availability zone
name in order to unblock the osc gate while nova investigates
the issue.
[1] https://review.openstack.org/#/c/281143/
Change-Id: I00b497be61c4bc4bc467c66c1e49b2e0636ab841
Related-Bug: #1541691
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
set/unset comamnd classes should inherit from cliff.Command class.
Also, this patch adds functional tests for aggregate.
And also, use utils.format_dict() to format the output of the
properties dict.
Change-Id: Idb50bef8990da95666960e2414dfd7c9be234bba
Partial-bug: #1519503
Closes-Bug: 1546065
|
| |
|
|
|
|
|
|
|
| |
set/unset command classes should inherit from cliff.Command class.
Also, this patch adds functional tests for compute agent.
Change-Id: I25eafffd1167f82aa0d430628c22dee7516b1e19
Partial-Bug: 1546065
|
| |
|
|
|
|
| |
set/unset comamnd classes should inherit from cliff.Command class.
Change-Id: Ie28711ac8823dc9eb13cf83877864ca436b928bc
Partial-Bug: 1546065
|
| |
|
|
|
|
| |
set/unset comamnd classes should inherit from cliff.Command class.
Change-Id: I54e5608ac0768d7d94b7f7d516ea1948daefdc1b
Partial-Bug: 1546065
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If “ignore” is not set under flake8 in the tox.ini
file there there are defaults set to be ignored.
The depended patch fixes many of the problems.
Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b
Doc: http://flake8.readthedocs.org/en/latest/config.html#default
Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d
Closes-Bug: #1548910
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the "os security group rule show" command which will use
the SDK when neutron is enabled, and use the nova client when
nova network is enabled.
Change-Id: I41efaa4468ec15e4e86d74144cc72edc25a29024
Partial-Bug: #1519512
Implements: blueprint neutron-client
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tests for v2 "volume" commands are quite similar to v1.
This patch also map 'metadata' to 'properties', 'volume_type' to 'type'
to align to the v1 output.
Change-Id: Icf2c5463b186fc78c890ccd96453090c4a2c2eb6
Partial-bug: #1519503
|
| |/
|
|
|
|
|
|
|
|
| |
The tests for image v2 are quite similar to the tests for v1.
The only difference things are:
1. v2 "image set" command only allows to change the disk format
for a queued image
2. v2 "image show" command output is different from v1
Change-Id: Ieb6bec7467887aab567743153ea3181afa49537d
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moved the functional tests for "os security group" and
"os security group rule" from the compute to the network
directory to align with the refactoring to the commands.
Change-Id: Ief6ab17775c6d7e3bef58d9fa025d9dd520b7370
Partial-Bug: #1519511
Partial-Bug: #1519512
Related-to: blueprint neutron-client
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add functional tests for "os quota" commands.
Change-Id: I0f5939bf4ce553174c9b7ce55bdb3dce0506c409
Related-Bug: #1528249
Partially-Implements: blueprint neutron-client
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A recent keystone change [1] resulted in the domain_id field
being included when showing a role.
[1] https://github.com/openstack/keystone/commit/407eabde417e85bb35bc7cbf1995857f4b20aeca
Change-Id: I344f4d727f2a16217c075ad8b8393c1e0a233c2e
Closes-Bug: #1544547
|
| |\ \ |
|
| | |/
| |
| |
| | |
Change-Id: I863583d6c8263d144d45a0443fc6af04301d23e7
|
| |/
|
|
| |
Change-Id: Ib291e79864c218464e842a08efd3742193ba5ff0
|
| |
|
|
|
|
|
|
| |
This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1].
[1] https://review.openstack.org/#/c/274703/
Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
|
| |
|
|
|
|
|
|
|
|
|
| |
DevStack now uses identity v3 by default thus causing OSC to
only load openstack.identity.v3 commands. This prevents running
functional tests on openstack.identity.v2 commands. As a result,
this patch set skips all identity v2 functional tests to unblock
the gate.
Change-Id: I066187318be71792a966fa21226fab0d406c3758
Partial-Bug: #1539780
|
| |
|
|
|
|
|
|
| |
Add functional tests for the "os router" commands.
Change-Id: I99045e6e2f548ac4206afcdb61940180e609a6bc
Partial-bug: #1519503
Partially-implements: blueprint neutron-client
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Refactor the "os availability zone list" command to make it a common
command instead of a compute-only command. Since availability zones
are common to compute, volume and network (new), this refactoring
allows availability zone support to be added for volume and network.
In addition to the refactor, unit and functional tests were added.
Change-Id: I63e9d41d229b21cd38e5a083493042c096d65e05
Partial-Bug: #1532945
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces a unit test class TestProjectUnset
for testing unset cmd.
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>
Change-Id: Ib4a414d2313e3d37e48d1cb3639f064231aec508
Closes-Bug: #1486597
|