diff options
author | xudan <xudan16@huawei.com> | 2018-12-05 02:03:52 -0500 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2018-12-06 01:11:52 +0000 |
commit | bdbd7d405ac8603deed456e038cd13b0fde02b62 (patch) | |
tree | f98c7dfd034d7019246e336d06b1ece63c296156 /docs/testing/user/testspecification | |
parent | 45d97056b18fdb8008f5a54b3c35ba35b1be9a7a (diff) |
Update the docs of patrole
JIRA: DOVETAIL-756
Change-Id: Iad2bd02f3991aa3b551b8065ee25cf7b3213c423
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docs/testing/user/testspecification')
3 files changed, 53 insertions, 2 deletions
diff --git a/docs/testing/user/testspecification/index.rst b/docs/testing/user/testspecification/index.rst index 9fff4689..b4232b68 100644 --- a/docs/testing/user/testspecification/index.rst +++ b/docs/testing/user/testspecification/index.rst @@ -29,6 +29,7 @@ specification documents. highavailability/index security_patrole/index + security_patrole_vxlan_dependent/index snaps_smoke/index stress/index tempest_compute/index diff --git a/docs/testing/user/testspecification/security_patrole/index.rst b/docs/testing/user/testspecification/security_patrole/index.rst index 189c248d..610b7f0d 100644 --- a/docs/testing/user/testspecification/security_patrole/index.rst +++ b/docs/testing/user/testspecification/security_patrole/index.rst @@ -176,8 +176,6 @@ Implementation: `NetworksRbacTest <https://github.com/openstack/patrole/blob/0.2.0/patrole_tempest_plugin/tests/api/network/test_networks_rbac.py>`_ - patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network -- patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_provider_network_type -- patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_provider_segmentation_id - patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_router_external - patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_shared - patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_subnet diff --git a/docs/testing/user/testspecification/security_patrole_vxlan_dependent/index.rst b/docs/testing/user/testspecification/security_patrole_vxlan_dependent/index.rst new file mode 100644 index 00000000..3ff48aa6 --- /dev/null +++ b/docs/testing/user/testspecification/security_patrole_vxlan_dependent/index.rst @@ -0,0 +1,52 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) OPNFV + +===================================== +Patrole Tempest Tests Depend on Vxlan +===================================== + +Scope +===== + +This test area includes some tempest role-based access control (RBAC) tests +which depend on vxlan physical networks. + + +References +================ + +- `OpenStack image service API reference <https://developer.openstack.org/api-ref/image/v2/index.html>`_ +- `OpenStack metadata definitions service API reference <https://developer.openstack.org/api-ref/image/v2/metadefs-index.html>`_ +- `OpenStack layer 2 networking service API reference <https://developer.openstack.org/api-ref/network/v2/index.html#layer-2-networking>`_ +- `OpenStack layer 3 networking service API reference <https://developer.openstack.org/api-ref/network/v2/index.html#layer-3-networking>`_ +- `OpenStack network security API reference <https://developer.openstack.org/api-ref/network/v2/index.html#security>`_ +- `OpenStack resource management API reference <https://developer.openstack.org/api-ref/network/v2/index.html#resource-management>`_ +- `OpenStack networking agents API reference <https://developer.openstack.org/api-ref/network/v2/index.html#networking-agents>`_ + + +System Under Test (SUT) +======================= + +The system under test is assumed to be the NFVI and VIM deployed on a Pharos +compliant infrastructure. + + +Test Area Structure +==================== + +The test area is structured in individual tests as listed below. Each test case +is able to run independently, i.e. irrelevant of the state created by a previous +test. For detailed information on the individual steps and assertions performed +by the tests, review the Python source code accessible via the following links. + + +**Network basic RBAC test:** + +These tests cover the RBAC tests of network basic operations by creating a vxlan provider network. + +Implementation: +`NetworksRbacTest <https://github.com/openstack/patrole/blob/0.2.0/patrole_tempest_plugin/tests/api/network/test_networks_rbac.py>`_ + +- patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_provider_network_type +- patrole_tempest_plugin.tests.api.network.test_networks_rbac.NetworksRbacTest.test_create_network_provider_segmentation_id |