⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpls_sig_ospfte.dml

📁 Java programming on optical network protection and restroation algorithms
💻 DML
📖 第 1 页 / 共 2 页
字号:

#MPLS Signaling and Constraint-based Routing(OSPF-TE)
# examples\gmpls\mpls_sig_ospf_te\Mpls_sig_OspfTe.dml
#
#Client      LER                                          LER        Server
#100(0)---(0)110(1)--+     LSR              LSR     +--(0)111(1)---(0)101
#            LER     +--(0)120(2)--------(0)121(1)--+     LSR
#102(0)---(0)112(1)-----(1)(3)              (2)(3)-----(0)113(1)---(0)103
#                           |                |
#                           |                |
#Client      LER            |                |            LER        Server
#200(0)---(0)210(1)--+     (3)              (2)     +--(0)211(1)---(0)201
#            LER     +--(0)220(2)--------(0)221(1)--+     LSR
#202(0)---(0)212(1)-----(1)LSR              LSR(3)-----(0)213(1)---(0)203



Net [
  frequency 20000000
    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 LSPCreator use gov.nist.antd.rsvp.te.LSP_Creator
          SignalingProtocol S_CRLDP
          #SignalingProtocol RSVP
          
          LSP_SETUP_INFO [
            ###########################################################
            # LSP between 110 and 211
            ###########################################################
          LSP [
            ID 0
            PathID LSP110-211
            LSPType Normal
            SetupTime 15
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 100]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 201] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            # PDR, CDR : bps      PBS, CBS, EBS : bytes
            ERL [
              Route [ ID 110 ]
              Route [ ID 120 ]
              Route [ ID 220 ]
              Route [ ID 221 ]
              Route [ ID 211 ]
            ]
          ]
          LSP [
            ID 1
            PathID LSP211-110
            LSPType Normal
            SetupTime 15
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 201]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 100] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            ERL [
              Route [ ID 211 ]
              Route [ ID 221 ]
              Route [ ID 220 ]
              Route [ ID 120 ]
              Route [ ID 110 ]
            ]
          ]
          ###########################################################
            # LSP between 112 and 213
            ###########################################################
          LSP [
            ID 2
            PathID LSP112-213
            LSPType Normal
            SetupTime 16
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 102]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 203] 
                Port[min 0 max 20000 ]
              ]           
            ]           
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            ERL [
              Route [ ID 112 ]
              Route [ ID 120 ]
              Route [ ID 121 ]
              Route [ ID 221 ]
              Route [ ID 213 ]
            ]
          ]
          LSP [
            ID 3
            PathID LSP213-112
            LSPType Normal
            SetupTime 16
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 203]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 102] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            ERL [
              Route [ ID 213 ]
              Route [ ID 221 ]
              Route [ ID 121 ]
              Route [ ID 120 ]
              Route [ ID 112 ]
            ]
          ]
          ###########################################################
            # LSP between 210 and 111
            ###########################################################       
          LSP [
            ID 4
            PathID LSP210-111
            LSPType Normal
            SetupTime 17
            Scheduler[
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 200]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 101] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            TEPath [
              SrcID 210
              DstID 111
            ]
          ]
          LSP [
            ID 5
            PathID LSP111-210
            LSPType Normal
            SetupTime 17
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 101]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 200] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            TEPath [
              SrcID 111
              DstID 210
            ]
          ]
          ###########################################################
          # LSP between 212 and 113
          ###########################################################         
          LSP [
            ID 6
            PathID LSP212-113
            LSPType Normal
            SetupTime 18
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 202]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 103] 
                Port[min 0 max 20000 ]
              ]           
            ]           
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            TEPath [
              SrcID 212
              DstID 113
            ]
          ]
          LSP [
            ID 7
            PathID LSP113-212
            LSPType Normal
            SetupTime 18
            Scheduler [
              Type WFQ
              Value 40
            ]
            FEC [
              Src [
                Grp[ID 103]
                Port[min 0 max 20000]
              ]
              Dst [
                Grp [ID 202] 
                Port[min 0 max 20000 ]
              ]           
            ]
            
            TrafficParameters [PDR 1500000   PBS 30000   CDR 1000000   
              CBS 20000   EBS 10000]
            TEPath [
              SrcID 113
              DstID 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]
      ]
    ]
    
    TrafficDuration [
      Duration[ ID 100 start_time 50 end_transmit_time 500]
      Duration[ ID 102 start_time 50 end_transmit_time 500]
      Duration[ ID 200 start_time 100 end_transmit_time 450]
      Duration[ ID 202 start_time 150 end_transmit_time 400]
    ]
    randomstream [
      generator "MersenneTwister"
      stream "seedstarter1"
      reproducibility_level "timeline"
    ]
    
################################################################################
##                                L I N K S                                   ##
################################################################################
  # 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]
   
  #LER 110   AND   120
  link [attach 110(1) attach 120(0) delay 0.005]
   
  #LSR 111   AND   121
  link [attach 111(0) attach 121(1) delay 0.005]
    
  #LER 112   AND   120
  link [attach 112(1) attach 120(1) delay 0.005]
   
  #LER 113   AND   121
  link [attach 113(0) attach 121(3) delay 0.005]
   
  #LER 210   AND   220
  link [attach 210(1) attach 220(0) delay 0.005]
   
  #LER 211   AND   221
  link [attach 211(0) attach 221(1) delay 0.005]
    
  #LER 212   AND   220
  link [attach 212(1) attach 220(1) delay 0.005]
   
  #LER 213   AND   221
  link [attach 213(0) attach 221(3) delay 0.005]
   
  #LSR 120   AND   121 / 220
  link [attach 120(2) attach 121(0) delay 0.01]
  link [attach 120(3) attach 220(3) delay 0.01]
  
  #LSR 121   AND   221
  link [attach 121(2) attach 221(2) delay 0.01]
    
  #LSR 220   AND   221

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -