{
"program": "ip_forward.p4",
"switch": "simple_switch",
"compiler": "p4c",
"options": "--target bmv2 --arch v1model --std p4-16",
"switch_cli": "simple_switch_CLI",
"cli": true,
"pcap_dump": false,
"enable_log": false,
"topo_module": {
"file_path": "",
"module_name": "p4utils.mininetlib.apptopo",
"object_name": "AppTopoStrategies"
},
"controller_module": null,
"topodb_module": {
"file_path": "",
"module_name": "p4utils.utils.topology",
"object_name": "Topology"
},
"mininet_module": {
"file_path": "",
"module_name": "p4utils.mininetlib.p4net",
"object_name": "P4Mininet"
},
"topology": {
"assignment_strategy": "manual",
"auto_arp_tables": "true",
"auto_gw_arp": "true",
"links": [["h1", "s1"], ["h2", "s1"], ["h3", "s2"], ["h4", "s2"], ["h5", "s3"], ["h6", "s3"], ["s1", "s2"], ["s1", "s3"], ["s2", "s3"]],
"hosts": {
"h1": {
"ip": "10.0.1.1/24",
"gw": "10.0.1.254"
},
"h2": {
"ip": "10.0.1.2/24",
"gw": "10.0.1.254"
},
"h3": {
"ip": "10.0.2.1/24",
"gw": "10.0.2.254"
},
"h4": {
"ip": "10.0.2.2/24",
"gw": "10.0.2.254"
},
"h5": {
"ip": "10.0.3.1/24",
"gw": "10.0.3.254"
},
"h6": {
"ip": "10.0.3.2/24",
"gw": "10.0.3.254"
}
},
"switches": {
"s1": {
"cli_input": "cmd1.txt",
"program": "ip_forward.p4"
},
"s2": {
"cli_input": "cmd2.txt",
"program": "ip_forward.p4"
},
"s3": {
"cli_input": "cmd3.txt",
"program": "ip_forward.p4"
}
}
}
}