a3a60183e90c0763498490b7f066d0fb0e614a2a
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp2-multitenant / init_scripts / infrastructure_config.py
1 # Config for switches, tunnelIP is the local IP address.
2 switches = [
3     {'name': 'sw1',
4      'type': 'gbp',
5      'dpid': '1'},
6     {'name': 'sw2',
7      'type': 'gbp',
8      'dpid': '2'},
9     {'name': 'sw3',
10      'type': 'gbp',
11      'dpid': '3'}
12 ]
13
14 defaultContainerImage = 'alagalah/odlpoc_ovs230'
15 # defaultContainerImage='ubuntu:14.04'
16
17 # Note that tenant name and endpointGroup name come from policy_config.py
18
19 hosts = [{'name': 'h35_2',
20           'mac': '00:00:00:00:35:02',
21           'ip': '10.0.35.2/24',
22           'switch': 'sw1'},
23          {'name': 'h35_3',
24           'ip': '10.0.35.3/24',
25           'mac': '00:00:00:00:35:03',
26           'switch': 'sw2'},
27          {'name': 'h35_4',
28           'ip': '10.0.35.4/24',
29           'mac': '00:00:00:00:35:04',
30           'switch': 'sw3'},
31          {'name': 'h35_5',
32           'ip': '10.0.35.5/24',
33           'mac': '00:00:00:00:35:05',
34           'switch': 'sw1'},
35
36          {'name': 'h35_6',
37           'ip': '10.0.35.6/24',
38           'mac': '00:00:00:00:35:06',
39           'switch': 'sw2',
40           'tenant': 'GBPPOC2',
41           'endpointGroup': 'test'},
42          {'name': 'h35_7',
43           'ip': '10.0.35.7/24',
44           'mac': '00:00:00:00:35:07',
45           'switch': 'sw3',
46           'tenant': 'GBPPOC2',
47           'endpointGroup': 'test'},
48          {'name': 'h35_8',
49           'ip': '10.0.35.8/24',
50           'mac': '00:00:00:00:35:08',
51           'switch': 'sw1',
52           'tenant': 'GBPPOC2',
53           'endpointGroup': 'test'},
54          {'name': 'h35_9',
55           'ip': '10.0.35.9/24',
56           'mac': '00:00:00:00:35:09',
57           'switch': 'sw2',
58           'tenant': 'GBPPOC2',
59           'endpointGroup': 'test'},
60
61          {'name': 'h36_2',
62           'ip': '10.0.36.2/24',
63           'mac': '00:00:00:00:36:02',
64           'switch': 'sw3'},
65          {'name': 'h36_3',
66           'ip': '10.0.36.3/24',
67           'mac': '00:00:00:00:36:03',
68           'switch': 'sw1'},
69          {'name': 'h36_4',
70           'ip': '10.0.36.4/24',
71           'mac': '00:00:00:00:36:04',
72           'switch': 'sw2'},
73          {'name': 'h36_5',
74           'ip': '10.0.36.5/24',
75           'mac': '00:00:00:00:36:05',
76           'switch': 'sw3'},
77
78          {'name': 'h36_6',
79           'ip': '10.0.36.6/24',
80           'mac': '00:00:00:00:36:06',
81           'switch': 'sw1',
82           'tenant': 'GBPPOC2',
83           'endpointGroup': 'test'},
84          {'name': 'h36_7',
85           'ip': '10.0.36.7/24',
86           'mac': '00:00:00:00:36:07',
87           'switch': 'sw2',
88           'tenant': 'GBPPOC2',
89           'endpointGroup': 'test'},
90          {'name': 'h36_8',
91           'ip': '10.0.36.8/24',
92           'mac': '00:00:00:00:36:08',
93           'switch': 'sw3',
94           'tenant': 'GBPPOC2',
95           'endpointGroup': 'test'},
96          {'name': 'h36_9',
97           'ip': '10.0.36.9/24',
98           'mac': '00:00:00:00:36:09',
99           'switch': 'sw1',
100           'tenant': 'GBPPOC2',
101           'endpointGroup': 'test'}]