24468e2e31552598c58e5e9fc08fdbf469945616
[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 = [
3     {"name": "sw1", "type": "gbp", "dpid": "1"},
4     {"name": "sw2", "type": "gbp", "dpid": "2"},
5     {"name": "sw3", "type": "gbp", "dpid": "3"},
6     {"name": "sw4", "type": "none", "dpid": "4"},
7     {"name": "sw5", "type": "none", "dpid": "5"},
8     {"name": "sw6", "type": "none", "dpid": "6"},
9     {"name": "sw7", "type": "none", "dpid": "7"},
10     {"name": "sw8", "type": "none", "dpid": "8"},
11 ]
12
13 defaultContainerImage = "alagalah/odlpoc_ovs230"
14 # defaultContainerImage='ubuntu:14.04'
15
16 # Note that tenant name and endpointGroup name come from policy_config.py
17
18 hosts = [
19     {
20         "name": "h35_2",
21         "mac": "00:00:00:00:35:02",
22         "ip": "10.0.35.2/24",
23         "switch": "sw1",
24     },
25     {
26         "name": "h35_3",
27         "ip": "10.0.35.3/24",
28         "mac": "00:00:00:00:35:03",
29         "switch": "sw2",
30     },
31     {
32         "name": "h35_4",
33         "ip": "10.0.35.4/24",
34         "mac": "00:00:00:00:35:04",
35         "switch": "sw3",
36     },
37     {
38         "name": "h35_5",
39         "ip": "10.0.35.5/24",
40         "mac": "00:00:00:00:35:05",
41         "switch": "sw1",
42     },
43     {
44         "name": "h36_2",
45         "ip": "10.0.36.2/24",
46         "mac": "00:00:00:00:36:02",
47         "switch": "sw2",
48     },
49     {
50         "name": "h36_3",
51         "ip": "10.0.36.3/24",
52         "mac": "00:00:00:00:36:03",
53         "switch": "sw3",
54     },
55     {
56         "name": "h36_4",
57         "ip": "10.0.36.4/24",
58         "mac": "00:00:00:00:36:04",
59         "switch": "sw1",
60     },
61     {
62         "name": "h36_5",
63         "ip": "10.0.36.5/24",
64         "mac": "00:00:00:00:36:05",
65         "switch": "sw2",
66     },
67 ]