Auto-generated patch by python-black
[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", "type": "gbp", "dpid": "1"},
4     {"name": "sw2", "type": "gbp", "dpid": "2"},
5     {"name": "sw3", "type": "gbp", "dpid": "3"},
6 ]
7
8 defaultContainerImage = "alagalah/odlpoc_ovs230"
9 # defaultContainerImage='ubuntu:14.04'
10
11 # Note that tenant name and endpointGroup name come from policy_config.py
12
13 hosts = [
14     {
15         "name": "h35_2",
16         "mac": "00:00:00:00:35:02",
17         "ip": "10.0.35.2/24",
18         "switch": "sw1",
19     },
20     {
21         "name": "h35_3",
22         "ip": "10.0.35.3/24",
23         "mac": "00:00:00:00:35:03",
24         "switch": "sw2",
25     },
26     {
27         "name": "h35_4",
28         "ip": "10.0.35.4/24",
29         "mac": "00:00:00:00:35:04",
30         "switch": "sw3",
31     },
32     {
33         "name": "h35_5",
34         "ip": "10.0.35.5/24",
35         "mac": "00:00:00:00:35:05",
36         "switch": "sw1",
37     },
38     {
39         "name": "h35_6",
40         "ip": "10.0.35.6/24",
41         "mac": "00:00:00:00:35:06",
42         "switch": "sw2",
43         "tenant": "GBPPOC2",
44         "endpointGroup": "test",
45     },
46     {
47         "name": "h35_7",
48         "ip": "10.0.35.7/24",
49         "mac": "00:00:00:00:35:07",
50         "switch": "sw3",
51         "tenant": "GBPPOC2",
52         "endpointGroup": "test",
53     },
54     {
55         "name": "h35_8",
56         "ip": "10.0.35.8/24",
57         "mac": "00:00:00:00:35:08",
58         "switch": "sw1",
59         "tenant": "GBPPOC2",
60         "endpointGroup": "test",
61     },
62     {
63         "name": "h35_9",
64         "ip": "10.0.35.9/24",
65         "mac": "00:00:00:00:35:09",
66         "switch": "sw2",
67         "tenant": "GBPPOC2",
68         "endpointGroup": "test",
69     },
70     {
71         "name": "h36_2",
72         "ip": "10.0.36.2/24",
73         "mac": "00:00:00:00:36:02",
74         "switch": "sw3",
75     },
76     {
77         "name": "h36_3",
78         "ip": "10.0.36.3/24",
79         "mac": "00:00:00:00:36:03",
80         "switch": "sw1",
81     },
82     {
83         "name": "h36_4",
84         "ip": "10.0.36.4/24",
85         "mac": "00:00:00:00:36:04",
86         "switch": "sw2",
87     },
88     {
89         "name": "h36_5",
90         "ip": "10.0.36.5/24",
91         "mac": "00:00:00:00:36:05",
92         "switch": "sw3",
93     },
94     {
95         "name": "h36_6",
96         "ip": "10.0.36.6/24",
97         "mac": "00:00:00:00:36:06",
98         "switch": "sw1",
99         "tenant": "GBPPOC2",
100         "endpointGroup": "test",
101     },
102     {
103         "name": "h36_7",
104         "ip": "10.0.36.7/24",
105         "mac": "00:00:00:00:36:07",
106         "switch": "sw2",
107         "tenant": "GBPPOC2",
108         "endpointGroup": "test",
109     },
110     {
111         "name": "h36_8",
112         "ip": "10.0.36.8/24",
113         "mac": "00:00:00:00:36:08",
114         "switch": "sw3",
115         "tenant": "GBPPOC2",
116         "endpointGroup": "test",
117     },
118     {
119         "name": "h36_9",
120         "ip": "10.0.36.9/24",
121         "mac": "00:00:00:00:36:09",
122         "switch": "sw1",
123         "tenant": "GBPPOC2",
124         "endpointGroup": "test",
125     },
126 ]