Clean up permissions on demo
[groupbasedpolicy.git] / demos / gbpsfc-env / demo-asymmetric-chain / 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': 'sff',
8              'dpid': '2'},
9             {'name': 'sw3',
10              'type': 'sf',
11              'dpid': '3'},
12             {'name': 'sw4',
13              'type': 'sff',
14              'dpid': '4'},
15             {'name': 'sw5',
16              'type': 'sf',
17              'dpid': '5'},
18             {'name': 'sw6',
19              'type': 'gbp',
20              'dpid': '6'},
21             {'name': 'sw7',
22              'type': 'none',
23              'dpid': '7'},
24             {'name': 'sw8',
25              'type': 'none',
26              'dpid': '8'}
27             ]
28
29 defaultContainerImage='alagalah/odlpoc_ovs230'
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': 'sw1'},
41          {'name': 'h35_4',
42           'ip': '10.0.35.4/24',
43           'mac': '00:00:00:00:35:04',
44           'switch': 'sw6'},
45          {'name': 'h35_5',
46           'ip': '10.0.35.5/24',
47           'mac': '00:00:00:00:35:05',
48           'switch': 'sw6'},
49          {'name': 'h36_2',
50           'ip': '10.0.36.2/24',
51           'mac': '00:00:00:00:36:02',
52           'switch': 'sw1'},
53          {'name': 'h36_3',
54           'ip': '10.0.36.3/24',
55           'mac': '00:00:00:00:36:03',
56           'switch': 'sw1'},
57          {'name': 'h36_4',
58           'ip': '10.0.36.4/24',
59           'mac': '00:00:00:00:36:04',
60           'switch': 'sw6'},
61          {'name': 'h36_5',
62           'ip': '10.0.36.5/24',
63           'mac': '00:00:00:00:36:05',
64           'switch': 'sw6'}
65           ]