📄 gmpls_opt_rwa02.dml
字号:
attach 120(3) attach 220(3) delay 0.0001 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.0001 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.0001 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.0001 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.0001 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.0001 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 60 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 201(0) interface 0 next_hop 110(0)] ] host [ #Server id 101 x 610 y 60 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 200(0) interface 0 next_hop 111(1)] ] host [ #Client id 102 x 10 y 110 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 203(0) interface 0 next_hop 112(0)] ] host [ #Server id 103 x 610 y 110 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 202(0) interface 0 next_hop 113(1)] ] host [ #Server id 105 x 610 y 160 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 204(0) interface 0 next_hop 113(1)] ] host [ #Server id 107 x 610 y 210 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 206(0) interface 0 next_hop 113(1)] ] host [ #Client id 200 x 10 y 160 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 101(0) interface 0 next_hop 210(0)] ] host [ #Server id 201 x 610 y 260 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 100(0) interface 0 next_hop 211(1)] ] host [ #Client id 202 x 10 y 210 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 103(0) interface 0 next_hop 212(0)] ] host [ #Server id 203 x 610 y 310 _find .dictionary.TGServer.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 102(0) interface 0 next_hop 213(1)] ] host [ #Client id 204 x 10 y 260 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 105(0) interface 0 next_hop 212(0)] ] host [ #Client id 206 x 10 y 310 _find .dictionary.TGClient.graph interface [ id 0 bitrate 1000000 ] nhi_route [dest 107(0) interface 0 next_hop 212(0)] ] # ------------------------------------------------------------------------- LSRs # LER110 --------------------------------------------------------------------- LSR [ id 110 x 110 y 60 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # LER111 --------------------------------------------------------------------- LSR [ id 111 x 510 y 60 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER112 --------------------------------------------------------------------- LSR [ id 112 x 110 y 110 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # LER113 --------------------------------------------------------------------- LSR [ id 113 x 510 y 110 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER115 --------------------------------------------------------------------- LSR [ id 115 x 510 y 160 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER117 --------------------------------------------------------------------- LSR [ id 117 x 510 y 210 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER210 --------------------------------------------------------------------- LSR [ id 210 x 110 y 160 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # LER211 --------------------------------------------------------------------- LSR [ id 211 x 510 y 260 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER212 --------------------------------------------------------------------- LSR [ id 212 x 110 y 210 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # LER213 --------------------------------------------------------------------- LSR [ id 213 x 510 y 310 _find .dictionary.LSRGraph.graph Onic [ id 0 ] interface [ id 1 bitrate 1000000 ] ] # LER214 --------------------------------------------------------------------- LSR [ id 214 x 110 y 260 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # LER216 --------------------------------------------------------------------- LSR [ id 216 x 110 y 310 _find .dictionary.LSRGraph.graph interface [ id 0 bitrate 1000000 ] Onic [ id 1 ] ] # Oxc120 ----------------------------------------------------------------------------- Oxc [ id 120 x 210 y 85 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ] # Oxc121 ----------------------------------------------------------------------------- Oxc [ id 121 x 310 y 85 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] ] # Oxc122 ----------------------------------------------------------------------------- Oxc [ id 122 x 410 y 85 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] Onic [ id 4 ] Onic [ id 5 ] ] # Oxc220 ----------------------------------------------------------------------------- Oxc [ id 220 x 210 y 235 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] Onic [ id 4 ] Onic [ id 5 ] ] # Oxc221 ----------------------------------------------------------------------------- Oxc [ id 221 x 310 y 235 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] ] # Oxc222 ----------------------------------------------------------------------------- Oxc [ id 222 x 410 y 235 _find .dictionary.OXCGraph.graph Onic [ id 0 ] Onic [ id 1 ] Onic [ id 2 ] Onic [ id 3 ] ]]dictionary[ #////////////////////////////////////////////////////////////////////////// # MPLS Management Module Init #////////////////////////////////////////////////////////////////////////// mplsInit[ debug false # components Debug flag SigIntf_debug false IntfMgmt_debug false fwd_debug false fwdTable_debug false 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 ] # the client-server protocol needs to agree on some things appsessiontcp [ request_size 4 # client request datagram size (bytes) show_report true # print client-server session summary report debug true # print verbose client/server diagnostics ] 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 packet_gen_rate_deviation 0.3 # packet generation rate deviation, only Normal distribution # unit : % of the packet generation rate, 0 <= packet_gen_rate_deviation < 1.0 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 ] 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 + -