Pre-ci test passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
107 lines
3.0 KiB
XML
107 lines
3.0 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</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="Inter" mode="uml_switch" hub="yes" />
|
|
<net name="CH.0" mode="uml_switch" hub="yes"/>
|
|
<net name="MR1.1" mode="uml_switch" hub="yes" />
|
|
<net name="MR2.1" mode="uml_switch" hub="yes" />
|
|
<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="CN">
|
|
<if id="0" net="Inter">
|
|
<ipv6>2000::1/64</ipv6>
|
|
</if>
|
|
<route type="ipv6" gw="2000::2">2001::/16</route>
|
|
</vm>
|
|
|
|
<!-- Cluster Heads -->
|
|
<vm name="CH">
|
|
<if id="1" net="Inter">
|
|
<ipv6>2000::2/64</ipv6>
|
|
</if>
|
|
<if id="0" net="CH.0">
|
|
<ipv6>2001:100::1/64</ipv6>
|
|
</if>
|
|
|
|
<route type="ipv6" gw="2001:100::2">2001:1::1/128</route> <!-- forward to MR1 -->
|
|
<route type="ipv6" gw="2001:100::3">2001:1::2/128</route> <!-- forward to MR2 -->
|
|
<route type="ipv6" gw="2000::2">2000::/16</route> <!-- forward through CH.1-->
|
|
|
|
<forwarding type="ip"/>
|
|
</vm>
|
|
|
|
<!-- Mobile Routers-->
|
|
<vm name="MR1">
|
|
<if id="1" net="MR1.1">
|
|
<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 CH.IF0 -->
|
|
<forwarding type="ip"/>
|
|
</vm>
|
|
|
|
<vm name="MR2">
|
|
<if id="1" net="MR2.1">
|
|
<ipv6>2001:100::3/64</ipv6>
|
|
</if>
|
|
<if id="0" net="MR2.0">
|
|
<ipv6>2001:1::2/64</ipv6>
|
|
</if>
|
|
<route type="ipv6" gw="2001:100::1">default</route> <!-- default gateway is CH.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>
|
|
|