Skip to content

TESTBED.PY Definition

vganapath edited this page Mar 17, 2016 · 5 revisions

from fabric.api import env

following list of definitions in testbed.py, is required for contrail-test-ci to run

1. Management ip addresses of hosts in the cluster

2. ext_routers , MX gateway if any

3. Autonomous system number, default 64512

4. Host from which the fab commands are triggered to install and provision
##(in case MOS setup it would be the fuel node)

5. Role definition of the hosts., defining control, config , database and compute nodes

6. Openstack admin password

7. Passwords of each host, including control, config and compute nodes

8. In Openstack or Contrail High Availability setups.
##in case of Openstack and Contrail HA setup, need to provide both VirtualIP for both openstack and contrail
##In case separate control and data, need to provide VIP for both networks for openstack and contrail respectively

9. In environments where keystone is deployed outside of Contrail provisioning

10. OPTIONAL SEPARATION OF MANAGEMENT AND CONTROL + DATA and OPTIONAL VLAN INFORMATION

Please refer the following sample file
Sample TESTBED.PY