commit cc939612b3aaff0acbe51e2175cd39b9c080f858
Author: Miguel Lavalle <email address hidden>
Date: Fri Feb 22 17:27:20 2013 -0600
Update test_networks.py to v2 of Quantum API
Fixes bugs in the test suite tempest.tests.network.test_networks that prevents
Jenkins gate-tempest-devstack-vm-quantum-full to execute succesfully. The
problem was that the test suite was using v1 of the Quantum API, which
according to the "Quantum API Guide (V2.0)" has been removed from the code
base. Please see note at bottom of:
The test suite was patched to use operations supported by v2 of the Quantum
API. This required patches in the following files:
1) tempest.common.rest_client was patched to provide the correct end-point for
v2 of the Quantum API
2) tempest.services.network.json.network_client was patched to support create,
delete, list and show operations for the 3 basic abstractions offered by the
Quantum API: networks, sub-networks and ports
3) tempest.tests.network.base was patched to create a network and a subnetwork
using v2 Quantum API operations.
4) tempest.tests.network.test_networks was patched to invoke v2 Quantum API
operations. Individual tests invoking obsolete operations were eliminated
Reviewed: https:/ /review. openstack. org/25132 github. com/openstack/ tempest/ commit/ cc939612b3aaff0 acbe51e2175cd39 b9c080f858
Committed: http://
Submitter: Jenkins
Branch: master
commit cc939612b3aaff0 acbe51e2175cd39 b9c080f858
Author: Miguel Lavalle <email address hidden>
Date: Fri Feb 22 17:27:20 2013 -0600
Update test_networks.py to v2 of Quantum API
Fixes bugs in the test suite tempest. tests.network. test_networks that prevents devstack- vm-quantum- full to execute succesfully. The
Jenkins gate-tempest-
problem was that the test suite was using v1 of the Quantum API, which
according to the "Quantum API Guide (V2.0)" has been removed from the code
base. Please see note at bottom of:
docs. openstack. org/api/ openstack- network/ 2.0/content/ Overview- d1e71.html
The test suite was patched to use operations supported by v2 of the Quantum
API. This required patches in the following files:
1) tempest. common. rest_client was patched to provide the correct end-point for
v2 of the Quantum API
2) tempest. services. network. json.network_ client was patched to support create,
delete, list and show operations for the 3 basic abstractions offered by the
Quantum API: networks, sub-networks and ports
3) tempest. tests.network. base was patched to create a network and a subnetwork
using v2 Quantum API operations.
4) tempest. tests.network. test_networks was patched to invoke v2 Quantum API
operations. Individual tests invoking obsolete operations were eliminated
Fixes bug 1131458
Fixes bug 1159229
Change-Id: I320c46f2a42d8f d9dbfd496e8f357 e21eb1c9259