1. Marcin Mincer
  2. inet

Commits

Marcin Mincer  committed edc1cff

walka trwa

  • Participants
  • Parent commits 7122670
  • Branches default

Comments (0)

Files changed (50)

File examples/mpls/sikora/3demands/LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+</fectable>

File examples/mpls/sikora/3demands/LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+</sessions>

File examples/mpls/sikora/3demands/_states.xml

View file
+<?xml version="1.0"?>
+<states>
+        <eas>
+                <id>1</id>
+                <power>16</power>
+                <datarate>200</datarate>
+        </eas>
+        <eas>
+                <id>2</id>
+                <power>32</power>
+                <datarate>400</datarate>
+        </eas>  
+        <eas>
+                <id>3</id>
+                <power>48</power>
+                <datarate>600</datarate>
+        </eas>
+        <eas>
+                <id>4</id>
+                <power>64</power>
+                <datarate>800</datarate>
+        </eas>
+        <eas>
+                <id>5</id>
+                <power>80</power>
+                <datarate>1000</datarate>
+        </eas>      
+        <eas>
+                <id>0</id>
+                <power>1</power>
+                <datarate>20</datarate>
+        </eas>    
+</states>

File examples/mpls/sikora/LSR1.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.1.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.1.2	MTU: 1500	Metric: 1
+name: ppp2	inet_addr: 10.1.1.3	MTU: 1500	Metric: 1
+name: ppp3	inet_addr: 10.1.1.4	MTU: 1500	Metric: 1
+name: ppp4	inet_addr: 10.1.1.5	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.2.1	10.1.2.1   	255.255.255.255 H	0	ppp0
+10.1.3.1	10.1.3.1   	255.255.255.255 H	0	ppp1
+10.0.2.1	10.0.2.1	255.255.255.255	H	0	ppp2
+10.0.1.1	10.0.1.1	255.255.255.255	H	0	ppp3
+10.0.3.1	10.0.3.1	255.255.255.255	H	0	ppp4
+routeend.

File examples/mpls/sikora/LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.2.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<lnode>10.1.6.1</lnode>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000</bandwidth>
+
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/LSR2.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.2.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.2.2	MTU: 1500	Metric: 1
+name: ppp2	inet_addr: 10.1.2.3	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.1.1	10.1.1.1   	255.255.255.255 H	0	ppp0
+10.1.4.1	10.1.4.1   	255.255.255.255 H	0	ppp1
+10.1.6.1	10.1.6.1   	255.255.255.255 H	0	ppp2
+routeend.

File examples/mpls/sikora/LSR3.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.3.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.3.2	MTU: 1500	Metric: 1
+name: ppp2	inet_addr: 10.1.3.3	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.1.1	10.1.1.2   	255.255.255.255 H	0	ppp0
+10.1.4.1	10.1.4.3   	255.255.255.255 H	0	ppp1
+10.1.7.1	10.1.7.1   	255.255.255.255 H	0	ppp2
+routeend.

File examples/mpls/sikora/LSR4.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.4.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.4.2	MTU: 1500	Metric: 1
+name: ppp2	inet_addr: 10.1.4.3	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.2.1	10.1.2.2   	255.255.255.255 H	0	ppp0
+10.1.5.1	10.1.5.1   	255.255.255.255 H	0	ppp1
+10.1.3.1	10.1.3.2	255.255.255.255	H	0	ppp2
+routeend.

File examples/mpls/sikora/LSR5.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.5.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.5.2	MTU: 1500	Metric: 1
+name: ppp2	inet_addr: 10.1.5.3	MTU: 1500	Metric: 1
+name: ppp3	inet_addr: 10.1.5.4	MTU: 1500	Metric: 1
+name: ppp4	inet_addr: 10.1.5.5	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.4.1	10.1.4.2   	255.255.255.255 H	0	ppp0
+10.2.1.1	10.2.1.1	255.255.255.255	H	0	ppp1
+10.2.2.1	10.2.2.1	255.255.255.255	H	0	ppp2
+10.1.6.1	10.1.6.2	255.255.255.255	H	0	ppp3
+10.1.7.1	10.1.7.2	255.255.255.255	H	0	ppp4
+routeend.

File examples/mpls/sikora/LSR6.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.6.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.6.2	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.2.1	10.1.2.3   	255.255.255.255 H	0	ppp0
+10.1.5.1	10.1.5.4	255.255.255.255	H	0	ppp1
+routeend.

File examples/mpls/sikora/LSR7.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.1.7.1	MTU: 1500	Metric: 1
+name: ppp1	inet_addr: 10.1.7.2	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.3.1	10.1.3.3   	255.255.255.255 H	0	ppp0
+10.1.5.1	10.1.5.5	255.255.255.255	H	0	ppp1
+routeend.

File examples/mpls/sikora/NO_OPT_omnetpp.ini

View file
+[General]
+network = RSVPTE4
+sim-time-limit = 1min
+#cpu-time-limit= 5800000s
+total-stack = 1024MiB
+tkenv-plugin-path = ../../../etc/plugins
+
+**.host{1..2,5}.numTcpApps = 4
+
+
+**.host{1..2,5}.tcpAppType = "TCPSessionApp"
+**.host{1..2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[0].connectPort = 100
+**.host{1..2,5}.tcpApp[0].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[0].tClose = -1s
+**.host{1..2,5}.tcpApp[0].port = 1000
+
+**.host{1..2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[1].connectPort = 100
+**.host{1..2,5}.tcpApp[1].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[1].tClose = -1s
+**.host{1..2,5}.tcpApp[1].port = 1001
+
+
+**.host{1..2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[2].connectPort = 100
+**.host{1..2,5}.tcpApp[2].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[2].tClose = -1s
+**.host{1..2,5}.tcpApp[2].port = 1002
+
+
+**.host{1..2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[3].connectPort = 100
+**.host{1..2,5}.tcpApp[3].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[3].tClose = -1s
+**.host{1..2,5}.tcpApp[3].port = 1003
+
+
+
+
+
+
+
+**.host3.numTcpApps = 1
+**.host3.tcpAppType = "TCPGenericSrvApp"
+**.host3.tcpApp[0].port = 100
+# Ahmet's notes on TCP:
+# 1. Delayed ACKs disabled by default, i.e. every segment received
+#    by the receiver triggers an ACK.
+# 2. If TCP runs "message mode", that is, with
+#    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+#    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+#    app on the receiver side when all 100MB has arrived. In contrast, with
+#    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+#    to the app (as a blank cMessage with the length set).
+#**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+#**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+
+**.LSR1.classifier.conf = xmldoc("LSR1_fec.xml")
+**.LSR1.rsvp.traffic = xmldoc("LSR1_rsvp.xml")
+
+**.LSR*.classifier.conf = xmldoc("_fec.xml")
+**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+**.LSR*.rsvp.helloInterval = 0.2s
+**.LSR*.rsvp.helloTimeout = 0.5s
+**.LSR*.libTable.conf = xmldoc("_lib.xml")
+
+**.ppp[*].queueType = "DropTailQueue" # in routers
+
+**.ppp[*].pppGAL.states = xmldoc("_states.xml")
+**.ppp[*].ppp.eas = 5
+
+**.scenarioManager.script = xmldoc("_scenario.xml")
+
+
+# ip config
+**.host1.routingFile = "host1.rt"
+**.host2.routingFile = "host2.rt"
+**.host3.routingFile = "host3.rt"
+**.host4.routingFile = "host4.rt"
+**.host5.routingFile = "host5.rt"
+
+#**.LSR2.ppp[*].ppp.shutDownTime = "2s"
+#**.LSR4.ppp[*].ppp.shutDownTime = "2s"
+
+**.LSR1.routerId = "10.1.1.1"
+**.LSR1.routingFile = "LSR1.rt"
+
+**.LSR2.routerId = "10.1.2.1"
+**.LSR2.routingFile = "LSR2.rt"
+
+**.LSR3.routerId = "10.1.3.1"
+**.LSR3.routingFile = "LSR3.rt"
+
+**.LSR4.routerId = "10.1.4.1"
+**.LSR4.routingFile = "LSR4.rt"
+
+**.LSR5.routerId = "10.1.5.1"
+**.LSR5.routingFile = "LSR5.rt"
+
+**.LSR6.routerId = "10.1.6.1"
+**.LSR6.routingFile = "LSR6.rt"
+
+**.LSR7.routerId = "10.1.7.1"
+**.LSR7.routingFile = "LSR7.rt"
+
+#**.host{1}.numUdpApps = 1
+#**.host{1}.udpAppType = "UDPBasicApp"
+#**.host{1}.udpApp[0].localPort = 100
+#**.host{1}.udpApp[0].destPort = 100
+#**.host{1}.udpApp[0].messageLength = 128 bytes
+#**.host{1}.udpApp[0].messageFreq = 0.01s
+#**.host{1}.udpApp[0].destAddresses = "10.2.1.1"
+
+#**.host3.numUdpApps = 1
+#**.host3.udpAppType = "UDPSink"
+#**.host3.udpApp[0].localPort = 100
+
+
+
+

File examples/mpls/sikora/README

View file
+The MPLS/RSVP-TE/LDP protocol models have been revised and mostly rebuilt
+from scratch by Vojta Janota since the INET-20050922 release. This network
+already features the new simulation models.
+
+This is a sample to demonstrate various routing mechanism.
+
+Following description refers to the nam trace file genereated by the simulation
+run.
+
+Three LSPs are established on simulation startup.
+
+The green path uses explicit routing with every hop on the path being listed
+explicitly.
+
+The orange one uses explicit routing but only some of the hops are specified
+(1-6-5 in this case).
+
+The brown path uses hop-by-hop routing.

File examples/mpls/sikora/SIKORA.ned

View file
+//
+// This library is free software, you can redistribute it
+// and/or modify
+// it under  the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation;
+// either version 2 of the License, or any later version.
+// The library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+
+
+
+package inet.examples.mpls.sikora;
+
+import inet.networklayer.extras.FailureManager;
+import inet.nodes.inet.StandardHost;
+import inet.nodes.mpls.RSVP_LSR;
+import inet.world.NAMTrace;
+import inet.world.ScenarioManager;
+
+
+//
+// Example network to demonstrate \RSVP-TE.
+//
+// See the README file in the model directory for scenario description.
+//
+network SIKORA
+{
+    submodules:
+        nam: NAMTrace {
+            parameters:
+                @display("p=152,280");
+
+        }
+        routerA1: RSVP_LSR {
+            parameters:
+                peers = "ppp1 ppp2 ppp3";
+                @display("p=253,78");
+            gates:
+                pppg[4];
+        }
+        routerA2: RSVP_LSR {
+            parameters:
+                peers = "ppp1 ppp2 ppp3";
+                @display("p=253,78");
+            gates:
+                pppg[4];
+        }
+        routerA3: RSVP_LSR {
+            parameters:
+                peers = "ppp0 ppp1 ppp2 ppp3 ppp4";
+                @display("p=253,78");
+            gates:
+                pppg[5];
+        }
+        routerA4: RSVP_LSR {
+            parameters:
+                peers = "ppp1 ppp2 ppp3 ppp4";
+                @display("p=358,167");
+            gates:
+                pppg[6];
+        }
+        routerA5: RSVP_LSR {
+            parameters:
+                peers = "ppp1 ppp2";
+                @display("p=460,167");
+            gates:
+                pppg[3];
+        }
+        routerA6: RSVP_LSR {
+            parameters:
+                peers = "ppp1 ppp2";
+                @display("p=400,300");
+            gates:
+                pppg[3];
+        }
+        hostA1: StandardHost { // client
+            parameters:
+                @display("p=71,80;i=device/pc2");
+        }
+        hostA2: StandardHost { // client
+            parameters:
+                @display("p=72,153;i=device/pc2");
+        }       
+        hostA4: StandardHost { // client
+            parameters:
+                @display("p=72,153;i=device/pc2");
+        }
+        hostA5: StandardHost { // client
+            parameters:
+                @display("p=72,153;i=device/pc2");
+        }
+        hostA6: StandardHost { // client
+            parameters:
+               @display("p=71,80;i=device/pc2");
+        }
+        
+    connections:
+        hostA1.pppg++ <--> {  delay = 0ms; datarate = 10Gbps; } <--> routerA1.pppg[0];
+        hostA2.pppg++ <--> {  delay = 0ms; datarate = 10Gbps; } <--> routerA2.pppg[0];
+        hostA4.pppg++ <--> {  delay = 0ms; datarate = 10Gbps; } <--> routerA4.pppg[0];
+        hostA5.pppg++ <--> {  delay = 0ms; datarate = 10Gbps; } <--> routerA5.pppg[0];
+        hostA6.pppg++ <--> {  delay = 0ms; datarate = 10Gbps; } <--> routerA6.pppg[0];
+        routerA1.pppg[1] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA2.pppg[1];
+        routerA1.pppg[2] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA3.pppg[0];
+        routerA1.pppg[3] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA4.pppg[1];
+        routerA2.pppg[2] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA4.pppg[2];
+        routerA2.pppg[3] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA3.pppg[1];
+        routerA3.pppg[2] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA4.pppg[3];
+        routerA3.pppg[3] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA5.pppg[1];
+        routerA3.pppg[4] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA6.pppg[1];
+        routerA4.pppg[4] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA5.pppg[2];
+        routerA4.pppg[5] <--> {  delay = 5ms; datarate = 10Gbps; } <--> routerA6.pppg[1];
+}
+

File examples/mpls/sikora/_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+</fectable>

File examples/mpls/sikora/_lib.xml

View file
+<?xml version="1.0"?>
+<libtable>
+</libtable>

File examples/mpls/sikora/_scenario.xml

View file
+<?xml version="1.0"?>
+<scenario>
+</scenario>

File examples/mpls/sikora/_states.xml

View file
+<?xml version="1.0"?>
+<states>
+        <eas>
+                <id>1</id>
+                <power>1</power>
+                <datarate>2000000</datarate>
+        </eas>
+        <eas>
+                <id>2</id>
+                <power>2</power>
+                <datarate>4000000</datarate>
+        </eas>  
+        <eas>
+                <id>3</id>
+                <power>3</power>
+                <datarate>6000000</datarate>
+        </eas>
+        <eas>
+                <id>4</id>
+                <power>4</power>
+                <datarate>8000000</datarate>
+        </eas>
+        <eas>
+                <id>5</id>
+                <power>5</power>
+                <datarate>10000000</datarate>
+        </eas>      
+        <eas>
+                <id>0</id>
+                <power>0.1</power>
+                <datarate>200000</datarate>
+        </eas>    
+</states>

File examples/mpls/sikora/_traffic.xml

View file
+<?xml version="1.0"?>
+<sessions>
+</sessions>

File examples/mpls/sikora/host1.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.0.1.1	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.1.1	*		255.255.255.255	H	0	ppp0
+default:	10.1.1.1	0.0.0.0		G	0	ppp0
+routeend.
+

File examples/mpls/sikora/host2.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.0.2.1	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.1.1	*		255.255.255.255	H	0	ppp0
+default:	10.1.1.1	0.0.0.0		G	0	ppp0
+routeend.
+

File examples/mpls/sikora/host3.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.2.1.1	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.5.1	*		255.255.255.255	H	0	ppp0
+default:	10.1.5.1	0.0.0.0		G	0	ppp0
+routeend.
+

File examples/mpls/sikora/host4.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.2.2.1	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.5.1	*		255.255.255.255	H	0	ppp0
+default:	10.1.5.1	0.0.0.0		G	0	ppp0
+routeend.
+

File examples/mpls/sikora/host5.rt

View file
+ifconfig:
+name: ppp0	inet_addr: 10.0.3.1	MTU: 1500	Metric: 1
+ifconfigend.
+
+route:
+10.1.1.1	*		255.255.255.255	H	0	ppp0
+default:	10.1.1.1	0.0.0.0		G	0	ppp0
+routeend.
+

File examples/mpls/sikora/networkMM.ini

View file
+[General]
+network = RSVPTE4
+sim-time-limit = 25s
+#cpu-time-limit= 5800000s
+total-stack = 1024MiB
+tkenv-plugin-path = ../../../etc/plugins
+
+**.**.ppp[*].ppp.useLPI = false
+# **.host{1..2,5,3,4}.ppp[*].ppp.useLPI = false
+
+####### TCP APPS #########################################################
+
+**.host{1,2,5}.numTcpApps = 4
+
+**.host{1,2,5}.tcpAppType = "TCPSessionApp"
+**.host{1,2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[0].connectPort = 100
+**.host{1,2,5}.tcpApp[0].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[0].tClose = -1s
+**.host{1,2,5}.tcpApp[0].port = 1000
+
+**.host{1,2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[1].connectPort = 100
+**.host{1,2,5}.tcpApp[1].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[1].tClose = -1s
+**.host{1,2,5}.tcpApp[1].port = 1001
+
+
+**.host{1,2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[2].connectPort = 100
+**.host{1,2,5}.tcpApp[2].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[2].tClose = -1s
+**.host{1,2,5}.tcpApp[2].port = 1002
+
+
+**.host{1,2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[3].connectPort = 100
+**.host{1,2,5}.tcpApp[3].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[3].tClose = -1s
+**.host{1,2,5}.tcpApp[3].port = 1003
+
+**.host3.numTcpApps = 1
+**.host3.tcpAppType = "TCPSinkApp"
+**.host3.tcpApp[0].port = 100
+
+####### TCP APPS END #########################################################
+# Ahmet's notes on TCP:
+# 1. Delayed ACKs disabled by default, i.e. every segment received
+#    by the receiver triggers an ACK.
+# 2. If TCP runs "message mode", that is, with
+#    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+#    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+#    app on the receiver side when all 100MB has arrived. In contrast, with
+#    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+#    to the app (as a blank cMessage with the length set).
+#**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+#**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+
+
+**.LSR1.classifier.conf = xmldoc("networkMM/LSR1_fec.xml")
+**.LSR1.rsvp.traffic = xmldoc("networkMM/LSR1_rsvp.xml")
+**.LSR*.classifier.conf = xmldoc("_fec.xml")
+**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+
+**.LSR*.rsvp.helloInterval = 0.2s
+**.LSR*.rsvp.helloTimeout = 0.5s
+**.LSR*.libTable.conf = xmldoc("_lib.xml")
+
+**.ppp[*].queueType = "DropTailQueue" # in routers
+
+**.ppp[*].pppGAL.states = xmldoc("networkMM/_states.xml")
+
+## setup states
+
+**.host1.ppp[0].ppp.eas = 2
+**.LSR1.ppp[3].ppp.eas = 2
+**.host2.ppp[0].ppp.eas = 2
+**.LSR1.ppp[2].ppp.eas = 2
+**.host5.ppp[0].ppp.eas = 2
+**.LSR1.ppp[4].ppp.eas = 2
+**.LSR3.ppp[0].ppp.eas = 5
+**.LSR1.ppp[1].ppp.eas = 5
+**.LSR3.ppp[2].ppp.eas = 5
+**.LSR7.ppp[0].ppp.eas = 5
+**.LSR5.ppp[4].ppp.eas = 5
+**.LSR7.ppp[1].ppp.eas = 5
+**.host3.ppp[0].ppp.eas = 5
+**.LSR5.ppp[1].ppp.eas = 5
+
+
+# NO NEED TO SHUT DOWN, DEFAULT STATE IS 0, SO IF NOT TURN ON, CARD IS SHUT DOWN 
+
+
+**.scenarioManager.script = xmldoc("_scenario.xml")
+# ip config
+**.host1.routingFile = "host1.rt"
+**.host2.routingFile = "host2.rt"
+**.host3.routingFile = "host3.rt"
+**.host4.routingFile = "host4.rt"
+**.host5.routingFile = "host5.rt"
+
+**.LSR1.routerId = "10.1.1.1"
+**.LSR1.routingFile = "LSR1.rt"
+
+**.LSR2.routerId = "10.1.2.1"
+**.LSR2.routingFile = "LSR2.rt"
+
+**.LSR3.routerId = "10.1.3.1"
+**.LSR3.routingFile = "LSR3.rt"
+
+**.LSR4.routerId = "10.1.4.1"
+**.LSR4.routingFile = "LSR4.rt"
+
+**.LSR5.routerId = "10.1.5.1"
+**.LSR5.routingFile = "LSR5.rt"
+
+**.LSR6.routerId = "10.1.6.1"
+**.LSR6.routingFile = "LSR6.rt"
+
+**.LSR7.routerId = "10.1.7.1"
+**.LSR7.routingFile = "LSR7.rt"
+
+
+

File examples/mpls/sikora/networkMM/LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/networkMM/LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.7.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.7.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.7.1</node>
+					<node>10.1.5.1</node>
+				</route>
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/networkMM/_states.xml

View file
+<?xml version="1.0"?>
+<states>
+        <eas>
+                <id>1</id>
+                <power>16</power>
+                <datarate>200000</datarate>
+        </eas>
+        <eas>
+                <id>2</id>
+                <power>32</power>
+                <datarate>400000</datarate>
+        </eas>  
+        <eas>
+                <id>3</id>
+                <power>48</power>
+                <datarate>600000</datarate>
+        </eas>
+        <eas>
+                <id>4</id>
+                <power>64</power>
+                <datarate>800000</datarate>
+        </eas>
+        <eas>
+                <id>5</id>
+                <power>80</power>
+                <datarate>1000000</datarate>
+        </eas>      
+        <eas>
+                <id>0</id>
+                <power>1</power>
+                <datarate>20000</datarate>
+        </eas>    
+</states>

File examples/mpls/sikora/networkMM2.ini

View file
+[General]
+network = RSVPTE4
+sim-time-limit = 25s
+#cpu-time-limit= 5800000s
+total-stack = 1024MiB
+tkenv-plugin-path = ../../../etc/plugins
+
+**.**.ppp[*].ppp.useLPI = false
+# **.host{1..2,5,3,4}.ppp[*].ppp.useLPI = false
+
+####### TCP APPS #########################################################
+
+**.host{2,5}.numTcpApps = 4
+**.host{1}.numTcpApps = 5
+
+**.host{1,2,5}.tcpAppType = "TCPSessionApp"
+**.host{1,2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[0].connectPort = 100
+**.host{1,2,5}.tcpApp[0].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[0].tClose = -1s
+**.host{1,2,5}.tcpApp[0].port = 1000
+
+**.host{1,2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[1].connectPort = 100
+**.host{1,2,5}.tcpApp[1].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[1].tClose = -1s
+**.host{1,2,5}.tcpApp[1].port = 1001
+
+
+**.host{1,2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[2].connectPort = 100
+**.host{1,2,5}.tcpApp[2].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[2].tClose = -1s
+**.host{1,2,5}.tcpApp[2].port = 1002
+
+
+**.host{1,2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[3].connectPort = 100
+**.host{1,2,5}.tcpApp[3].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[3].tClose = -1s
+**.host{1,2,5}.tcpApp[3].port = 1003
+
+**.host{1}.tcpApp[4].connectAddress = "10.2.1.1"
+**.host{1}.tcpApp[4].connectPort = 100
+**.host{1}.tcpApp[4].sendBytes = 100KiB
+**.host{1}.tcpApp[4].tClose = -1s
+**.host{1}.tcpApp[4].port = 1004
+
+**.host3.numTcpApps = 1
+**.host3.tcpAppType = "TCPSinkApp"
+**.host3.tcpApp[0].port = 100
+
+# demand 5 h3 -> 100 -> h5
+# demand 5 h3 -> 100 -> h1
+
+**.host3.secondNumTcpApps = 2
+**.host3.secondTcpAppType = "TCPSessionApp"
+**.host{3}.secondTcpApp[0].connectAddress = "10.0.3.1"
+**.host{3}.secondTcpApp[0].connectPort = 100
+**.host{3}.secondTcpApp[0].sendBytes = 100KiB
+**.host{3}.secondTcpApp[0].tClose = -1s
+**.host{3}.secondTcpApp[0].port = 1000
+
+
+**.host{3}.secondTcpApp[1].connectAddress = "10.0.1.1"
+**.host{3}.secondTcpApp[1].connectPort = 100
+**.host{3}.secondTcpApp[1].sendBytes = 100KiB
+**.host{3}.secondTcpApp[1].tClose = -1s
+**.host{3}.secondTcpApp[1].port = 1001
+
+**.host{5,1}.secondNumTcpApps = 1
+**.host{5,1}.secondTcpAppType = "TCPSinkApp"
+**.host{5,1}.secondTcpApp[0].port = 100
+
+
+
+####### TCP APPS END #########################################################
+# Ahmet's notes on TCP:
+# 1. Delayed ACKs disabled by default, i.e. every segment received
+#    by the receiver triggers an ACK.
+# 2. If TCP runs "message mode", that is, with
+#    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+#    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+#    app on the receiver side when all 100MB has arrived. In contrast, with
+#    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+#    to the app (as a blank cMessage with the length set).
+#**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+#**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+
+
+**.LSR1.classifier.conf = xmldoc("networkMM2/LSR1_fec.xml")
+**.LSR1.rsvp.traffic = xmldoc("networkMM2/LSR1_rsvp.xml")
+**.LSR5.classifier.conf = xmldoc("networkMM2/LSR5_fec.xml")
+**.LSR5.rsvp.traffic = xmldoc("networkMM2/LSR5_rsvp.xml")
+**.LSR*.classifier.conf = xmldoc("_fec.xml")
+**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+
+**.LSR*.rsvp.helloInterval = 0.2s
+**.LSR*.rsvp.helloTimeout = 0.5s
+**.LSR*.libTable.conf = xmldoc("_lib.xml")
+
+**.ppp[*].queueType = "DropTailQueue" # in routers
+
+**.ppp[*].pppGAL.states = xmldoc("networkMM2/_states.xml")
+
+## setup states
+
+**.host1.ppp[0].ppp.eas = 2
+**.LSR1.ppp[3].ppp.eas = 2
+**.host2.ppp[0].ppp.eas = 2
+**.LSR1.ppp[2].ppp.eas = 2
+**.host5.ppp[0].ppp.eas = 2
+**.LSR1.ppp[4].ppp.eas = 2
+**.LSR3.ppp[0].ppp.eas = 5
+**.LSR1.ppp[1].ppp.eas = 5
+**.LSR3.ppp[1].ppp.eas = 5
+**.LSR4.ppp[1].ppp.eas = 5
+**.LSR5.ppp[0].ppp.eas = 5
+**.LSR4.ppp[2].ppp.eas = 5
+**.host3.ppp[0].ppp.eas = 5
+**.LSR5.ppp[1].ppp.eas = 5
+
+# NO NEED TO SHUT DOWN, DEFAULT STATE IS 0, SO IF NOT TURN ON, CARD IS SHUT DOWN 
+
+
+**.scenarioManager.script = xmldoc("_scenario.xml")
+# ip config
+**.host1.routingFile = "host1.rt"
+**.host2.routingFile = "host2.rt"
+**.host3.routingFile = "host3.rt"
+**.host4.routingFile = "host4.rt"
+**.host5.routingFile = "host5.rt"
+
+**.LSR1.routerId = "10.1.1.1"
+**.LSR1.routingFile = "LSR1.rt"
+
+**.LSR2.routerId = "10.1.2.1"
+**.LSR2.routingFile = "LSR2.rt"
+
+**.LSR3.routerId = "10.1.3.1"
+**.LSR3.routingFile = "LSR3.rt"
+
+**.LSR4.routerId = "10.1.4.1"
+**.LSR4.routingFile = "LSR4.rt"
+
+**.LSR5.routerId = "10.1.5.1"
+**.LSR5.routingFile = "LSR5.rt"
+
+**.LSR6.routerId = "10.1.6.1"
+**.LSR6.routingFile = "LSR6.rt"
+
+**.LSR7.routerId = "10.1.7.1"
+**.LSR7.routingFile = "LSR7.rt"
+
+
+

File examples/mpls/sikora/networkMM2/LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/networkMM2/LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/networkMM2/LSR5_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.0.3.1</destination>
+		<source>10.2.1.1</source>
+
+		<tunnel_id>4</tunnel_id>
+		<lspid>400</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.0.1.1</destination>
+		<source>10.2.1.1</source>
+
+		<tunnel_id>5</tunnel_id>
+		<lspid>500</lspid>
+	</fecentry>
+	
+</fectable>

File examples/mpls/sikora/networkMM2/LSR5_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.0.3.1</endpoint>
+		<tunnel_id>4</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>400</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.5.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.1.1</node>
+				</route>
+				<permanent>true</permanent>
+				<color>400</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.0.1.1</endpoint>
+		<tunnel_id>5</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>500</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.5.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.1.1</node>
+				</route>
+				<permanent>true</permanent>
+				<color>500</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/networkMM2/_states.xml

View file
+<?xml version="1.0"?>
+<states>
+        <eas>
+                <id>1</id>
+                <power>16</power>
+                <datarate>200000</datarate>
+        </eas>
+        <eas>
+                <id>2</id>
+                <power>32</power>
+                <datarate>400000</datarate>
+        </eas>  
+        <eas>
+                <id>3</id>
+                <power>48</power>
+                <datarate>600000</datarate>
+        </eas>
+        <eas>
+                <id>4</id>
+                <power>64</power>
+                <datarate>800000</datarate>
+        </eas>
+        <eas>
+                <id>5</id>
+                <power>80</power>
+                <datarate>1000000</datarate>
+        </eas>      
+        <eas>
+                <id>0</id>
+                <power>1</power>
+                <datarate>20000</datarate>
+        </eas>    
+</states>

File examples/mpls/sikora/networkMM_NO_OPT.ini

View file
+[General]
+network = RSVPTE4
+sim-time-limit = 25s
+#cpu-time-limit= 5800000s
+total-stack = 1024MiB
+tkenv-plugin-path = ../../../etc/plugins
+
+**.**.ppp[*].ppp.useLPI = false
+# **.host{1..2,5,3,4}.ppp[*].ppp.useLPI = false
+
+####### TCP APPS #########################################################
+
+**.host{1,2,5}.numTcpApps = 4
+
+**.host{1,2,5}.tcpAppType = "TCPSessionApp"
+**.host{1,2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[0].connectPort = 100
+**.host{1,2,5}.tcpApp[0].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[0].tClose = -1s
+**.host{1,2,5}.tcpApp[0].port = 1000
+
+**.host{1,2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[1].connectPort = 100
+**.host{1,2,5}.tcpApp[1].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[1].tClose = -1s
+**.host{1,2,5}.tcpApp[1].port = 1001
+
+
+**.host{1,2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[2].connectPort = 100
+**.host{1,2,5}.tcpApp[2].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[2].tClose = -1s
+**.host{1,2,5}.tcpApp[2].port = 1002
+
+
+**.host{1,2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+**.host{1,2,5}.tcpApp[3].connectPort = 100
+**.host{1,2,5}.tcpApp[3].sendBytes = 100KiB
+**.host{1,2,5}.tcpApp[3].tClose = -1s
+**.host{1,2,5}.tcpApp[3].port = 1003
+
+**.host3.numTcpApps = 1
+**.host3.tcpAppType = "TCPSinkApp"
+**.host3.tcpApp[0].port = 100
+
+####### TCP APPS END #########################################################
+# Ahmet's notes on TCP:
+# 1. Delayed ACKs disabled by default, i.e. every segment received
+#    by the receiver triggers an ACK.
+# 2. If TCP runs "message mode", that is, with
+#    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+#    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+#    app on the receiver side when all 100MB has arrived. In contrast, with
+#    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+#    to the app (as a blank cMessage with the length set).
+#**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+#**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+
+
+**.LSR*.classifier.conf = xmldoc("_fec.xml")
+**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+
+**.LSR*.rsvp.helloInterval = 0.2s
+**.LSR*.rsvp.helloTimeout = 0.5s
+**.LSR*.libTable.conf = xmldoc("_lib.xml")
+
+**.ppp[*].queueType = "DropTailQueue" # in routers
+
+**.ppp[*].pppGAL.states = xmldoc("networkMM/_states.xml")
+
+## setup states
+**.**.**.ppp.eas = 5
+
+
+# NO NEED TO SHUT DOWN, DEFAULT STATE IS 0, SO IF NOT TURN ON, CARD IS SHUT DOWN 
+
+
+**.scenarioManager.script = xmldoc("_scenario.xml")
+# ip config
+**.host1.routingFile = "host1.rt"
+**.host2.routingFile = "host2.rt"
+**.host3.routingFile = "host3.rt"
+**.host4.routingFile = "host4.rt"
+**.host5.routingFile = "host5.rt"
+
+**.LSR1.routerId = "10.1.1.1"
+**.LSR1.routingFile = "LSR1.rt"
+
+**.LSR2.routerId = "10.1.2.1"
+**.LSR2.routingFile = "LSR2.rt"
+
+**.LSR3.routerId = "10.1.3.1"
+**.LSR3.routingFile = "LSR3.rt"
+
+**.LSR4.routerId = "10.1.4.1"
+**.LSR4.routingFile = "LSR4.rt"
+
+**.LSR5.routerId = "10.1.5.1"
+**.LSR5.routingFile = "LSR5.rt"
+
+**.LSR6.routerId = "10.1.6.1"
+**.LSR6.routingFile = "LSR6.rt"
+
+**.LSR7.routerId = "10.1.7.1"
+**.LSR7.routingFile = "LSR7.rt"
+
+
+

File examples/mpls/sikora/omnetpp.ini

View file
+#[General]
+#network = SIKORA
+#sim-time-limit = 25s
+##cpu-time-limit= 5800000s
+#total-stack = 1024MiB
+#tkenv-plugin-path = ../../../etc/plugins
+#
+#**.host{1..2,5}.numTcpApps = 4
+#
+#
+#**.host{1..2,5}.tcpAppType = "TCPSessionApp"
+#**.host{1..2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+#**.host{1..2,5}.tcpApp[0].connectPort = 100
+#**.host{1..2,5}.tcpApp[0].sendBytes = 100MiB
+#**.host{1..2,5}.tcpApp[0].tClose = -1s
+#**.host{1..2,5}.tcpApp[0].port = 1000
+#
+#**.host{1..2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+#**.host{1..2,5}.tcpApp[1].connectPort = 100
+#**.host{1..2,5}.tcpApp[1].sendBytes = 100MiB
+#**.host{1..2,5}.tcpApp[1].tClose = -1s
+#**.host{1..2,5}.tcpApp[1].port = 1001
+#
+#
+#**.host{1..2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+#**.host{1..2,5}.tcpApp[2].connectPort = 100
+#**.host{1..2,5}.tcpApp[2].sendBytes = 100MiB
+#**.host{1..2,5}.tcpApp[2].tClose = -1s
+#**.host{1..2,5}.tcpApp[2].port = 1002
+#
+#
+#**.host{1..2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+#**.host{1..2,5}.tcpApp[3].connectPort = 100
+#**.host{1..2,5}.tcpApp[3].sendBytes = 100MiB
+#**.host{1..2,5}.tcpApp[3].tClose = -1s
+#**.host{1..2,5}.tcpApp[3].port = 1003
+#
+#**.**.ppp[*].ppp.useLPI = false
+#**.host{1..2,5,3,4}.ppp[*].ppp.useLPI = false
+#
+#
+#**.host3.numTcpApps = 1
+#**.host3.tcpAppType = "TCPGenericSrvApp"
+#**.host3.tcpApp[0].port = 100
+## Ahmet's notes on TCP:
+## 1. Delayed ACKs disabled by default, i.e. every segment received
+##    by the receiver triggers an ACK.
+## 2. If TCP runs "message mode", that is, with
+##    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+##    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+##    app on the receiver side when all 100MB has arrived. In contrast, with
+##    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+##    to the app (as a blank cMessage with the length set).
+##**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+#**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+##**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+#**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+#
+## wszystkie routery wiedza o fec/rsvp automagicznie od poczatku
+#**.LSR1.classifier.conf = xmldoc("original_LSR1_fec.xml")
+#**.LSR1.rsvp.traffic = xmldoc("original_LSR1_rsvp.xml")
+#**.LSR*.classifier.conf = xmldoc("_fec.xml")
+#**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+#
+#
+#**.LSR*.rsvp.helloInterval = 0.2s
+#**.LSR*.rsvp.helloTimeout = 0.5s
+#**.LSR*.libTable.conf = xmldoc("_lib.xml")
+#
+#**.ppp[*].queueType = "DropTailQueue" # in routers
+#
+#**.ppp[*].pppGAL.states = xmldoc("_states.xml")
+#
+### setup states
+##**.host1.ppp[0].ppp.eas = 1
+##**.LSR1.ppp[3].ppp.eas = 1
+##
+##**.host2.ppp[0].ppp.eas = 1
+##**.LSR1.ppp[2].ppp.eas = 1
+##
+##**.host5.ppp[0].ppp.eas = 1
+##**.LSR1.ppp[4].ppp.eas = 1
+##
+##**.LSR1.ppp[1].ppp.eas = 1
+##**.LSR3.ppp[0].ppp.eas = 1
+##
+##**.LSR3.ppp[1].ppp.eas = 1
+##**.LSR4.ppp[2].ppp.eas = 1
+##
+##**.LSR5.ppp[0].ppp.eas = 1
+##**.LSR4.ppp[1].ppp.eas = 1
+##
+##**.host3.ppp[0].ppp.eas = 1
+##**.LSR5.ppp[1].ppp.eas = 1
+##
+##
+### shutdown LSR2
+###**.LSR2.ppp[*].ppp.shutDownTime = "5s"
+##**.LSR2.ppp[*].ppp.eas = 0
+##**.LSR1.ppp[0].ppp.eas = 0
+##**.LSR4.ppp[0].ppp.eas = 0
+##**.LSR6.ppp[0].ppp.eas = 0
+##
+### shutdown LSR6
+###**.LSR6.ppp[*].ppp.shutDownTime = "5s"
+##**.LSR6.ppp[*].ppp.eas = 0
+##**.LSR5.ppp[3].ppp.eas = 0
+##
+### shutdown LSR7
+###**.LSR7.ppp[*].ppp.shutDownTime = "5s"
+##**.LSR7.ppp[*].ppp.eas = 0
+##**.LSR5.ppp[4].ppp.eas = 0
+##**.LSR3.ppp[2].ppp.eas = 0
+#
+#**.ppp[*].ppp.eas = 5
+#
+#
+#
+#**.scenarioManager.script = xmldoc("_scenario.xml")
+#
+#
+## ip config
+#**.host1.routingFile = "host1.rt"
+#**.host2.routingFile = "host2.rt"
+#**.host3.routingFile = "host3.rt"
+#**.host4.routingFile = "host4.rt"
+#**.host5.routingFile = "host5.rt"
+#
+#**.LSR1.routerId = "10.1.1.1"
+#**.LSR1.routingFile = "LSR1.rt"
+#
+#**.LSR2.routerId = "10.1.2.1"
+#**.LSR2.routingFile = "LSR2.rt"
+#
+#**.LSR3.routerId = "10.1.3.1"
+#**.LSR3.routingFile = "LSR3.rt"
+#
+#**.LSR4.routerId = "10.1.4.1"
+#**.LSR4.routingFile = "LSR4.rt"
+#
+#**.LSR5.routerId = "10.1.5.1"
+#**.LSR5.routingFile = "LSR5.rt"
+#
+#**.LSR6.routerId = "10.1.6.1"
+#**.LSR6.routingFile = "LSR6.rt"
+#
+#**.LSR7.routerId = "10.1.7.1"
+#**.LSR7.routingFile = "LSR7.rt"
+#
+##**.host{1}.numUdpApps = 1
+##**.host{1}.udpAppType = "UDPBasicApp"
+##**.host{1}.udpApp[0].localPort = 100
+##**.host{1}.udpApp[0].destPort = 100
+##**.host{1}.udpApp[0].messageLength = 128 bytes
+##**.host{1}.udpApp[0].messageFreq = 0.01s
+##**.host{1}.udpApp[0].destAddresses = "10.2.1.1"
+#
+##**.host3.numUdpApps = 1
+##**.host3.udpAppType = "UDPSink"
+##**.host3.udpApp[0].localPort = 100
+#
+#
+#
+#

File examples/mpls/sikora/optim_LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/optim_LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.3.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/original_LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/original_LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.2.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<lnode>10.1.6.1</lnode>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000</bandwidth>
+
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/original_config/LSR1_fec.xml

View file
+<?xml version="1.0"?>
+<fectable>
+	<fecentry>
+		<id>1</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.1.1</source>
+
+		<tunnel_id>1</tunnel_id>
+		<lspid>100</lspid>
+	</fecentry>
+	<fecentry>
+		<id>2</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.2.1</source>
+
+		<tunnel_id>2</tunnel_id>
+		<lspid>200</lspid>
+	</fecentry>
+	<fecentry>
+		<id>3</id>
+
+		<destination>10.2.1.1</destination>
+		<source>10.0.3.1</source>
+
+		<tunnel_id>3</tunnel_id>
+		<lspid>300</lspid>
+	</fecentry>
+</fectable>

File examples/mpls/sikora/original_config/LSR1_rsvp.xml

View file
+<?xml version="1.0"?>
+<sessions>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>1</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>100</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<node>10.1.2.1</node>
+					<node>10.1.4.1</node>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>100</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>2</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>200</lspid>
+
+				<bandwidth>100000</bandwidth>
+				<route>
+					<node>10.1.1.1</node>
+					<lnode>10.1.6.1</lnode>
+					<node>10.1.5.1</node>
+				</route>
+
+				<permanent>true</permanent>
+				<color>200</color>
+			</path>
+		</paths>
+	</session>
+	<session>
+		<endpoint>10.2.1.1</endpoint>
+		<tunnel_id>3</tunnel_id>
+
+		<paths>
+			<path>
+				<lspid>300</lspid>
+
+				<bandwidth>100000</bandwidth>
+
+				<permanent>true</permanent>
+				<color>300</color>
+			</path>
+		</paths>
+	</session>
+</sessions>

File examples/mpls/sikora/original_config/_states.xml

View file
+<?xml version="1.0"?>
+<states>
+        <eas>
+                <id>1</id>
+                <power>1</power>
+                <datarate>2000000</datarate>
+        </eas>
+        <eas>
+                <id>2</id>
+                <power>2</power>
+                <datarate>4000000</datarate>
+        </eas>  
+        <eas>
+                <id>3</id>
+                <power>3</power>
+                <datarate>6000000</datarate>
+        </eas>
+        <eas>
+                <id>4</id>
+                <power>4</power>
+                <datarate>8000000</datarate>
+        </eas>
+        <eas>
+                <id>5</id>
+                <power>5</power>
+                <datarate>10000000</datarate>
+        </eas>      
+        <eas>
+                <id>0</id>
+                <power>0.1</power>
+                <datarate>200000</datarate>
+        </eas>    
+</states>

File examples/mpls/sikora/original_config/omnetpp.ini

View file
+[General]
+network = RSVPTE4
+sim-time-limit = 25s
+#cpu-time-limit= 5800000s
+total-stack = 1024MiB
+tkenv-plugin-path = ../../../etc/plugins
+
+**.host{1..2,5}.numTcpApps = 4
+
+
+**.host{1..2,5}.tcpAppType = "TCPSessionApp"
+**.host{1..2,5}.tcpApp[0].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[0].connectPort = 100
+**.host{1..2,5}.tcpApp[0].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[0].tClose = -1s
+**.host{1..2,5}.tcpApp[0].port = 1000
+
+**.host{1..2,5}.tcpApp[1].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[1].connectPort = 100
+**.host{1..2,5}.tcpApp[1].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[1].tClose = -1s
+**.host{1..2,5}.tcpApp[1].port = 1001
+
+
+**.host{1..2,5}.tcpApp[2].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[2].connectPort = 100
+**.host{1..2,5}.tcpApp[2].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[2].tClose = -1s
+**.host{1..2,5}.tcpApp[2].port = 1002
+
+
+**.host{1..2,5}.tcpApp[3].connectAddress = "10.2.1.1"
+**.host{1..2,5}.tcpApp[3].connectPort = 100
+**.host{1..2,5}.tcpApp[3].sendBytes = 100MiB
+**.host{1..2,5}.tcpApp[3].tClose = -1s
+**.host{1..2,5}.tcpApp[3].port = 1003
+
+**.**.ppp[*].ppp.useLPI = true
+**.host{1..2,5,3,4}.ppp[*].ppp.useLPI = false
+
+
+**.host3.numTcpApps = 1
+**.host3.tcpAppType = "TCPGenericSrvApp"
+**.host3.tcpApp[0].port = 100
+# Ahmet's notes on TCP:
+# 1. Delayed ACKs disabled by default, i.e. every segment received
+#    by the receiver triggers an ACK.
+# 2. If TCP runs "message mode", that is, with
+#    MsgBasedSendQueue/RcvQueue configured in omnetpp.ini,  app
+#    sends a 100MB cMessage over TCP, it'll be only passed up to the 
+#    app on the receiver side when all 100MB has arrived. In contrast, with
+#    VirtualBytesSendQueue/RcvQueue any data gets passed up immediately 
+#    to the app (as a blank cMessage with the length set).
+#**.tcp.sendQueueClass="TCPVirtualDataSendQueue"
+**.tcp.sendQueueClass="TCPMsgBasedSendQueue"
+#**.tcp.receiveQueueClass="TCPVirtualDataRcvQueue"
+**.tcp.receiveQueueClass="TCPMsgBasedRcvQueue"
+
+# wszystkie routery wiedza o fec/rsvp automagicznie od poczatku
+**.LSR1.classifier.conf = xmldoc("optim_LSR1_fec.xml")
+**.LSR1.rsvp.traffic = xmldoc("optim_LSR1_rsvp.xml")
+**.LSR*.classifier.conf = xmldoc("_fec.xml")
+**.LSR*.rsvp.traffic = xmldoc("_traffic.xml")
+
+
+**.LSR*.rsvp.helloInterval = 0.2s
+**.LSR*.rsvp.helloTimeout = 0.5s
+**.LSR*.libTable.conf = xmldoc("_lib.xml")