nttcom / pola

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

Output session details #159

Closed Motok1 closed 6 months ago

Motok1 commented 6 months ago

Description

pola command shows session details

ex)

user@pola-server:~$ pola session
sessionAddr(0): 192.0.2.1
  State: UP
  Capabilities: [Stateful Update Initiate SR-TE]
sessionAddr(1): 192.0.2.2
  State: UP
  Capabilities: [Stateful Update Initiate SR-TE SRv6-TE]

Type of change

Motivation and Context

The session address was previously the only information shown, but now the state and capability can be displayed.