from fabric.api import env

#Management ip addresses of hosts in the cluster
host1 = 'root@172.21.0.10'
host2 = 'root@172.21.0.13'
host3 = 'root@172.21.0.14'
host4 = 'root@172.21.1.12'
host5 = 'root@172.21.1.13'

#External routers if any
#for eg. 
#ext_routers = [('mx1', '10.204.216.253')]
ext_routers = []

#Autonomous system number
router_asn = 64512

#Host from which the fab commands are triggered to install and provision
host_build = 'root@10.84.5.31'

#Role definition of the hosts.
env.roledefs = {
    'all': [host1, host2, host3, host4, host5],
    'cfgm': [host1],
    'openstack': [host1],
    'control': [host2, host3],
    'compute': [host4, host5],
    'collector': [host1, host2, host3],
    'webui': [host1, host2, host3],
    'database': [host1, host2, host3],
    'build': [host_build],
}

env.hostnames = {
    'all': ['z0', 'z3', 'z4','c2', 'c3']
}

#Openstack admin password
env.openstack_admin_password = 'chei9APh'

env.password = 'c0ntrail123'
#Passwords of each host
env.passwords = {
    host1: 'c0ntrail123',
    host2: 'c0ntrail123',
    host3: 'c0ntrail123',
    host4: 'c0ntrail123',
    host5: 'c0ntrail123',

    host_build: 'c0ntrail123',
}

#For reimage purpose
env.ostypes = {
    host1: 'ubuntu',
    host2: 'ubuntu',
    host3: 'ubuntu',
    host4: 'ubuntu',
    host5: 'ubuntu',
}

env.test_repo_dir='/root/contrail-sanity/contrail-test'

Add OCS jlab testbed file
Add OCS jlab testbed file
