📄 gmpls_opt_rwa01.dml
字号:
# GMPLS Optical Networking (Routing, Wavelength Assignment (RWA) with OSPF-TE)# examples\gmpls\gmpls_opt_rwa\test01\Gmpls_Opt_rwa01.dml##Client LER LER Server#100(0)---(0)110(1)--+ OXC OXC OXC +--(0)111(1)---(0)101# LER +--(0)120(2)----(0)121(1)----(0)122(1)--+ LSR#102(0)---(0)112(1)-----(1)(3) (2) (2)(3)-----(0)113(1)---(0)103# | | |# | | |#Client LER | | | LER Server#200(0)---(0)210(1)--+ (3) (2) (2) +--(0)211(1)---(0)201# LER +--(0)220(2)----(0)221(1)----(0)222(1)--+ LSR#202(0)---(0)212(1)-----(1)OXC OXC OXC(3)-----(0)213(1)---(0)203#Net [ frequency 2000000000 ospf_area 0 AS_status boundary lsaoptions [ unreserved_bandwidth "true" ] host [ id 1000 x 10 y 10 graph [ ProtocolSession [name ip use gov.nist.antd.ssf.os.IP] ProtocolSession [name LSP_Creator use gov.nist.antd.rsvp.te.LSP_Creator #SignalingProtocol S_CRLDP SignalingProtocol RSVP LSP_SETUP_INFO [ ############################################################ # OUNI between LER110 and LER211 ############################################################ LSP [ ID 0 PathID LER110-LER211 LSPType Optical SetupTime 9 ERL [ #Route [ID 110] Route [ID 120] Route [ID 121] Route [ID 122] Route [ID 222] #Route [ID 211] ] OpticLSP[ SrcNodeId 110 SrcIntfId 1 DstNodeId 211 DstIntfId 0 ] ] LSP [ ID 1 PathID LER211-LER110 LSPType Optical SetupTime 10 ERL [ #Route [ID 211] Route [ID 222] Route [ID 122] Route [ID 121] Route [ID 120] #Route [ID 110] ] OpticLSP[ SrcNodeId 211 SrcIntfId 0 DstNodeId 110 DstIntfId 1 ] ] ############################################################ # OUNI between LER112 and LER213 ############################################################ LSP [ ID 2 PathID LER112-LER213 LSPType Optical SetupTime 10 ERL [ #Route [ID 112] Route [ID 120] Route [ID 220] Route [ID 221] Route [ID 222] #Route [ID 213] ] OpticLSP[ SrcNodeId 112 SrcIntfId 1 DstNodeId 213 DstIntfId 0 ] ] LSP [ ID 3 PathID LER213-LER112 LSPType Optical SetupTime 10 ERL [ #Route [ID 213] Route [ID 222] Route [ID 221] Route [ID 220] Route [ID 120] #Route [ID 112] ] OpticLSP[ SrcNodeId 213 SrcIntfId 0 DstNodeId 112 DstIntfId 1 ] ] ############################################################ # OUNI between LER210 and LER111 ############################################################ LSP [ ID 4 PathID LER210-LER111 LSPType Optical SetupTime 11 OpticLSP[ SrcNodeId 210 SrcIntfId 1 DstNodeId 111 DstIntfId 0 ] ] LSP [ ID 5 PathID LER111-LER210 LSPType Optical SetupTime 11 OpticLSP[ SrcNodeId 111 SrcIntfId 0 DstNodeId 210 DstIntfId 1 ] ] ############################################################ # OUNI between LER212 and LER113 ############################################################ LSP [ ID 6 PathID LER212-LER113 LSPType Optical SetupTime 12 OpticLSP[ SrcNodeId 212 SrcIntfId 1 DstNodeId 113 DstIntfId 0 ] ] LSP [ ID 7 PathID LER113-LER212 LSPType Optical SetupTime 12 OpticLSP[ SrcNodeId 113 SrcIntfId 0 DstNodeId 212 DstIntfId 1 ] ]#=============================================================================== ############################################################ # LSP between 100 and 201 ############################################################ LSP [ ID 8 PathID 100-201 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 0 FEC [ Src [ Grp[ID 100] Port[min 0 max 20000] ] Dst [ Grp [ID 201] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] # PDR, CDR : bps PBS, CBS, EBS : bytes ERL [ Route[ID 110] Route[ID 211] ] ] LSP [ ID 9 PathID 201-100 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 1 FEC [ Src [ Grp[ID 201] Port[min 0 max 20000] ] Dst [ Grp [ID 100] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 211 ] Route [ ID 110 ] ] ] ############################################################ # LSP between 102 and 203 ############################################################ LSP [ ID 10 PathID 102-203 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 2 FEC [ Src [ Grp[ID 102] Port[min 0 max 20000] ] Dst [ Grp [ID 203] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 112 ] Route [ ID 213 ] ] ] LSP [ ID 11 PathID 203-102 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 3 FEC [ Src [ Grp[ID 203] Port[min 0 max 20000] ] Dst [ Grp [ID 102] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 213 ] Route [ ID 112 ] ] ] ############################################################ # LSP between 200 and 101 ############################################################ LSP [ ID 12 PathID 200-101 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 4 FEC [ Src [ Grp[ID 200] Port[min 0 max 20000] ] Dst [ Grp [ID 101] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 210 ] Route [ ID 111 ] ] ] LSP [ ID 13 PathID 101-200 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 5 FEC [ Src [ Grp[ID 101] Port[min 0 max 20000] ] Dst [ Grp [ID 200] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 111 ] Route [ ID 210 ] ] ] ############################################################ # LSP between 202 and 103 ############################################################ LSP [ ID 14 PathID 202-103 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 6 FEC [ Src [ Grp[ID 202] Port[min 0 max 20000] ] Dst [ Grp [ID 103] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 212 ] Route [ ID 113 ] ] ] LSP [ ID 15 PathID 103-202 LSPType Normal SetupTime 15 Scheduler[ Type WFQ Value 40 ] TunnelLSPID 7 FEC [ Src [ Grp[ID 103] Port[min 0 max 20000] ] Dst [ Grp [ID 202] Port[min 0 max 20000 ] ] ] TrafficParameters [PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0] ERL [ Route [ ID 113 ] Route [ ID 212 ] ] ] ] ] ] ] traffic [ pattern [ client 100 servers [nhi 201(0) port 10] ] pattern [ client 102 servers [nhi 203(0) port 10] ] pattern [ client 200 servers [nhi 101(0) port 10] ] pattern [ client 202 servers [nhi 103(0) port 10] ] ] randomstream [ generator "MersenneTwister" stream "seedstarter1" reproducibility_level "timeline" ]# ------------------------------------------------------------- LINKS # client link connection link [attach 100(0) attach 110(0) delay 0.005] link [attach 102(0) attach 112(0) delay 0.005] link [attach 200(0) attach 210(0) delay 0.005] link [attach 202(0) attach 212(0) delay 0.005] # server link connection link [attach 101(0) attach 111(1) delay 0.005] link [attach 103(0) attach 113(1) delay 0.005] link [attach 201(0) attach 211(1) delay 0.005] link [attach 203(0) attach 213(1) delay 0.005] #LER110 OpticalLink [ #110 - 120 id 1 distance 1 attach 110(1) attach 120(0) delay 0.01 Fiber [ id 0 host2Nhi 120 host1PortId 0 host2PortId 0 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 110 host1PortId 1 host2PortId 1 bandwidth 10 noLambdas 10 ] ] #LSR111 OpticalLink [ #111 - 122 id 2 distance 1 attach 111(0) attach 122(1) delay 0.01 Fiber [ id 0 host2Nhi 122 host1PortId 2 host2PortId 2 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 111 host1PortId 3 host2PortId 3 bandwidth 10 noLambdas 10 ] ] #LER112 OpticalLink [ #112 - 120 id 3 distance 1 attach 112(1) attach 120(1) delay 0.01 Fiber [ id 0 host2Nhi 120 host1PortId 4 host2PortId 4 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 112 host1PortId 5 host2PortId 5 bandwidth 10 noLambdas 10 ] ] #LER113 OpticalLink [ #113 - 122 id 4 distance 1 attach 113(0) attach 122(3) delay 0.01 Fiber [ id 0 host2Nhi 122 host1PortId 6 host2PortId 6 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 113 host1PortId 7 host2PortId 7 bandwidth 10 noLambdas 10 ] ] #LER210 OpticalLink [ #210 - 220 id 5 distance 1 attach 210(1) attach 220(0) delay 0.01 Fiber [ id 0 host2Nhi 220 host1PortId 8 host2PortId 8 bandwidth 10 noLambdas 10 ] Fiber [ id 1 host2Nhi 210 host1PortId 9 host2PortId 9 bandwidth 10 noLambdas 10 ] ]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -