Update the docs of patrole 77/65577/2
authorxudan <xudan16@huawei.com>
Wed, 5 Dec 2018 07:03:52 +0000 (02:03 -0500)
committerDan Xu <xudan16@huawei.com>
Thu, 6 Dec 2018 01:11:52 +0000 (01:11 +0000)
JIRA: DOVETAIL-756

Change-Id: Iad2bd02f3991aa3b551b8065ee25cf7b3213c423
Signed-off-by: xudan <xudan16@huawei.com>
docs/testing/user/testspecification/index.rst
docs/testing/user/testspecification/security_patrole/index.rst
docs/testing/user/testspecification/security_patrole_vxlan_dependent/index.rst [new file with mode: 0644]

index 9fff468..b4232b6 100644 (file)
@@ -29,6 +29,7 @@ specification documents.
 
    highavailability/index
    security_patrole/index
+   security_patrole_vxlan_dependent/index
    snaps_smoke/index
    stress/index
    tempest_compute/index
index 189c248..610b7f0 100644 (file)
@@ -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 (file)
index 0000000..3ff48aa
--- /dev/null
@@ -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