Bug 4988: OF statistics & REST client
[groupbasedpolicy.git] / demos / gbpsfc-env / demo-gbp2 / 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': 'sflow',
11              'dpid': '3'},
12             {'name': 'sw4',
13              'type': 'none',
14              'dpid': '4'},
15             {'name': 'sw5',
16              'type': 'none',
17              'dpid': '5'},
18             {'name': 'sw6',
19              'type': 'none',
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 #defaultContainerImage='ubuntu:14.04'
31
32 #Note that tenant name and endpointGroup name come from policy_config.py
33
34 hosts = [{'name': 'h35_2',
35           'mac': '00:00:00:00:35:02',
36           'ip': '10.0.35.2/24',
37           'switch': 'sw1'},
38          {'name': 'h35_3',
39           'ip': '10.0.35.3/24',
40           'mac': '00:00:00:00:35:03',
41           'switch': 'sw1'},
42          {'name': 'h35_4',
43           'ip': '10.0.35.4/24',
44           'mac': '00:00:00:00:35:04',
45           'switch': 'sw1'},
46          {'name': 'h35_5',
47           'ip': '10.0.35.5/24',
48           'mac': '00:00:00:00:35:05',
49           'switch': 'sw1'},
50          {'name': 'h36_2',
51           'ip': '10.0.36.2/24',
52           'mac': '00:00:00:00:36:02',
53           'switch': 'sw2'},
54          {'name': 'h36_3',
55           'ip': '10.0.36.3/24',
56           'mac': '00:00:00:00:36:03',
57           'switch': 'sw2'},
58          {'name': 'h36_4',
59           'ip': '10.0.36.4/24',
60           'mac': '00:00:00:00:36:04',
61           'switch': 'sw2'},
62          {'name': 'h36_5',
63           'ip': '10.0.36.5/24',
64           'mac': '00:00:00:00:36:05',
65           'switch': 'sw2'}
66           ]
67