📄 wdm_onic.dml
字号:
name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
interface [ id 0 bitrate 1000000 debug true]
nhi_route [dest 101(0) interface 0 next_hop 110(0)]
]
host [ #Server
id 101
x 750
y 50
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]
]
interface [ id 0 bitrate 1000000 ]
nhi_route [dest 100(0) interface 0 next_hop 111(1)]
]
host [ #Client
id 102
x 10
y 90
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]
]
interface [ id 0 bitrate 1000000 ]
nhi_route [dest 103(0) interface 0 next_hop 110(1)]
]
host [ #Server
id 103
x 750
y 90
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]
]
interface [ id 0 bitrate 1000000 ]
nhi_route [dest 102(0) interface 0 next_hop 111(2)]
]
host [ #Client
id 104
x 10
y 140
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]
]
interface [ id 0 bitrate 1000000 ]
nhi_route [dest 105(0) interface 0 next_hop 110(2)]
]
host [ #Server
id 105
x 750
y 140
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]
]
interface [ id 0 bitrate 1000000 ]
nhi_route [dest 104(0) interface 0 next_hop 111(3)]
]
################################################################################
## L A B E L S W I T C H R O U T E R S ##
################################################################################
# LER 110 -------------------------------------------------------------------
LSR [
id 110
x 260
y 90
graph [
ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.crldp.S_CRLDP
debug false ]
#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 debug true]
ProtocolSession [name probe use SSF.OS.ProbeSession
file "resultFile" # output file prefix
stream result # stream name
]
]
interface [ id 0 bitrate 1000000 ]
interface [ id 1 bitrate 1000000 ]
interface [ id 2 bitrate 1000000 ]
Onic [ id 3 ]
]
# LER 111 -------------------------------------------------------------------
LSR [
id 111
x 510
y 90
graph [
ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.crldp.S_CRLDP
debug false ]
#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" # output file prefix
stream result # stream name
]
]
Onic [ id 0 ]
interface [ id 1 bitrate 1000000 ]
interface [ id 2 bitrate 1000000 ]
interface [ id 3 bitrate 1000000 ]
]
]
dictionary [
mplsInit [
debug false
# Components Debug flag - true/false
SigIntf_debug false
IntfMgmt_debug false
fwd_debug false
fwdTable_debug false
PacketScheduler [
PrimaryScheduler [
name WFQ use gov.nist.antd.MPLSMgmt.MPLSInterface.WFQScheduler
]
]
Queue [
name DropTail use gov.nist.antd.MPLSMgmt.MPLSInterface.MPLSDropTailQueue
BufferSize 30000
monitor [
use gov.nist.antd.mpls.mgmt.mpls_interface.QueueMonitor
probe_interval 1.0
debug false
]
]
BandwidthBorrowing off #on/off
# LSP monitor
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 100000000 # 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 1000000 # 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
]
]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -