📄 gmpls_opt_rwa01.dml
字号:
#LER211 OpticalLink [ #211 - 222 id 6 distance 1 attach 211(0) attach 222(1) delay 0.01 Fiber [ id 0 host2Nhi 222 host1PortId 10 host2PortId 10 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 211 host1PortId 11 host2PortId 11 bandwidth 10 noLambdas 10 ] ] #LER212 OpticalLink [ #212 - 220 id 7 distance 1 attach 212(1) attach 220(1) delay 0.01 Fiber [ id 0 host2Nhi 220 host1PortId 12 host2PortId 12 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 212 host1PortId 13 host2PortId 13 bandwidth 10 noLambdas 10 ] ] #LER213 OpticalLink [ #213 - 222 id 8 distance 1 attach 213(0) attach 222(3) delay 0.01 Fiber [ id 0 host2Nhi 222 host1PortId 14 host2PortId 14 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 213 host1PortId 15 host2PortId 15 bandwidth 10 noLambdas 10 ] ] #OXC120 OpticalLink [ #120 - 121, 120-220 id 9 distance 1 attach 120(2) attach 121(0) delay 0.01 Fiber [ id 0 host2Nhi 121 host1PortId 16 host2PortId 16 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 120 host1PortId 17 host2PortId 17 bandwidth 10 noLambdas 10 ] ] OpticalLink [ #120 - 220 id 10 distance 1 attach 120(3) attach 220(3) delay 0.01 Fiber [ id 0 host2Nhi 220 host1PortId 18 host2PortId 18 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 120 host1PortId 19 host2PortId 19 bandwidth 10 noLambdas 10 ] ] #OXC121 OpticalLink [ #121 - 122, 121-221 id 11 distance 1 attach 121(1) attach 122(0) delay 0.01 Fiber [ id 0 host2Nhi 122 host1PortId 20 host2PortId 20 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 121 host1PortId 21 host2PortId 21 bandwidth 10 noLambdas 10 ] ] OpticalLink [ #121 - 221 id 12 distance 1 attach 121(2) attach 221(2) delay 0.01 Fiber [ id 0 host2Nhi 221 host1PortId 22 host2PortId 22 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 121 host1PortId 23 host2PortId 23 bandwidth 10 noLambdas 10 ] ] #OXC122 OpticalLink [ #122 - 222 id 13 distance 1 attach 122(2) attach 222(2) delay 0.01 Fiber [ id 0 host2Nhi 222 host1PortId 24 host2PortId 24 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 122 host1PortId 25 host2PortId 25 bandwidth 10 noLambdas 10 ] ] #OXC220 OpticalLink [ #220 - 221 id 14 distance 1 attach 220(2) attach 221(0) delay 0.01 Fiber [ id 0 host2Nhi 221 host1PortId 26 host2PortId 26 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 220 host1PortId 27 host2PortId 27 bandwidth 10 noLambdas 10 ] ] #OXC221 OpticalLink [ #221 - 222 id 15 distance 1 attach 221(1) attach 222(0) delay 0.01 Fiber [ id 0 host2Nhi 222 host1PortId 28 host2PortId 28 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 221 host1PortId 29 host2PortId 29 bandwidth 10 noLambdas 10 ] ] # ------------------------------------------------------------- Client-Server host [ #Client id 100 x 10 y 50 _find .dictionary.TGClient.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 201(0) interface 0 next_hop 110(0)] ] host [ #Server id 101 x 750 y 50 _find .dictionary.TGServer.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 200(0) interface 0 next_hop 111(1)] ] host [ #Client id 102 x 10 y 90 _find .dictionary.TGClient.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 203(0) interface 0 next_hop 112(0)] ] host [ #Server id 103 x 750 y 90 _find .dictionary.TGServer.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 202(0) interface 0 next_hop 113(1)] ] host [ #Client id 200 x 10 y 150 _find .dictionary.TGClient.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 101(0) interface 0 next_hop 210(0)] ] host [ #Server id 201 x 750 y 150 _find .dictionary.TGServer.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 100(0) interface 0 next_hop 211(1)] ] host [ #Client id 202 x 10 y 190 _find .dictionary.TGClient.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 103(0) interface 0 next_hop 212(0)] ] host [ #Server id 203 x 750 y 190 _find .dictionary.TGServer.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] nhi_route [dest 102(0) interface 0 next_hop 213(1)] ] # ------------------------------------------------------------------------- LSRs # LER110 --------------------------------------------------------------------- LSR [ id 110 x 110 y 50 _find .dictionary.LSRGraph.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] Onic [ id 1 ] ] # LER111 --------------------------------------------------------------------- LSR [ id 111 x 640 y 50 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ] ] # LER112 --------------------------------------------------------------------- LSR [ id 112 x 110 y 90 _find .dictionary.LSRGraph.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] Onic [ id 1 ] ] # LER113 --------------------------------------------------------------------- LSR [ id 113 x 640 y 90 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ] ] # LER210 --------------------------------------------------------------------- LSR [ id 210 x 110 y 150 _find .dictionary.LSRGraph.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] Onic [ id 1 ] ] # LER211 --------------------------------------------------------------------- LSR [ id 211 x 640 y 150 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ] ] # LER212 --------------------------------------------------------------------- LSR [ id 212 x 110 y 190 _find .dictionary.LSRGraph.graph interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] Onic [ id 1 ] ] # LER213 --------------------------------------------------------------------- LSR [ id 213 x 640 y 190 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ] ] # Oxc120 ----------------------------------------------------------------------------- Oxc [ id 120 x 230 y 70 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ] # Oxc121 ----------------------------------------------------------------------------- Oxc [ id 121 x 390 y 70 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] ] # Oxc122 ----------------------------------------------------------------------------- Oxc [ id 122 x 550 y 70 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ] # Oxc220 ----------------------------------------------------------------------------- Oxc [ id 220 x 230 y 170 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ] # Oxc221 ----------------------------------------------------------------------------- Oxc [ id 221 x 390 y 170 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] ] # Oxc222 ----------------------------------------------------------------------------- Oxc [ id 222 x 550 y 170 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ]]dictionary[ host_LER_bitrate [ bitrate 1000000 ] #////////////////////////////////////////////////////////////////////////// # MPLS Management Module Init #////////////////////////////////////////////////////////////////////////// mplsInit[ debug false # components Debug flag SigIntf_debug false IntfMgmt_debug false fwd_debug true fwdTable_debug true PacketScheduler [ PrimaryScheduler [ name WFQ use gov.nist.antd.mpls.mgmt.mpls_interface.WFQScheduler ] ] Queue [ name DropTail use gov.nist.antd.mpls.mgmt.mpls_interface.MPLSDropTailQueue BufferSize 30000 monitor [ use gov.nist.antd.mpls.mgmt.mpls_interface.QueueMonitor probe_interval 1.0 debug false ] ] BandwidthBorrowing off #on/off lspMonitor [ use gov.nist.antd.mpls.mgmt.lspMonitor probe_interval 1.0 debug false ] # NIC monitor nicMonitor [ use gov.nist.antd.mpls.mgmt.NicMonitor probe_interval 1.0 debug false ] ] #////////////////////////////////////////////////////////////////////////// # RSVP Init #////////////////////////////////////////////////////////////////////////// rsvpInit [ debug true ############## Time Information ######################## R 30 # Refresh Time, Default 30sec K 3 # L >= (K + 0.5) * 1.5 * R default 3 SlewMax 0.3 # Default 0.3 : Successive value R2/R1 < 1 + slew.max ############## Hello Extension ########################## # If this description is not defined, # Hello Extesion is not used within simulation #HelloExtension [ # Interval 0.005 # default 5ms # LossHellMsgInterfval 3.5 # default 3.5 #] ProcessingDelay 0.0 ] udpinit [ max_datagram_size 10000 # max UDP datagram size (payload bytes) debug false # print verbose UDP diagnostics ] TGClientInit [ start_time 30.0 # earliest time to send request to server start_window 2.0 # send request to server at randomly chosen time # in interval [start_time, start_time+start_window] file_size 10000000 # requested file size (payload bytes) request_size 4 # client request datagram size (bytes) datagram_size 1000 # max server datagram payload size (virtual bytes, int) show_report false # print client-server session summary report debug false # print verbose client/server diagnostics ] TGServerInit [ port 10 # server's well known port client_limit 10 # max number of contemporaneously allowed clients request_size 4 # client request datagram size (bytes) show_report false # print client-server session summary report debug false # print verbose client/server diagnostics packet_gen_rate 50000 # packet generation rate of this server.. packet_gen_rate_distribution Exponential # packet generation rate distribution, Normal or Exponential datagram_size 1000 # max server datagram payload size (virtual bytes, int) datagram_size_distribution Normal # datagram size distrubution, Normal or Exponential datagram_size_deviation 0.3 # datagram size deviation, only Normal distribution # unit : % of the datagram size, 0 <= packet_gen_rate_deviation < 1.0 ] #////////////////////////////////////////////////////////////////////////// # Node Configuration #////////////////////////////////////////////////////////////////////////// TGClient [ graph [ ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient _find .dictionary.TGClientInit ] ProtocolSession [name socket use SSF.OS.Socket.socketMaster] ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster _find .dictionary.udpinit ] ProtocolSession [name ip use gov.nist.antd.ssf.os.IP] ] ] TGServer [ graph [ ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer _find .dictionary.TGServerInit ] ProtocolSession [name socket use SSF.OS.Socket.socketMaster] ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster _find .dictionary.udpinit ] ProtocolSession [name ip use gov.nist.antd.ssf.os.IP] ] ] LSRGraph [ graph [ #ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.crldp.S_CRLDP # debug true #] ProtocolSession [name rsvp use gov.nist.antd.rsvp.mgmt.Rsvp _find .dictionary.rsvpInit ] ProtocolSession [name MPLSModule use gov.nist.antd.mpls.mgmt.MPLSMgmt _find .dictionary.mplsInit ] ProtocolSession [name te-app use gov.nist.antd.ospf_te.TEPath] ProtocolSession [name ospf-te use gov.nist.antd.ospf_te.sOSPF_TE] ProtocolSession [name ip use gov.nist.antd.ssf.os.IP] ProtocolSession [name ospf use SSF.OS.OSPF.sOSPF ] ProtocolSession [name probe use SSF.OS.ProbeSession file "resultFile" stream result ] ] ] OXCGraph [ graph [ #ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.crldp.S_CRLDP # debug true #] ProtocolSession [name rsvp use gov.nist.antd.rsvp.mgmt.Rsvp _find .dictionary.rsvpInit ] ProtocolSession [name MPLSModule use gov.nist.antd.mpls.mgmt.MPLSMgmt _find .dictionary.mplsInit ] ProtocolSession [name te-app use gov.nist.antd.ospf_te.PathOptical] ProtocolSession [name ospf-te use gov.nist.antd.ospf_te.sOSPF_TE] ProtocolSession [name ip use gov.nist.antd.ssf.os.IP] ProtocolSession [ name ospf use SSF.OS.OSPF.sOSPF ] ProtocolSession [ name oxcswitch use gov.nist.antd.optical.OXCSwitch debug true converter true ] ProtocolSession [name probe use SSF.OS.ProbeSession file "resultFile" stream result ] ] ]]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -