nttcom / pola

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

Fix pola sr-policy example #60

Closed watal closed 1 year ago

watal commented 1 year ago

Fix pola sr-policy example

before

input examplse is below

srPolicy:
    pcepSessionAddr: 192.0.2.1
    srcAddr: 192.0.2.1
    dstAddr: 192.0.2.2
    name: name
    color: 100
    segmentList:
        - sid: 16003
          nai: 192.0.2.3
        - sid: 16002
          nai: 192.0.2.2

after

input examplse is below

srPolicy:
  pcepSessionAddr: 192.0.2.1
  srcAddr: 192.0.2.1
  dstAddr: 192.0.2.2
  name: name
  color: 100
  segmentList:
    - sid: 16003
    - sid: 16002