--- a
+++ b/examples/FatTreeTopology/config.xml
@@ -0,0 +1,171 @@
+<?xml version="1.0"?>
+<Configuration>
+ <Server id="Server1">
+ <IPC id="ipcProcess1">
+ <RA>
+ <Flows>
+ <Flow apn="TOR1_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Server>
+ <Server id="Server2">
+ <IPC id="ipcProcess1">
+ <RA>
+ <Flows>
+ <Flow apn="TOR1_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Server>
+ <Server id="Server3">
+ <IPC id="ipcProcess1">
+ <RA>
+ <Flows>
+ <Flow apn="TOR2_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Server>
+ <Server id="Server4">
+ <IPC id="ipcProcess1">
+ <RA>
+ <Flows>
+ <Flow apn="TOR2_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Server>
+ <Switch id="TOR1">
+ <IPC id="relayIpc">
+ <RA>
+ <Flows>
+ <Flow apn="AS1_DC" qosCube="1"/>
+ <Flow apn="AS2_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Switch>
+ <Switch id="TOR2">
+ <IPC id="relayIpc">
+ <RA>
+ <Flows>
+ <Flow apn="AS1_DC" qosCube="1"/>
+ <Flow apn="AS2_DC" qosCube="1"/>
+ </Flows>
+ </RA>
+ </IPC>
+ </Switch>
+ <Switch id="AS1">
+ <!--
+ This contains the whole mapping of the network.
+ It can be used to the Dif Allocator of every element.
+ -->
+ <DA>
+ <Directory>
+ <!--
+ How the DIF name are formatted?
+ They contain, for reading purposes, the initial letter of the "upper"
+ element in the simulation and the initial letter of the "bottom" element.
+ Example: A1T1 means Aggregator1 to Tor1.
+ -->
+
+ <!-- Aggregator side naming of the Shims -->
+ <APN apn="AS1_DC">
+ <DIF difName="A1T1" ipcAddress="1"/>
+ <DIF difName="A1T2" ipcAddress="1"/>
+ </APN>
+ <APN apn="AS2_DC">
+ <DIF difName="A2T1" ipcAddress="1"/>
+ <DIF difName="A2T2" ipcAddress="1"/>
+ </APN>
+
+ <!-- TOR side naming of the Shims -->
+ <APN apn="TOR1_DC">
+ <DIF difName="A1T1" ipcAddress="2"/>
+ <DIF difName="A2T1" ipcAddress="2"/>
+
+ <DIF difName="T1S1" ipcAddress="1"/>
+ <DIF difName="T1S2" ipcAddress="1"/>
+ </APN>
+ <APN apn="TOR2_DC">
+ <DIF difName="A1T2" ipcAddress="2"/>
+ <DIF difName="A2T2" ipcAddress="2"/>
+
+ <DIF difName="T2S3" ipcAddress="1"/>
+ <DIF difName="T2S4" ipcAddress="1"/>
+ </APN>
+
+ <!-- Server side naming of the Shims -->
+ <APN apn="S1_DC">
+ <DIF difName="T1S1" ipcAddress="2"/>
+ </APN>
+ <APN apn="S2_DC">
+ <DIF difName="T1S2" ipcAddress="2"/>
+ </APN>
+ <APN apn="S3_DC">
+ <DIF difName="T2S3" ipcAddress="2"/>
+ </APN>
+ <APN apn="S4_DC">
+ <DIF difName="T2S4" ipcAddress="2"/>
+ </APN>
+
+ <!-- AE side naming of the DC IPCs -->
+ <APN apn="App1">
+ <DIF difName="DC" ipcAddress="S1"/>
+ </APN>
+ <APN apn="App2">
+ <DIF difName="DC" ipcAddress="S2"/>
+ </APN>
+ <APN apn="App3">
+ <DIF difName="DC" ipcAddress="S3"/>
+ </APN>
+ <APN apn="App4">
+ <DIF difName="DC" ipcAddress="S4"/>
+ </APN>
+ </Directory>
+ </DA>
+ </Switch>
+ <Switch id="AS2">
+ </Switch>
+ <QoSCubesSet>
+ <QosCube id="1">
+ <AverageBandwidth>12000000</AverageBandwidth>
+ <AverageSDUBandwidth>1000</AverageSDUBandwidth>
+ <PeakBandwidthDuration>24000000</PeakBandwidthDuration>
+ <PeakSDUBandwidthDuration>2000</PeakSDUBandwidthDuration>
+ <BurstPeriod>10000000</BurstPeriod>
+ <BurstDuration>1000000</BurstDuration>
+ <UndetectedBitError>0.01</UndetectedBitError>
+ <MaxSDUSize>1500</MaxSDUSize>
+ <PartialDelivery>0</PartialDelivery>
+ <IncompleteDelivery>0</IncompleteDelivery>
+ <ForceOrder>0</ForceOrder>
+ <MaxAllowableGap>10</MaxAllowableGap>
+ <Delay>1000000</Delay>
+ <Jitter>500000</Jitter>
+ <CostTime>0</CostTime>
+ <CostBits>0</CostBits>
+ <ATime>0</ATime>
+ </QosCube>
+ <QosCube id="2">
+ <AverageBandwidth>12000000</AverageBandwidth>
+ <AverageSDUBandwidth>1000</AverageSDUBandwidth>
+ <PeakBandwidthDuration>24000000</PeakBandwidthDuration>
+ <PeakSDUBandwidthDuration>2000</PeakSDUBandwidthDuration>
+ <BurstPeriod>10000000</BurstPeriod>
+ <BurstDuration>1000000</BurstDuration>
+ <UndetectedBitError>0.01</UndetectedBitError>
+ <MaxSDUSize>1500</MaxSDUSize>
+ <PartialDelivery>0</PartialDelivery>
+ <IncompleteDelivery>0</IncompleteDelivery>
+ <ForceOrder>1</ForceOrder>
+ <MaxAllowableGap>10</MaxAllowableGap>
+ <Delay>1000000</Delay>
+ <Jitter>500000</Jitter>
+ <CostTime>0</CostTime>
+ <CostBits>0</CostBits>
+ <ATime>0</ATime>
+ </QosCube>
+ </QoSCubesSet>
+</Configuration>