... | ... | @@ -35,13 +35,13 @@ Consider that `obj` is the main object contained in the JSON network configurati |
|
|
|*not present*|`obj["router_node"]`|Default Mininet router class to use.|If not specified, the default `FRRouter` class will be used.|object|
|
|
|
|*not present*|`obj["compiler_module"]`|Default P4 compiler class to use.|If not specified, the default `P4C` class will be used.|object|
|
|
|
|*not present*|`obj["client_module"]`|Default *Thrift* client class to use to configure the switches.|If not specified, the default `ThriftClient` class will be used.|object|
|
|
|
|`obj["topology"]["default_delay"]`|`obj["topology"]["default"]["delay"]`|Links default transmission delay (ms).|number|
|
|
|
|`obj["topology"]["default_bw"]`|`obj["topology"]["default"]["bw"]`|Links default bandwidth (Mbps).|number|
|
|
|
|`obj["topology"]["default_loss"]`|`obj["topology"]["default"]["loss"]`|Links default loss.|number|
|
|
|
|`obj["topology"]["default_link_weight"]`|`obj["topology"]["default"]["weight"]`|Links default weight.|number|
|
|
|
|`obj["topology"]["default_queue_length"]`|`obj["topology"]["default"]["max_queue_size"]`|Links default maximum queue length.|number|
|
|
|
|`obj["topology"]["auto_gw_arp"]`|`obj["topology"]["default"]["auto_gw_arp"]`|Populate the ARP table of hosts with the default gateway MAC address. This prevents the exchange of ARP requests among hosts and default gateway.|boolean|
|
|
|
|`obj["topology"]["auto_arp_tables"]`|`obj["topology"]["default"]["auto_arp_tables"]`|Populate the ARP table of hosts with the MAC addresses of all the hosts in the same subnet. This prevents the exchange of ARP requests among hosts.|boolean|
|
|
|
|`obj["topology"]["default_delay"]`|`obj["topology"]["default"]["delay"]`|Links default transmission delay (ms).|If not specified, no delay is set.|number|
|
|
|
|`obj["topology"]["default_bw"]`|`obj["topology"]["default"]["bw"]`|Links default bandwidth (Mbps).|If not specified, no bandwidth limit is set.|number|
|
|
|
|`obj["topology"]["default_loss"]`|`obj["topology"]["default"]["loss"]`|Links default loss.|If not specified, no loss will be set.|number|
|
|
|
|`obj["topology"]["default_link_weight"]`|`obj["topology"]["default"]["weight"]`|Links default weight.|If not specified, link weight is set to `1`.|number|
|
|
|
|`obj["topology"]["default_queue_length"]`|`obj["topology"]["default"]["max_queue_size"]`|Links default maximum queue length.|If not specified, no maximum queue size will be set.|number|
|
|
|
|`obj["topology"]["auto_gw_arp"]`|`obj["topology"]["default"]["auto_gw_arp"]`|Populate the ARP table of hosts with the default gateway MAC address. This prevents the exchange of ARP requests among hosts and default gateway.|If not specified, it is set to `true`.|boolean|
|
|
|
|`obj["topology"]["auto_arp_tables"]`|`obj["topology"]["default"]["auto_arp_tables"]`|Populate the ARP table of hosts with the MAC addresses of all the hosts in the same subnet. This prevents the exchange of ARP requests among hosts.|If not specified, it is set to `true`.|boolean|
|
|
|
|`obj["topology"]["switches"][<switch_name>]["program"]`|`obj["topology"]["switches"][<switch_name>]["p4_src"]`|Switch-specific P4 source.|If not specified, the source from `obj["p4_src"]` will be used.|string|
|
|
|
|
|
|
### Python Network Configuration |