Most basic features now working, including:
[groupbasedpolicy.git] / util / testOfOverlay / config.py
1
2
3 TENANT="f5c7d344-d1c7-4208-8531-2c2693657e12"
4 L3CTX="f2311f52-890f-4095-8b85-485ec8b92b3c"
5 L2BD="70aeb9ea-4ca1-4fb9-9780-22b04b84a0d6"
6
7 L2FD1="252fbac6-bb6e-4d16-808d-6f56d20e5cca"
8 EG1="1eaf9a67-a171-42a8-9282-71cf702f61dd"
9 L2FD2="cb5249bb-e896-45be-899d-4cdd9354b58e"
10 EG2="e593f05d-96be-47ad-acd5-ba81465680d5"
11
12 CONTRACT="22282cca-9a13-4d0c-a67e-a933ebb0b0ae"
13
14 switches = [{'name': 's1',
15              'tunnelIp': '10.160.9.20',
16              'dpid': '1'},
17             {'name': 's2',
18              'tunnelIp': '10.160.9.21',
19              'dpid': '2'}]
20
21 hosts = [{'name': 'h35_2',
22           'mac': '00:00:00:00:35:02',
23           'ip': '10.0.35.2/24',
24           'switch': 's1',
25           'tenant': TENANT,
26           'endpointGroup': EG1},
27          {'name': 'h35_3',
28           'ip': '10.0.35.3/24',
29           'mac': '00:00:00:00:35:03',
30           'switch': 's1',
31           'tenant': TENANT,
32           'endpointGroup': EG1},
33          {'name': 'h35_4',
34           'ip': '10.0.35.4/24',
35           'mac': '00:00:00:00:35:04',
36           'switch': 's2',
37           'tenant': TENANT,
38           'endpointGroup': EG1},
39          {'name': 'h35_5',
40           'ip': '10.0.35.5/24',
41           'mac': '00:00:00:00:35:05',
42           'switch': 's2',
43           'tenant': TENANT,
44           'endpointGroup': EG1},
45          {'name': 'h36_2',
46           'ip': '10.0.36.2/24',
47           'mac': '00:00:00:00:36:02',
48           'switch': 's1',
49           'tenant': TENANT,
50           'endpointGroup': EG2},
51          {'name': 'h36_3',
52           'ip': '10.0.36.3/24',
53           'mac': '00:00:00:00:36:03',
54           'switch': 's1',
55           'tenant': TENANT,
56           'endpointGroup': EG2},
57          {'name': 'h36_4',
58           'ip': '10.0.36.4/24',
59           'mac': '00:00:00:00:36:04',
60           'switch': 's2',
61           'tenant': TENANT,
62           'endpointGroup': EG2},
63          {'name': 'h36_5',
64           'ip': '10.0.36.5/24',
65           'mac': '00:00:00:00:36:05',
66           'switch': 's2',
67           'tenant': TENANT,
68           'endpointGroup': EG2}]
69
70 contracts = [{'consumer': EG1,
71               'provider': EG2,
72               'id': CONTRACT}]