Files
openairinterface5g/openair3/EMULATIONS/INTER/chorist_inter.xml
T
2013-06-25 09:05:02 +00:00

114 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--DOCTYPE vnuml SYSTEM "/usr/local/share/xml/vnuml/vnuml.dtd"-->
<!DOCTYPE vnuml SYSTEM "/packages/vnuml_1.8.3/share/xml/vnuml/vnuml.dtd">
<!--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vnuml SYSTEM "/packages/vnuml_1.8.3/share/xml/vnuml/vnuml.dtd">
This file describe the Wireless Mesh Network topology for Chorist Project
Author:
Huu-Nghia.Nguyen@eurecom.fr
Christian.Bonnet@eurecom.fr
-->
<vnuml>
<global>
<version>1.8</version>
<simulation_name>chorist_inter</simulation_name>
<automac/>
<vm_mgmt type="none" />
<vm_defaults exec_mode="mconsole">
<filesystem type="cow">/home/Local_Data/nguyenhn/airnet/root_fs.fc6</filesystem>
<kernel>/home/Local_Data/nguyenhn/airnet/linux</kernel>
<!--
<filesystem type="cow">/home/all/root_fs.fc6</filesystem>
<kernel>/home/all/linux</kernel>
-->
<console id="0">xterm</console>
<console id="1">pts</console>
<console id="2">pts</console>
<console id="3">pts</console>
<console id="4">pts</console>
<console id="5">pts</console>
</vm_defaults>
</global>
<net name="C1" mode="uml_switch" hub="no" />
<net name="C2" mode="uml_switch" hub="no" />
<net name="MR1.0" mode="uml_switch" hub="yes" />
<net name="MR2.0" mode="uml_switch" hub="yes" />
<net name="MN1.0" mode="uml_switch" hub="yes" />
<net name="MN2.0" mode="uml_switch" hub="yes" />
<!-- Correspondent Node -->
<vm name="RELAY">
<if id="0" net="C1">
<ipv6>2001:100::3/64</ipv6>
</if>
<if id="1" net="C2">
<ipv6>2001:200::3/64</ipv6>
</if>
</vm>
<!-- Cluster Heads -->
<vm name="CH1">
<if id="0" net="C1">
<ipv6>2001:100::1/64</ipv6>
</if>
<route type="ipv6" gw="2001:100::3">2001:200::/64</route> <!-- forward to RELAY to Cluster2-->
<route type="ipv6" gw="2001:100::2">2001:1::1/128</route> <!-- forward to MR1 to MR1.IF0 -->
<forwarding type="ip"/>
</vm>
<vm name="CH2">
<if id="0" net="C2">
<ipv6>2001:200::1/64</ipv6>
</if>
<route type="ipv6" gw="2001:200::3">2001:100::/64</route> <!-- forward to RELAY to Cluster1-->
<route type="ipv6" gw="2001:200::2">2001:1::2/128</route> <!-- forward to MR1 to MR2.IF0 -->
<forwarding type="ip"/>
</vm>
<!-- Mobile Routers-->
<vm name="MR1">
<if id="1" net="C1">
<ipv6>2001:100::2/64</ipv6>
</if>
<if id="0" net="MR1.0">
<ipv6>2001:1::1/64</ipv6>
</if>
<route type="ipv6" gw="2001:100::1">default</route> <!-- default gateway is CH1.IF0 -->
<forwarding type="ip"/>
</vm>
<vm name="MR2">
<if id="1" net="C2">
<ipv6>2001:200::2/64</ipv6>
</if>
<if id="0" net="MR2.0">
<ipv6>2001:1::2/64</ipv6>
</if>
<route type="ipv6" gw="2001:200::1">default</route> <!-- default gateway is CH2.IF0 -->
<forwarding type="ip"/>
</vm>
<!-- Mobile Nodes -->
<vm name="MN1">
<if id="0" net="MN1.0">
</if>
</vm>
<vm name="MN2">
<if id="0" net="MN2.0">
</if>
</vm>
</vnuml>