8503c8e5da571100efac8e9a6797be3aad728d65
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp1 / init_scripts / infrastructure_config.py
1 # Config for switches, tunnelIP is the local IP address.
2 switches = [{'name': 'sw1',
3              'type': 'gbp',
4              'dpid': '1'},
5             {'name': 'sw2',
6              'type': 'gbp',
7              'dpid': '2'},
8             {'name': 'sw3',
9              'type': 'gbp',
10              'dpid': '3'},
11             {'name': 'sw4',
12              'type': 'none',
13              'dpid': '4'},
14             {'name': 'sw5',
15              'type': 'none',
16              'dpid': '5'},
17             {'name': 'sw6',
18              'type': 'none',
19              'dpid': '6'},
20             {'name': 'sw7',
21              'type': 'none',
22              'dpid': '7'},
23             {'name': 'sw8',
24              'type': 'none',
25              'dpid': '8'}
26             ]
27
28 defaultContainerImage = 'alagalah/odlpoc_ovs230'
29 # defaultContainerImage='ubuntu:14.04'
30
31 # Note that tenant name and endpointGroup name come from policy_config.py
32
33 hosts = [{'name': 'h35_2',
34           'mac': '00:00:00:00:35:02',
35           'ip': '10.0.35.2/24',
36           'switch': 'sw1'},
37          {'name': 'h35_3',
38           'ip': '10.0.35.3/24',
39           'mac': '00:00:00:00:35:03',
40           'switch': 'sw2'},
41          {'name': 'h35_4',
42           'ip': '10.0.35.4/24',
43           'mac': '00:00:00:00:35:04',
44           'switch': 'sw3'},
45          {'name': 'h35_5',
46           'ip': '10.0.35.5/24',
47           'mac': '00:00:00:00:35:05',
48           'switch': 'sw1'},
49          {'name': 'h36_2',
50           'ip': '10.0.36.2/24',
51           'mac': '00:00:00:00:36:02',
52           'switch': 'sw2'},
53          {'name': 'h36_3',
54           'ip': '10.0.36.3/24',
55           'mac': '00:00:00:00:36:03',
56           'switch': 'sw3'},
57          {'name': 'h36_4',
58           'ip': '10.0.36.4/24',
59           'mac': '00:00:00:00:36:04',
60           'switch': 'sw1'},
61          {'name': 'h36_5',
62           'ip': '10.0.36.5/24',
63           'mac': '00:00:00:00:36:05',
64           'switch': 'sw2'}
65          ]