blob: 5d7ec5a1f56dcd2e6c5fa05b14450cbf89e95d2d [file] [log] [blame]
Rich Lanec6eca8f2015-04-08 15:42:26 -07001"""
2veth8 platform
3
4This platform uses 8 veth pairs. The switch should connect to veth0, veth2, ..., veth14.
5"""
6
7def platform_config_update(config):
8 """
9 Update configuration for the local platform
10
11 @param config The configuration dictionary to use/update
12 """
13
14 config['port_map'] = {
15 1: 'veth1',
16 2: 'veth3',
17 3: 'veth5',
18 4: 'veth7',
19 5: 'veth9',
20 6: 'veth11',
21 7: 'veth13',
22 8: 'veth15',
23 }