Created
January 19, 2016 14:22
-
-
Save anonymous/8e5582417ce87c4cd400 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone and install https://github.com/openstack/os-testr | |
cd /opt/stack | |
git clone https://github.com/openstack/os-testr.git | |
cd os-testr/ | |
sudo ./setup.py install | |
#stack as you normally would | |
create public net and subnet: | |
neutron net-create ext-net --router:external True --provider:physical_network external --provider:network_type flat | |
neutron subnet-create ext-net 10.35.6.0/23 --name ext-subnet --gateway 10.35.7.254 --allocation-pool start=10.35.6.120,end=10.35.6.130 | |
edit /opt/stack/tempest/etc/tempest.conf by adding the net_id of the net created just above. | |
example: | |
public_network_id = 90245de5-a3ef-4d77-b360-c3e0ad4d94cc | |
cd /opt/stack/tempest | |
ostestr --pdb tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops | |
it takes a few mins, but eventually you will see test completion. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment