📄 faultrest.dml
字号:
# Fault Restoration in Optical Network# examples\gmpls\fault_restoration_opticalnet\FaultRest.dml## Simulation time 100 sec.### LinkError#Client LER at 250sec 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 20000000 ospf_area 0 AS_status boundary lsaoptions [ unreserved_bandwidth "true" ] traffic [ 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" ] 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 LER210 and LER111 ###################################################################### LSP [ ID 0 pathID LER210-111 SetupTime 10 LSPType Optical OpticLSP [ SrcNodeId 210 SrcIntfId 1 DstNodeId 111 DstIntfId 0 ] ERL [ Route [ ID 220 ] Route [ ID 120 ] Route [ ID 121 ] Route [ ID 122 ] ] ] LSP [ ID 1 pathID LER111-210 SetupTime 11 LSPType Optical OpticLSP [ SrcNodeId 111 SrcIntfId 0 DstNodeId 210 DstIntfId 1 ] ERL [ Route [ ID 122 ] Route [ ID 121 ] Route [ ID 120 ] Route [ ID 220 ] ] ] ###################################################################### # Backup LSP ###################################################################### LSP [ ID 2 pathID backup-LER210-LER111 SetupTime 12 LSPType Backup Scheduler [ Type WFQ Value 40 ] ERL [ Route [ ID 220 ] Route [ ID 221 ] Route [ ID 222 ] Route [ ID 122 ] ] BKLSP [ InstanceSetup false ProtectedPath [ ID 0 ] ] ] LSP [ ID 3 pathID backup-LER111-LER210 SetupTime 13 LSPType Backup Scheduler [ Type WFQ Value 40 ] ERL [ Route [ ID 122 ] Route [ ID 222 ] Route [ ID 221 ] Route [ ID 220 ] ] BKLSP [ InstanceSetup false ProtectedPath [ ID 1 ] ] ]###################################################################### #OUNI between LER212 and LER113 ###################################################################### LSP [ ID 4 pathID LER212-LER113 SetupTime 12 LSPType Optical OpticLSP [ SrcNodeId 212 SrcIntfId 1 DstNodeId 113 DstIntfId 0 ] ERL [ Route[ ID 220 ] Route [ ID 120 ] Route [ ID 121 ] Route [ ID 122 ] ] ] LSP [ ID 5 pathID LER113-LER212 SetupTime 12 LSPType Optical OpticLSP [ SrcNodeId 113 SrcIntfId 0 DstNodeId 212 DstIntfId 1 ] ERL [ Route [ ID 122 ] Route [ ID 121 ] Route [ ID 120 ] Route [ ID 220 ] ] ] ###################################################################### #Backup LSP for LSP 4, 5 ###################################################################### LSP [ ID 6 pathID backup-LER212-LER113 SetupTime 13 LSPType Backup Scheduler [ Type WFQ Value 40 ] ERL [ Route [ ID 220 ] Route [ ID 221 ] Route [ ID 222 ] Route [ ID 122 ] ] BKLSP [ InstanceSetup false ProtectedPath [ ID 4] ] ] LSP [ ID 7 pathID backup-LER113-LER212 SetupTime 13 LSPType Backup Scheduler [ Type WFQ Value 40 ] ERL [ Route [ ID 122 ] Route [ ID 222 ] Route [ ID 221 ] Route [ ID 220 ] ] BKLSP [ InstanceSetup false ProtectedPath [ID 5] ] ] ###################################################################### #LSP between 210 and 111 ###################################################################### LSP [ ID 8 pathID LSP210-111 SetupTime 15 LSPType Normal Scheduler [ Type WFQ Value 40 ] TunnelLSPID 0 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 9 pathID LSP111-210 SetupTime 15 LSPType Normal Scheduler [ Type WFQ Value 40 ] TunnelLSPID 1 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 212 and 113 ###################################################################### LSP [ ID 10 pathID LSP212-113 SetupTime 15 LSPType Normal Scheduler [ Type WFQ Value 40 ] TunnelLSPID 4 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 11 pathID LSP113-212 LSPType Normal SetupTime 15 Scheduler [ Type WFQ Value 40 ] TunnelLSPID 5 FEC [ Src[ Grp[ID 103] Port[min 0 max 20000] ] Dst[ Grp [ID 202] Port[min 0 max 2000] ] ] TrafficParameters [ PDR 50000 PBS 10000 CDR 40000 CBS 10000 EBS 0 ] ERL [ Route [ ID 113 ] Route [ ID 212 ] ] ] ] ] ] ]# ------------------------------------------------------------- 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 ] ] #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 ] # ErrorRecoverEvent [ # Error [ Time 250 ] # ] ] # The failure occurs event [ linkId 11 type link time 250 failure true ] 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -