Created
October 26, 2021 01:39
-
-
Save senderic/a9582c0ef7750c345e6459c3b9685a73 to your computer and use it in GitHub Desktop.
Example XML for CORE mac learning issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<scenario name="/tmp/tmprh7nfpq6"> | |
<networks> | |
<network id="1" name="s-n1" icon="" canvas="0" type="SWITCH"> | |
<position x="391.0" y="102.0" lat="47.578239258859554" lon="-122.12705559960862" alt="2.0"/> | |
</network> | |
<network id="2" name="h-n2" icon="" canvas="0" type="HUB"> | |
<position x="202.0" y="102.0" lat="47.578239258859554" lon="-122.12960232343909" alt="2.0"/> | |
</network> | |
</networks> | |
<devices> | |
<device id="3" name="p-n3" icon="" canvas="0" type="PC" class="" image=""> | |
<position x="47.0" y="102.0" lat="47.578239258859554" lon="-122.13169090647467" alt="2.0"/> | |
<services> | |
<service name="DefaultRoute"/> | |
</services> | |
</device> | |
<device id="4" name="r-n4" icon="" canvas="0" type="router" class="" image=""> | |
<position x="391.0" y="238.0" lat="47.57700302866145" lon="-122.12705559960862" alt="2.0"/> | |
<services> | |
<service name="OSPFv2"/> | |
<service name="IPForward"/> | |
<service name="zebra"/> | |
<service name="OSPFv3"/> | |
</services> | |
</device> | |
<device id="5" name="h-n5" icon="" canvas="0" type="host" class="" image=""> | |
<position x="391.0" y="410.0" lat="47.57543951925786" lon="-122.12705559960862" alt="2.0"/> | |
<services> | |
<service name="SSH"/> | |
<service name="DefaultRoute"/> | |
</services> | |
</device> | |
</devices> | |
<links> | |
<link node1="1" node2="2"> | |
<iface2 id="0" name="veth2.1.1"/> | |
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/> | |
</link> | |
<link node1="1" node2="4"> | |
<iface2 id="0" name="eth0" ip4="10.0.0.1" ip4_mask="24" ip6="2001::1" ip6_mask="64"/> | |
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/> | |
</link> | |
<link node1="2" node2="3"> | |
<iface2 id="0" name="eth0" ip4="10.0.0.20" ip4_mask="24" ip6="2001::14" ip6_mask="64"/> | |
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/> | |
</link> | |
<link node1="4" node2="5"> | |
<iface1 id="1" name="eth1" ip4="10.0.1.1" ip4_mask="24" ip6="2001:0:0:1::1" ip6_mask="64"/> | |
<iface2 id="0" name="eth0" ip4="10.0.1.20" ip4_mask="24" ip6="2001:0:0:1::14" ip6_mask="64"/> | |
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/> | |
</link> | |
</links> | |
<emane_global_configuration> | |
<emulator/> | |
<core> | |
<configuration name="platform_id_start" value="1"/> | |
<configuration name="nem_id_start" value="1"/> | |
<configuration name="link_enabled" value="1"/> | |
<configuration name="loss_threshold" value="30"/> | |
<configuration name="link_interval" value="1"/> | |
<configuration name="link_timeout" value="4"/> | |
</core> | |
</emane_global_configuration> | |
<session_origin lat="47.579166412353516" lon="-122.13232421875" alt="2.0" scale="150.0"/> | |
<session_options> | |
<configuration name="controlnet" value=""/> | |
<configuration name="controlnet0" value=""/> | |
<configuration name="controlnet1" value=""/> | |
<configuration name="controlnet2" value=""/> | |
<configuration name="controlnet3" value=""/> | |
<configuration name="controlnet_updown_script" value=""/> | |
<configuration name="enablerj45" value="1"/> | |
<configuration name="preservedir" value="0"/> | |
<configuration name="enablesdt" value="0"/> | |
<configuration name="sdturl" value="tcp://127.0.0.1:50000/"/> | |
<configuration name="ovs" value="1"/> | |
</session_options> | |
<session_metadata> | |
<configuration name="edges" value="[]"/> | |
<configuration name="hidden" value="[]"/> | |
<configuration name="shapes" value="[]"/> | |
<configuration name="canvas" value="{"gridlines": true, "dimensions": [1000, 750], "canvases": [{"id": 1, "wallpaper": null, "wallpaper_style": 1, "fit_image": false}]}"/> | |
</session_metadata> | |
<default_services> | |
<node type="mdr"> | |
<service name="zebra"/> | |
<service name="OSPFv3MDR"/> | |
<service name="IPForward"/> | |
</node> | |
<node type="PC"> | |
<service name="DefaultRoute"/> | |
</node> | |
<node type="prouter"/> | |
<node type="router"> | |
<service name="zebra"/> | |
<service name="OSPFv2"/> | |
<service name="OSPFv3"/> | |
<service name="IPForward"/> | |
</node> | |
<node type="host"> | |
<service name="DefaultRoute"/> | |
<service name="SSH"/> | |
</node> | |
</default_services> | |
</scenario> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment