nttcom / pola

Stateful PCE Implementation and PCEP Library in Go
https://nttcom.github.io/pola/
MIT License
70 stars 6 forks source link

Add usid mode #160

Closed Motok1 closed 5 months ago

Motok1 commented 5 months ago

Description

When usid-mode true, polad performs usid operations.

global:
  pcep:
    address: "2001:0db8::254"
    port: 4189
<snip>
  ted:
    enable: false
  usid-mode: true
srPolicy:
  pcepSessionAddr: "2001:0db8::1"
  srcAddr: "2001:0db8::1"
  dstAddr: "2001:0db8::2"
  name: "policy-name"
  color: 100
  segmentList:
    - sid: "2001:0db8:1005::"
      localAddr: "2001:0db8::5"
      sidStructure: "32,16,0,80"
    - sid: "2001:0db8:1006::"
      localAddr: "2001:0db8::6"
      sidStructure: "32,16,0,80"
    - sid: "2001:0db8:1005::"
      localAddr: "2001:0db8::5"
      sidStructure: "32,16,0,80"
    - sid: "2001:0db8:1006::"
      localAddr: "2001:0db8::6"
      sidStructure: "32,16,0,80"

Type of change

How is This Tested?

Other Information