-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopology.json
1 lines (1 loc) · 1.83 KB
/
topology.json
1
{"directed": false, "multigraph": false, "graph": {}, "nodes": [{"cls": null, "isHost": true, "log_enabled": true, "log_dir": "./log", "defaultRoute": "via 10.0.1.254", "mac": "00:00:0a:00:01:01", "ip": "10.0.1.1/24", "id": "h1"}, {"cls": null, "isHost": true, "log_enabled": true, "log_dir": "./log", "defaultRoute": "via 10.0.2.254", "mac": "00:00:0a:00:02:02", "ip": "10.0.2.2/24", "id": "h2"}, {"cli_input": "p4cli/s1-commands.txt", "cls": null, "isP4Switch": true, "isSwitch": true, "p4_src": "/home/ubuntu/p4burst/p4src/sd.p4", "log_enabled": true, "log_dir": "./log", "device_id": 1, "thrift_port": 9090, "json_path": "/home/ubuntu/p4burst/p4src/sd.json", "id": "s1"}, {"cli_input": "p4cli/s2-commands.txt", "cls": null, "isP4Switch": true, "isSwitch": true, "p4_src": "/home/ubuntu/p4burst/p4src/l3_forwarding.p4", "log_enabled": true, "log_dir": "./log", "device_id": 2, "thrift_port": 9091, "json_path": "/home/ubuntu/p4burst/p4src/l3_forwarding.json", "id": "s2"}], "links": [{"bw": 1000, "delay": "0.1ms", "cls": null, "weight": 1, "addr1": "00:00:0a:00:01:01", "addr2": "00:01:0a:00:01:01", "intfName1": "h1-eth0", "intfName2": "s1-eth1", "node1": "h1", "node2": "s1", "port1": 0, "port2": 1, "ip1": "10.0.1.1/24", "ip2": "10.0.1.254/24", "source": "h1", "target": "s1"}, {"bw": 1000, "delay": "0.1ms", "cls": null, "weight": 1, "addr1": "00:00:0a:00:02:02", "addr2": "00:01:0a:00:02:02", "intfName1": "h2-eth0", "intfName2": "s2-eth1", "node1": "h2", "node2": "s2", "port1": 0, "port2": 1, "ip1": "10.0.2.2/24", "ip2": "10.0.2.254/24", "source": "h2", "target": "s2"}, {"bw": 1000, "delay": "0.1ms", "cls": null, "weight": 1, "intfName1": "s1-eth2", "intfName2": "s2-eth2", "addr1": "f2:36:7a:b3:96:bd", "addr2": "3a:d0:2b:97:bd:73", "node1": "s1", "node2": "s2", "port1": 2, "port2": 2, "ip1": "20.1.2.1/24", "ip2": "20.1.2.2/24", "source": "s1", "target": "s2"}]}