summaryrefslogtreecommitdiff
path: root/functional
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Implement "network agent set" command"Jenkins2016-08-111-0/+9
|\
| * Implement "network agent set" commandHuanxuan Ao2016-08-101-0/+9
| | | | | | | | | | | | | | | | | | | | Add "network agent set" command in network v2 to set network agent properties. Also add the unit test, doc, functional test and release note. Change-Id: Iebaee4c60f8c6b43f538c1b82a38b93178b9ce53 Implements: bp implement-network-agents Co-Authored-By: Michael Gugino <michael.gugino@walmart.com>
* | Fix OSC identity v3 functional testsRichard Theis2016-08-101-1/+2
|/ | | | | | | | | | | The OSC identity v3 functional tests are failing due to [1] which added 'password_expires_at' to the user object. This patch set fixes the tests by updating user object fields list to include 'password_expires_at'. [1] https://review.openstack.org/#/c/333360/ Change-Id: Id4b060115d4270899ca0af2dc7b67ee723388e31
* Merge "Implement network agents functionality"Jenkins2016-08-051-0/+32
|\
| * Implement network agents functionalityMichael Gugino2016-08-051-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-neutronclient implements the following command set: agent-list, agent-show, agent-delete These commands display and modify various network agents and their information. python-openstacksdk has supported the api calls for these commands, but python-openstackclient does not implement these commands. This commit adds support for the following commands: openstack network agent list openstack network agent show <agent> openstack network agent delete <agent> Change-Id: I83ede6f89c37e7bdc38d7e9e7bb9d80e94c8becc Implements: blueprint implement-network-agents Depends-On: I9755637f76787d5fac8ff295ae273b308fcb98d0 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
* | Merge "Show "target_project_id" attribute properly for network rbac object"Jenkins2016-08-051-8/+1
|\ \
| * | Show "target_project_id" attribute properly for network rbac objectHuanxuan Ao2016-08-051-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the code in SDK: https://github.com/openstack/python-openstacksdk/blob/master/openstack/network/v2/rbac_policy.py#L34 we can see the conlumn of "target_tenant" should be "targer_project_id" but not "target_project". It is the reason why could not show the "target_project" in OSC, so this patch fix it. Before this change: (openstack) network rbac show b74fd644-e057-4d44-8ae1-7ca9967ea1e1 +----------------+--------------------------------------+ | Field | Value | +----------------+--------------------------------------+ | action | access_as_shared | | id | b74fd644-e057-4d44-8ae1-7ca9967ea1e1 | | object_id | 8735b57f-606a-4f65-9902-2052a6d2a66d | | object_type | network | | project_id | 01c0ba43101b4080a52a5f79a55c56ff | | target_project | | +----------------+--------------------------------------+ After this change: (openstack) network rbac show b74fd644-e057-4d44-8ae1-7ca9967ea1e1 +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | action | access_as_shared | | id | b74fd644-e057-4d44-8ae1-7ca9967ea1e1 | | object_id | 8735b57f-606a-4f65-9902-2052a6d2a66d | | object_type | network | | project_id | 01c0ba43101b4080a52a5f79a55c56ff | | target_project_id | c7ab4d2ea9e1487095a8ca24ea44ef38 | +-------------------+--------------------------------------+ Change-Id: I53df127bfc3e43288c6afecdf872e6101b94a658 Closes-Bug: #1608903
* | | Merge "Add support of setting volume's state"Jenkins2016-08-051-0/+7
|\ \ \ | |/ / |/| |
| * | Add support of setting volume's stateXi Yang2016-08-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to set volume's state, this patch is going to add this functionality. Closes-Bug:#1535213 Change-Id: I5bc1c7e81b8ba61c37f4bfd209fc86c5857fb050 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
* | | Implement "network rbac set" commandHuanxuan Ao2016-08-031-4/+25
|/ / | | | | | | | | | | | | | | | | | | | | | | Add "network rbac set" command which just supports setting a target project. Also, This patch adds the doc, unit test and functional test. But there is a bug of showing network RBAC https://bugs.launchpad.net/python-openstacksdk/+bug/1608903 We need to skip the functional test before this bug fixed. Change-Id: I756f448bb333cf1098a735e57a1c5dc4edf195d4 Partially-Implements: blueprint neutron-client-rbac
* | Implement network rbac create and delete commandsHuanxuan Ao2016-07-281-0/+55
|/ | | | | | | | | Add "network rbac create" and "network rbac delete" commands and also add unit tests, functional tests, docs and release note for them. Change-Id: I5fd58342f2deaa9bae7717412a942a21bbd7d045 Partially-Implements: blueprint neutron-client-rbac
* Transfer "ip floating CRUD" to "floating ip CRUD"Tang Chen2016-07-202-9/+10
| | | | | | | | | | | | This patch does the following things to transfer "ip floating xxx" to "floating ip xxx": * Add new command "floating ip create/delete/list/show", and doc. * Deprecate "ip floating create/delete/list/show" command. Change-Id: Ib071acaac81988431244e858bddafa7f93403df5 Implements: blueprint rework-ip-commands Closes-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
* Support bulk deletion for delete commands in identityv3Huanxuan Ao2016-07-196-0/+47
| | | | | | | | | | | | | | | | | | | | | | | Support bulk deletion for delete commands in the list below identity/v3/consumer identity/v3/credential identity/v3/domain identity/v3/ec2creds identity/v3/endpoint identity/v3/federation_protocol identity/v3/identity_provider identity/v3/mapping identity/v3/policy identity/v3/region identity/v3/service_provider identity/v3/service The unit test in identityv3 need to be refactored, so I add some functional tests instead. I will add all unit tests at one time after the refactor completed. Change-Id: I82367570f59817b47c87b6c7bfeae95ccfe5c50e Closes-Bug: #1592906
* Merge "Unskip the tests affected by warlock 1.3.0"Jenkins2016-07-181-3/+0
|\
| * Unskip the tests affected by warlock 1.3.0Steve Martinelli2016-07-171-3/+0
| | | | | | | | | | | | | | 1) This reverts commit 044a46ed5f040020cf80adc1ace987802344e87d which was broken by warlock 1.3.0 Change-Id: Ia286d9394586884018c4e62cf581e39a809f5545
* | Allow format selection in get_optsKyrylo Romanenko2016-07-141-2/+3
|/ | | | | | Default is "value". Change-Id: I244253f6cd53104a57ef12f6b14e1653c89d38bc
* Merge "Modify compute agent set command"Jenkins2016-07-141-4/+5
|\
| * Modify compute agent set commandsunyajing2016-07-111-4/+5
| | | | | | | | | | | | | | | | | | | | Migrate ``compute agent set`` arguments: version, url, md5hash to be optional. BackwardsIncompatibleImpact Change-Id: I092b7ed24274bafa548f0537c4586504be3a2825 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
* | Deduplicate get_opts methodsKyrylo Romanenko2016-07-0529-122/+117
| | | | | | | | | | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* | Add "--property" option to "flavor create" commandHuanxuan Ao2016-06-291-5/+9
|/ | | | | | | | Add "--property" option to "flavor create" command to support adding properties to a new falvor. Change-Id: I4f06b364375d5a81584fe41122d48e9568fa712a Closes-Bug: #1596798
* skip image tag testsSteve Martinelli2016-06-271-0/+3
| | | | | | | | 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
* Merge "Support multi-delete for commands in identity V2"Jenkins2016-06-243-0/+22
|\
| * Support multi-delete for commands in identity V2sunyajing2016-06-233-0/+22
| | | | | | | | | | | | | | | | Commands are "ec2 credentials delete", "service delete", "endpoint delete". Also update their unit tests and functional tests. Partial-Bug: #1592906 Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
* | Merge "Fix several flake8 code style issues in compute tests."Jenkins2016-06-244-12/+12
|\ \
| * | Fix several flake8 code style issues in compute tests.Kyrylo Romanenko2016-06-244-12/+12
| |/ | | | | | | | | | | | | | | Fix issues: H402 one line docstring needs punctuation, W503 line break before binary operator. Change-Id: Ie93430898403f137e7b647a97a28b0d7a4ebb463
* | Merge "Make code more compact for get_list_opts function"Jenkins2016-06-241-3/+1
|\ \
| * | Make code more compact for get_list_opts functionKyrylo Romanenko2016-06-241-3/+1
| | | | | | | | | | | | | | | | | | Do it like in get_show_opts done. Change-Id: If6b115c35a41997627660830fb8e5d299e8fb8e9
* | | Remove code forgotten in cb28fb55884a9be7cd70c37343181116cf000a42Vincent Legoll2016-06-242-6/+0
| |/ |/| | | | | | | Change-Id: I2abc75c94c1b6450f56bfcf2d8b1135e5caa3598 Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
* | Merge "Improve server functional tests"Jenkins2016-06-231-10/+18
|\ \
| * | Improve server functional testsRichard Theis2016-06-231-10/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | Patch set [1] fixed timing issues related to the server functional tests. As part of the review, additional enhancements were suggested. This patch set provides those enhancements. In particular, the functional tests will now check for the cirros256 flavor and the cirros-*-uec image. [1] https://review.openstack.org/#/c/313870/ Change-Id: I7fe18e26b3d09db92bbe669ffafcd16618cae383
* | Merge "use env vars to specify OS_IDENTITY_API_VERSION"Jenkins2016-06-2322-61/+62
|\ \
| * | use env vars to specify OS_IDENTITY_API_VERSIONSteve Martinelli2016-06-2022-61/+62
| |/ | | | | | | | | | | | | | | If the default identity API version were to change in devstack, the v2.0 tests would fail today, resulting in a broken OSC gate. Change-Id: Id634ea7e0fab9f3772383b5512ccac19f5119ac0
* | support multi-delete for volume-typeSteve Martinelli2016-06-202-0/+26
|/ | | | | | | | | Added the ability to delete multiple volume types at once. Note there are no unit tests exist for v1 volume-types, so instead a functional test was created. Partial-Bug: #1592906 Change-Id: I99f3f22901ab35252b91a3072b14de7d19cb17ca
* Merge "Move server image create command to its own resource file."Jenkins2016-06-161-1/+2
|\
| * Move server image create command to its own resource file.Dean Troyer2016-06-031-1/+2
| | | | | | | | Change-Id: If37e82072bd7a32b81bfb1a8bb048f018dd5b04f
* | Add functional test for "aggregate unset" commandHuanxuan Ao2016-06-161-0/+8
| | | | | | | | | | | | | | There was not functional test for "aggregate unset" command, this patch add the test. Change-Id: Icc8f51e863231e915b2a8cca59baaedd54a96de5
* | Fix volume functional testsRichard Theis2016-06-158-13/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The volume v2 functional tests occasionally fail with "unrecognized arguments: --private". This appears to occur when volume v1 and volume v2 functional tests are run at the same time when one or more of the tests do not set OS_VOLUME_API_VERSION appropriately. This patch also fixes a timing issue seen when running the tests locally due to a missing wait and moves the snapshot test to volume v2 since it was written for v2. Change-Id: I9c9863fe1aef81b0564920f36452c6f27211d5ba Closes-Bug: #1589793
* | Add functional tests for IP availabilityManjeet Singh Bhatia2016-06-061-0/+53
| | | | | | | | | | | | | | This patch adds functional tests for IP availability Partially-Implements: blueprint neutron-ip-capacity Change-Id: I1c1dc01801707fe8f0dc3c976e5d345d2b0db0ec
* | Fix --enable options on commandsRichard Theis2016-06-021-3/+3
|/ | | | | | | | | | | | The --enable option on commands is ignored when the arguments are parsed. This is related to the --enable-beta-commands option. Renaming the option to --os-beta-command fixes the problem. There's no need to handle backwards compatibility for the option name change because there hasn't been an OSC release yet with beta commands. Change-Id: I0327ba8a2058858a83e9a42e231470ed733cc834 Closes-Bug: #1588384
* Merge "Add network segment command object"Jenkins2016-05-301-0/+60
|\
| * Add network segment command objectRichard Theis2016-05-271-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network segment command object in support of routed networks. This patch set includes documentation, unit tests and functional tests (currently skipped until segments enabled in neutron by default) for the following new commands: - "os network segment list" - "os network segment show" These new commands are currently marked as beta commands. Change-Id: I1a79b48dc6820fe2a39fcceb11c8cae3bda413a0 Partially-Implements: blueprint routed-networks
* | Merge "Add "image unset" command"Jenkins2016-05-301-0/+9
|\ \
| * | Add "image unset" commandsunyajing2016-05-281-0/+9
| |/ | | | | | | | | | | | | | | This patch add a command that supports unsetting image tags and properties Change-Id: I6f2cf45a61ff89da6664f3a34ae49fdd85d8c986 Closes-Bug:#1582968
* | Merge "Fix functest "test_server_metadata()" in test_sever.py"Jenkins2016-05-301-0/+8
|\ \ | |/ |/|
| * Fix functest "test_server_metadata()" in test_sever.pyHuanxuan Ao2016-05-281-0/+8
| | | | | | | | | | | | | | | | There is only a functional test for "server set" command in test_server_metadata(), we also need a functional test for "server unset" command, so I add it in this patch. Change-Id: I23c40ac1c5adcc2563d8aa9dcb5551df695e98e3
* | Merge "Add some functional tests for commands in VolumeV2"Jenkins2016-05-232-0/+131
|\ \
| * | Add some functional tests for commands in VolumeV2Huanxuan Ao2016-05-232-0/+131
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | VolumeV2 lacked functional tests for qos specs and volume type commands, so I add them. These tests are quite similar to those in v1,just three difference: 1.Importing functional.common.test instead of functional.tests.volume.v1.common 2.Adding test_volume_type_set_unset_project() in test_volume_type.py. 3.Adding a test for "qos unset" command in test_qos.py Change-Id: Ic50e8c49ef01ac967c01ec41fb3f04cd51fea9e4
* | Merge "Add network support for "quota set""Jenkins2016-05-231-5/+4
|\ \
| * | Add network support for "quota set"Fang Zhen2016-05-191-5/+4
| |/ | | | | | | | | | | | | | | | | | | The "quota set" command support compute and volume quotas previously. This patch add support network. Partially-implements: blueprint neutron-client-quota Closes-bug: 1489441 Change-Id: I9d297f52bc30614b3493f09ed15f8f1d3f8ff952
* | Add functional tests for server group in ComputeV2Huanxuan Ao2016-05-211-0/+46
|/ | | | Change-Id: I43a6ce3a6d976f3d1bd68c0483c929977b660f0d