-
Notifications
You must be signed in to change notification settings - Fork 0
/
schc-ping.xml
125 lines (125 loc) · 5.13 KB
/
schc-ping.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version='1.0' encoding='UTF-8'?>
<scenario name="/tmp/tmpqmacxjn0">
<networks/>
<devices>
<device id="1" name="device" icon="" canvas="1" type="PC" class="" image="">
<position x="154.0" y="348.0" lat="47.57600311523808" lon="-122.13024911044367" alt="2.0"/>
<configservices>
<service name="DefaultRoute"/>
</configservices>
</device>
<device id="2" name="core" icon="" canvas="1" type="PC" class="" image="">
<position x="457.0" y="348.0" lat="47.57600311523808" lon="-122.12616626747733" alt="2.0"/>
<configservices>
<service name="StaticRoute"/>
<service name="DefaultRoute"/>
</configservices>
</device>
<device id="3" name="App" icon="" canvas="1" type="PC" class="" image="">
<position x="765.0" y="348.0" lat="47.57600311523808" lon="-122.12201605086472" alt="2.0"/>
<configservices>
<service name="StaticRoute"/>
<service name="DefaultRoute"/>
</configservices>
</device>
</devices>
<links>
<link node1="1" node2="2">
<iface1 id="0" name="eth0" mac="00:00:00:aa:00:00" ip4="10.0.0.20" ip4_mask="24" ip6="aaaa::1" ip6_mask="64"/>
<iface2 id="0" name="eth0" mac="00:00:00:aa:00:01" ip4="10.0.0.21" ip4_mask="24"/>
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/>
</link>
<link node1="2" node2="3">
<iface1 id="1" name="eth1" mac="00:00:00:aa:00:02" ip4="10.0.1.20" ip4_mask="24" ip6="2001:0:0:1::14" ip6_mask="64"/>
<iface2 id="0" name="eth0" mac="00:00:00:aa:00:03" ip4="10.0.1.21" ip4_mask="24" ip6="2001:0:0:1::15" ip6_mask="64"/>
<options delay="0" bandwidth="0" loss="0.0" dup="0" jitter="0" unidirectional="0" buffer="0"/>
</link>
</links>
<configservice_configurations>
<service name="DefaultRoute" node="1">
<templates>
<template name="defaultroute.sh"><![CDATA[#!/bin/sh
# auto-generated by DefaultRoute service
ip route add default via 10.0.0.1
#ip route add default via aaaa::1
]]></template>
</templates>
</service>
<service name="StaticRoute" node="2">
<templates>
<template name="staticroute.sh"><![CDATA[#!/bin/sh
# auto-generated by StaticRoute service (utility.py)
# NOTE: this service must be customized to be of any use
# Below are samples that you can uncomment and edit.
#ip route add 10.9.8.0/24 via 10.0.0.1
#ip route add 3ffe:4::/64 via aaaa::1
#ip route add 10.9.8.0/24 via 10.0.1.1
#ip route add 3ffe:4::/64 via 2001:0:0:1::1
ip route add blackhole aaaa::/32
]]></template>
</templates>
</service>
<service name="DefaultRoute" node="2"/>
<service name="StaticRoute" node="3">
<templates>
<template name="staticroute.sh"><![CDATA[#!/bin/sh
# auto-generated by StaticRoute service (utility.py)
# NOTE: this service must be customized to be of any use
# Below are samples that you can uncomment and edit.
#ip route add 10.9.8.0/24 via 10.0.1.1
#ip route add 3ffe:4::/64 via 2001:0:0:1::1
ip route add aaaa::/32 via 2001:0:0:1::14
]]></template>
</templates>
</service>
<service name="DefaultRoute" node="3"/>
</configservice_configurations>
<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="0"/>
<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"/>
<configuration name="mtu" value="0"/>
</session_options>
<session_metadata>
<configuration name="shapes" value="[]"/>
<configuration name="edges" value="[]"/>
<configuration name="hidden" value="[]"/>
<configuration name="canvas" value="{"gridlines": true, "canvases": [{"id": 1, "wallpaper": "fond-simu.png", "wallpaper_style": 0, "fit_image": true, "dimensions": [920, 435]}]}"/>
</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>