The pod ld-build2 only has python 3.6 installed, so change the tox env to be 3.6
Other pods has python 3.5 to verify pep8, py35 ...
Change-Id: I0289d7ce96ffa49dd08ce4b855fe071a5e608cbf
Signed-off-by: xudan <xudan16@huawei.com>
users to upload test results to a centralized community repository. This facilitates user
collaboration, result sharing, self-testing and community reviews. It also serves as a hub for
new participants to learn about the program and access key resources. The link for this portal
-is at: `OPNFV Verified Program <https://verified.opnfv.org>`_.
+is at: `OPNFV Verified Program <https://nfvi-verified.lfnetworking.org>`_.
Use of the OVP web portal is open to all and only requires a valid Linux Foundation or OpenStack
ID to login. Users are welcome to use the portal to upload, inspect and share results in a private
Documents
---------
-- `System Preparation Guide <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/systempreparation/index.html>`_
+- `System Preparation Guide <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/systempreparation/index.html>`_
-- `User Guide <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/userguide/testing_guide.html>`_
+- `User Guide <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/userguide/testing_guide.html>`_
-- `OPV Test Specifications <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/testspecification/index.html>`_
+- `OPV Test Specifications <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/testspecification/index.html>`_
-- `Dovetail CLI Reference <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/userguide/cli_reference.html>`_
+- `Dovetail CLI Reference <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/userguide/cli_reference.html>`_
-- `OPV Workflow <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/certificationworkflow/index.html>`_
+- `OPV Workflow <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/certificationworkflow/index.html>`_
-- `OPV Reviewer Guide <http://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/reviewerguide/index.html>`_
+- `OPV Reviewer Guide <https://docs.opnfv.org/en/stable-fraser/submodules/dovetail/docs/testing/user/reviewerguide/index.html>`_
Testing with OPNFV Fraser Installers
Useful Links
============
- - `OVP Web Portal <https://verified.opnfv.org>`_
+ - `OVP Web Portal <https://nfvi-verified.lfnetworking.org>`_
- `Wiki Project Page <https://wiki.opnfv.org/display/dovetail>`_
to stop issuing exemptions.
-.. [1] https://review.openstack.org/#/c/156130/
+.. [1] https://review.opendev.org/gitweb?p=openstack%2Ftempest.git;a=commitdiff;h=f0c30bc241e5160e3fe7402e738ea8f56a8b1315
.. [2] https://github.com/openstack/tempest/tree/master/tempest/lib/api_schema/response/compute
-.. [3] https://developer.openstack.org/api-ref/compute/#show-server-details
+.. [3] https://docs.openstack.org/api-ref/compute/#show-server-details
.. [4] https://wiki.openstack.org/wiki/Governance/InteropWG
.. [5] https://www.openstack.org/brand/interop/
.. [6] http://lists.openstack.org/pipermail/openstack-dev/2016-June/097349.html
-.. [7] https://review.openstack.org/#/c/333067/
-.. [8] https://review.openstack.org/#/c/512447/
+.. [7] https://review.opendev.org/gitweb?p=openstack%2Finterop.git;a=commitdiff;h=c38e18b343505f16a74a97b748362fa7f1a01e57
+.. [8] https://review.opendev.org/gitweb?p=openstack%2Finterop.git;a=commitdiff;h=5748c296a658cf5efebc16ad9d7644ca1125b073
process.
The OPNFV Verified program (OVP) provides the ability for users to upload test results in
-`OVP portal <https://verified.opnfv.org>`_ and request from OVP community to review them.
+`OVP portal <https://nfvi-verified.lfnetworking.org>`_ and request from OVP community to review them.
After the user submit for review the test results **Status** is changed from 'private' to 'review'
(as shown in figure 2).
and **Owner** values.
Volunteers that will accept the review request can access the test results by login to the
-`OVP portal <https://verified.opnfv.org>`_ and the click on the **My Results** tab in top-level
+`OVP portal <https://nfvi-verified.lfnetworking.org>`_ and the click on the **My Results** tab in top-level
navigation bar.
.. image:: images/ovp_top_nav.png
- ETSI GS NFV-REL 001
- - http://www.etsi.org/deliver/etsi_gs/NFV-REL/001_099/001/01.01.01_60/gs_nfv-rel001v010101p.pdf
+ - https://www.etsi.org/deliver/etsi_gs/NFV-REL/001_099/001/01.01.01_60/gs_nfv-rel001v010101p.pdf
- OpenStack High Availability Guide
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>`_
+- `OpenStack image service API reference <https://docs.openstack.org/api-ref/image/v2/index.html>`_
+- `OpenStack metadata definitions service API reference <https://docs.openstack.org/api-ref/image/v2/metadefs-index.html>`_
+- `OpenStack layer 2 networking service API reference <https://docs.openstack.org/api-ref/network/v2/index.html#layer-2-networking>`_
+- `OpenStack layer 3 networking service API reference <https://docs.openstack.org/api-ref/network/v2/index.html#layer-3-networking>`_
+- `OpenStack network security API reference <https://docs.openstack.org/api-ref/network/v2/index.html#security>`_
+- `OpenStack resource management API reference <https://docs.openstack.org/api-ref/network/v2/index.html#resource-management>`_
System Under Test (SUT)
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>`_
+- `OpenStack image service API reference <https://docs.openstack.org/api-ref/image/v2/index.html>`_
+- `OpenStack metadata definitions service API reference <https://docs.openstack.org/api-ref/image/v2/metadefs-index.html>`_
+- `OpenStack layer 2 networking service API reference <https://docs.openstack.org/api-ref/network/v2/index.html#layer-2-networking>`_
+- `OpenStack layer 3 networking service API reference <https://docs.openstack.org/api-ref/network/v2/index.html#layer-3-networking>`_
+- `OpenStack network security API reference <https://docs.openstack.org/api-ref/network/v2/index.html#security>`_
+- `OpenStack resource management API reference <https://docs.openstack.org/api-ref/network/v2/index.html#resource-management>`_
System Under Test (SUT)
References
==========
-`Security Groups: <https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups>`_
+`Security Groups: <https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups>`_
- create security group
- delete security group
-`Networks: <https://developer.openstack.org/api-ref/networking/v2/index.html#networks>`_
+`Networks: <https://docs.openstack.org/api-ref/network/v2/index.html#networks>`_
- create network
- delete network
-`Routers and interface: <https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers>`_
+`Routers and interface: <https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers>`_
- create router
- update router
- delete router
- add interface to router
-`Subnets: <https://developer.openstack.org/api-ref/networking/v2/index.html#subnets>`_
+`Subnets: <https://docs.openstack.org/api-ref/network/v2/index.html#subnets>`_
- create subnet
- update subnet
- delete subnet
-`Servers: <https://developer.openstack.org/api-ref/compute/>`_
+`Servers: <https://docs.openstack.org/api-ref/compute/>`_
- create keypair
- create server
- add/assign floating IP
- disassociate floating IP
-`Ports: <https://developer.openstack.org/api-ref/networking/v2/index.html#ports>`_
+`Ports: <https://docs.openstack.org/api-ref/network/v2/index.html#ports>`_
- create port
- update port
- delete port
-`Floating IPs: <https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips>`_
+`Floating IPs: <https://docs.openstack.org/api-ref/network/v2/index.html#floating-ips-floatingips>`_
- create floating IP
- delete floating IP
References
==========
-`Identity API v3.0 <https://developer.openstack.org/api-ref/identity/v3/index.html>`_
+`Identity API v3.0 <https://docs.openstack.org/api-ref/identity/v3/index.html>`_
System Under Test (SUT)
=======================
References
==========
-`Image Service API v2 <https://developer.openstack.org/api-ref/image/v2/index.html#images>`_
+`Image Service API v2 <https://docs.openstack.org/api-ref/image/v2/index.html>`_
System Under Test (SUT)
=======================
- tempest.api.image.v2.test_images.BasicOperationsImagesTest.test_register_upload_get_image_file
- `List Versions <https://github.com/openstack/tempest/blob/18.0.0/tempest/api/image/v2/test_versions.py>`_
- - tempest.api.image.v2.test_versions.VersionsTest.test_list_versions
\ No newline at end of file
+ - tempest.api.image.v2.test_versions.VersionsTest.test_list_versions
- upstream openstack API reference
- - http://developer.openstack.org/api-ref
+ - https://docs.openstack.org/api-ref/
- upstream openstack IPv6 reference
API Used and Reference
----------------------
-Networks: https://developer.openstack.org/api-ref/networking/v2/index.html#networks
+Networks: https://docs.openstack.org/api-ref/network/v2/index.html#networks
- show network details
- update network
- create netowrk
- bulk create networks
-Subnets: https://developer.openstack.org/api-ref/networking/v2/index.html#subnets
+Subnets: https://docs.openstack.org/api-ref/network/v2/index.html#subnets
- list subnets
- create subnet
- update subnet
- delete subnet
-Routers and interface: https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers
+Routers and interface: https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers
- list routers
- create router
- add interface to router
- remove interface from router
-Ports: https://developer.openstack.org/api-ref/networking/v2/index.html#ports
+Ports: https://docs.openstack.org/api-ref/network/v2/index.html#ports
- show port details
- update port
- create port
- bulk create ports
-Security groups: https://developer.openstack.org/api-ref/networking/v2/index.html#security-groups-security-groups
+Security groups: https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
- list security groups
- create security groups
- update security group
- delete security group
-Security groups rules: https://developer.openstack.org/api-ref/networking/v2/index.html#security-group-rules-security-group-rules
+Security groups rules: https://docs.openstack.org/api-ref/network/v2/index.html#security-group-rules-security-group-rules
- list security group rules
- create security group rule
- show security group rule
- delete security group rule
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- list servers
- create server
API Used and Reference
----------------------
-Security Groups: https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
+Security Groups: https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
- create security group
- delete security group
-Networks: https://developer.openstack.org/api-ref/networking/v2/index.html#networks
+Networks: https://docs.openstack.org/api-ref/network/v2/index.html#networks
- create network
- delete network
-Routers and interface: https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers
+Routers and interface: https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers
- create router
- delete router
- add interface to router
-Subnets: https://developer.openstack.org/api-ref/networking/v2/index.html#subnets
+Subnets: https://docs.openstack.org/api-ref/network/v2/index.html#subnets
- create subnet
- delete subnet
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- create keypair
- create server
- list server groups
- show server group details
-Ports: https://developer.openstack.org/api-ref/networking/v2/index.html#ports
+Ports: https://docs.openstack.org/api-ref/network/v2/index.html#ports
- create port
- delete port
-Floating IPs: https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips
+Floating IPs: https://docs.openstack.org/api-ref/network/v2/index.html#floating-ips-floatingips
- create floating IP
- delete floating IP
-Availability zone: https://developer.openstack.org/api-ref/compute/
+Availability zone: https://docs.openstack.org/api-ref/compute/
- get availability zone
References
==========
-`Networks: <https://developer.openstack.org/api-ref/network/v2/#networks>`_
+`Networks: <https://docs.openstack.org/api-ref/network/v2/#networks>`_
- create network
- delete network
-`Routers and interface: <https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers>`_
+`Routers and interface: <https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers>`_
- create router
- update router
- delete router
- add interface to router
-`Subnets: <https://developer.openstack.org/api-ref/networking/v2/index.html#subnets>`_
+`Subnets: <https://docs.openstack.org/api-ref/network/v2/index.html#subnets>`_
- create subnet
- update subnet
- delete subnet
-`Subnetpools: <https://developer.openstack.org/api-ref/network/v2/#subnet-pools-extension-subnetpools>`_
+`Subnetpools: <https://docs.openstack.org/api-ref/network/v2/#subnet-pools-extension-subnetpools>`_
- create subnetpool
- update subnetpool
- delete subnetpool
-`Ports: <https://developer.openstack.org/api-ref/networking/v2/index.html#ports>`_
+`Ports: <https://docs.openstack.org/api-ref/network/v2/index.html#ports>`_
- create port
- update port
- delete port
-`Floating IPs: <https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips>`_
+`Floating IPs: <https://docs.openstack.org/api-ref/network/v2/index.html#floating-ips-floatingips>`_
- create floating IP
- delete floating IP
-`Api Versions <https://developer.openstack.org/api-ref/network/v2/#api-versions>`_
+`Api Versions <https://docs.openstack.org/api-ref/network/v2/#api-versions>`_
- list version
- show version
- tempest.api.network.test_subnetpools_extensions.SubnetPoolsTestJSON.test_create_list_show_update_delete_subnetpools
`API Version Resources test <https://github.com/openstack/tempest/blob/master/tempest/api/network/test_versions.py>`_
- - tempest.api.network.test_versions.NetworksApiDiscovery.test_api_version_resources
\ No newline at end of file
+ - tempest.api.network.test_versions.NetworksApiDiscovery.test_api_version_resources
API Used and Reference
----------------------
-Security Groups: https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
+Security Groups: https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
- create security group
- delete security group
-Networks: https://developer.openstack.org/api-ref/networking/v2/index.html#networks
+Networks: https://docs.openstack.org/api-ref/network/v2/index.html#networks
- create network
- delete network
-Routers and interface: https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers
+Routers and interface: https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers
- create router
- update router
- delete router
- add interface to router
-Subnets: https://developer.openstack.org/api-ref/networking/v2/index.html#subnets
+Subnets: https://docs.openstack.org/api-ref/network/v2/index.html#subnets
- create subnet
- update subnet
- delete subnet
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- create keypair
- create server
- add/assign floating IP
- disassociate floating IP
-Ports: https://developer.openstack.org/api-ref/networking/v2/index.html#ports
+Ports: https://docs.openstack.org/api-ref/network/v2/index.html#ports
- create port
- update port
- delete port
-Floating IPs: https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips
+Floating IPs: https://docs.openstack.org/api-ref/network/v2/index.html#floating-ips-floatingips
- create floating IP
- delete floating IP
API Used and Reference
----------------------
-Security Groups: https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
+Security Groups: https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
- create security group
- delete security group
-Networks: https://developer.openstack.org/api-ref/networking/v2/index.html#networks
+Networks: https://docs.openstack.org/api-ref/network/v2/index.html#networks
- create network
- delete network
- create floating ip
- delete floating ip
-Routers and interface: https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers
+Routers and interface: https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers
- create router
- delete router
- list routers
- add interface to router
-Subnets: https://developer.openstack.org/api-ref/networking/v2/index.html#subnets
+Subnets: https://docs.openstack.org/api-ref/network/v2/index.html#subnets
- create subnet
- list subnets
- delete subnet
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- create keypair
- create server
- delete server
- add/assign floating ip
-Ports: https://developer.openstack.org/api-ref/networking/v2/index.html#ports
+Ports: https://docs.openstack.org/api-ref/network/v2/index.html#ports
- update port
- list ports
API Used and Reference
----------------------
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- create server
- delete server
- create keypair
- delete keypair
-Block storage: https://developer.openstack.org/api-ref/block-storage
+Block storage: https://docs.openstack.org/api-ref/block-storage/
- create volume
- delete volume
API Used and Reference
----------------------
-Images: https://developer.openstack.org/api-ref/image/v2/
+Images: https://docs.openstack.org/api-ref/image/v2/
- create image
- delete image
API Used and Reference
----------------------
-Network: http://developer.openstack.org/api-ref/networking/v2/index.html
+Network: https://docs.openstack.org/api-ref/network/v2/index.html
- create network
- update network
API Used and Reference
----------------------
-Block storage: https://developer.openstack.org/api-ref/block-storage
+Block storage: https://docs.openstack.org/api-ref/block-storage/
- create volume
- delete volume
References
================
-- `OpenStack API reference <https://developer.openstack.org/api-ref/network/v2/#trunk-networking>`_
+- `OpenStack API reference <https://docs.openstack.org/api-ref/network/v2/#trunk-networking>`_
System Under Test (SUT)
API Used and Reference
----------------------
-Block storage: https://developer.openstack.org/api-ref/block-storage
+Block storage: https://docs.openstack.org/api-ref/block-storage/
- create volume
- delete volume
- attach volume to server
- detach volume from server
-Security Groups: https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
+Security Groups: https://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups
- create security group
- delete security group
-Networks: https://developer.openstack.org/api-ref/networking/v2/index.html#networks
+Networks: https://docs.openstack.org/api-ref/network/v2/index.html#networks
- create network
- delete network
-Routers and interface: https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers
+Routers and interface: https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers
- create router
- delete router
- add interface to router
-Subnets: https://developer.openstack.org/api-ref/networking/v2/index.html#subnets
+Subnets: https://docs.openstack.org/api-ref/network/v2/index.html#subnets
- create subnet
- delete subnet
-Servers: https://developer.openstack.org/api-ref/compute/
+Servers: https://docs.openstack.org/api-ref/compute/
- create keypair
- create server
- migrate server
- live-migrate server
-Ports: https://developer.openstack.org/api-ref/networking/v2/index.html#ports
+Ports: https://docs.openstack.org/api-ref/network/v2/index.html#ports
- create port
- delete port
-Floating IPs: https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips
+Floating IPs: https://docs.openstack.org/api-ref/network/v2/index.html#floating-ips-floatingips
- create floating IP
- delete floating IP
-Availability zone: https://developer.openstack.org/api-ref/compute/
+Availability zone: https://docs.openstack.org/api-ref/compute/
- get availability zone
- 3GPP LTE
- - http://www.3gpp.org/technologies/keywords-acronyms/98-lte
+ - https://www.3gpp.org/technologies/keywords-acronyms/98-lte
- ETSI - TS 24.301
- SCPClient
- - https://pypi.python.org/pypi/scp
+ - https://pypi.org/project/scp/
Definitions and abbreviations
hosts_obj.add.assert_called_once_with([entry_obj])
hosts_obj.write.assert_called_once()
- @patch('dovetail.utils.dovetail_utils.objwalk')
- def test_get_obj_by_path(self, mock_walk):
- path = dist_path = 'path'
- obj = 'obj'
- mock_walk.return_value = [(path, obj)]
-
- expected = obj
- result = dovetail_utils.get_obj_by_path(obj, dist_path)
+ def test_get_obj_by_path(self):
+ obj = {'name': 'name', 'validate': {'testcase': 'testcase'}}
+ dst_path = ('name',)
+ expected = 'name'
+ result = dovetail_utils.get_obj_by_path(obj, dst_path)
self.assertEqual(expected, result)
@patch('dovetail.utils.dovetail_utils.objwalk')
envlist =
pep8,
py35,
- docs,
docs-linkcheck
[testenv]
echo
[testenv:pep8]
+basepython = python3.5
commands = flake8 {toxinidir}
[flake8]
+basepython = python3.5
show-source = True
ignore = E123,E125,H803,E722,W503
exclude = .tox,dist,docs,*egg,build,.venv,.git
[testenv:docs]
+basepython = python3.6
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
whitelist_externals = echo
[testenv:docs-linkcheck]
+basepython = python3.5
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck