Dan Talayco | 4837010 | 2010-03-03 15:17:33 -0800 | [diff] [blame] | 1 | """ |
| 2 | Platform configuration file |
| 3 | platform == remote |
| 4 | """ |
| 5 | |
| 6 | remote_port_map = { |
| 7 | 23 : "eth2", |
| 8 | 24 : "eth3", |
| 9 | 25 : "eth4", |
| 10 | 26 : "eth5" |
| 11 | } |
| 12 | |
| 13 | def platform_config_update(config): |
| 14 | """ |
| 15 | Update configuration for the remote platform |
| 16 | |
| 17 | @param config The configuration dictionary to use/update |
| 18 | This routine defines the port map used for this configuration |
| 19 | """ |
| 20 | |
| 21 | global remote_port_map |
| 22 | config["port_map"] = remote_port_map.copy() |
Dan Talayco | 8b886b1 | 2010-06-08 14:02:35 -0700 | [diff] [blame] | 23 | config["caps_table_idx"] = 0 |