master-thesis/p4app/topology.db
2019-07-10 12:25:15 +00:00

1 line
No EOL
2.2 KiB
Text

{"sw-cpu": {"interfaces_to_node": {"s1-cpu-eth1": "s1"}, "s1": {"intf": "s1-cpu-eth1", "weight": 1, "ip": "None/None", "delay": 0, "mac": "6e:c6:5c:0d:d4:b9", "bw": -1, "queue_length": -1}, "type": "switch", "interfaces_to_port": {"lo": 0, "s1-cpu-eth1": 1}}, "h2": {"interfaces_to_node": {"h2-eth0": "s1"}, "s1": {"intf": "h2-eth0", "weight": 1, "ip": "10.0.0.2/16", "delay": "0ms", "mac": "00:00:0a:00:00:02", "bw": null, "queue_length": 1000}, "type": "host", "interfaces_to_port": {"h2-eth0": 0}}, "h3": {"interfaces_to_node": {"h3-eth0": "s1"}, "s1": {"intf": "h3-eth0", "weight": 1, "ip": "10.0.0.3/16", "delay": "0ms", "mac": "00:00:0a:00:00:03", "bw": null, "queue_length": 1000}, "type": "host", "interfaces_to_port": {"h3-eth0": 0}}, "s1": {"sw_id": 1, "sw-cpu": {"intf": "s1-cpu-eth0", "weight": 1, "ip": "None/None", "delay": 0, "mac": "5e:40:04:4f:fd:38", "bw": -1, "queue_length": -1}, "thrift_port": 9090, "h2": {"intf": "s1-eth2", "weight": 1, "ip": "None/None", "delay": "0ms", "mac": "00:01:0a:00:00:02", "bw": null, "queue_length": 1000}, "h3": {"intf": "s1-eth3", "weight": 1, "ip": "None/None", "delay": "0ms", "mac": "00:01:0a:00:00:03", "bw": null, "queue_length": 1000}, "h1": {"intf": "s1-eth1", "weight": 1, "ip": "None/None", "delay": "0ms", "mac": "00:01:0a:00:00:01", "bw": null, "queue_length": 1000}, "h4": {"intf": "s1-eth4", "weight": 1, "ip": "None/None", "delay": "0ms", "mac": "00:01:0a:00:00:04", "bw": null, "queue_length": 1000}, "subtype": "p4switch", "interfaces_to_node": {"s1-eth4": "h4", "s1-cpu-eth0": "sw-cpu", "s1-eth1": "h1", "s1-eth3": "h3", "s1-eth2": "h2"}, "type": "switch", "interfaces_to_port": {"s1-eth4": 4, "s1-eth1": 1, "s1-eth3": 3, "s1-eth2": 2, "lo": 0, "s1-cpu-eth0": 5}}, "h1": {"interfaces_to_node": {"h1-eth0": "s1"}, "s1": {"intf": "h1-eth0", "weight": 1, "ip": "10.0.0.1/16", "delay": "0ms", "mac": "00:00:0a:00:00:01", "bw": null, "queue_length": 1000}, "type": "host", "interfaces_to_port": {"h1-eth0": 0}}, "h4": {"interfaces_to_node": {"h4-eth0": "s1"}, "s1": {"intf": "h4-eth0", "weight": 1, "ip": "10.0.0.4/16", "delay": "0ms", "mac": "00:00:0a:00:00:04", "bw": null, "queue_length": 1000}, "type": "host", "interfaces_to_port": {"h4-eth0": 0}}}