📄 faultrest.dml
字号:
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_s50.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_e500.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_s50.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_e500.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_s100.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_e450.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_s100.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_e400.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 50000 ] LER_LSR_bitrate [ bitrate 110000 ] LSR_LSR_bitrate [ bitrate 220000 ] #///////////////////////////////////////////////////////////////////////////// # MPLS Management Module Init #///////////////////////////////////////////////////////////////////////////// mplsInit[ debug false # components Debug flag SigIntf_debug true IntfMgmt_debug true 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 # debug true #] 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 ] 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_TEoptical] 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 ] ] ] TGClient_s50 [ graph [ ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient _find .dictionary.TGClientInit start_time 30.0 ] 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] ] ] TGClient_s100 [ graph [ ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient _find .dictionary.TGClientInit start_time 50.0 ] 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] ] ] TGClient_s150 [ graph [ ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient _find .dictionary.TGClientInit start_time 100.0 ] 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_e400 [ graph [ ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer _find .dictionary.TGServerInit end_transmit_time 400 ] 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_e450 [ graph [ ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer _find .dictionary.TGServerInit end_transmit_time 450 ] 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_e500 [ graph [ ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer _find .dictionary.TGServerInit end_transmit_time 500 ] 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] ] ]]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -