Skip to content

Commit

Permalink
Update output exemple for session command
Browse files Browse the repository at this point in the history
  • Loading branch information
Motok1 committed Jun 9, 2024
1 parent c7e2409 commit 274dfd8
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions cmd/pola/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,29 @@ Displays the peer addresses of the active session.

JSON formatted response
```json
{
"sessions": [
{
"address": "192.0.2.1",
"status": "active",
},
{
"address": "192.0.2.2",
"status": "active",
},
[
{
"Addr": "192.0.2.1",
"State": "UP",
"Caps": [
"Stateful",
"Update",
"Initiate",
"SR-TE",
]
}
},
{
"Addr": "192.0.2.2",
"State": "UP",
"Caps": [
"Stateful",
"Update",
"Initiate",
"SR-TE",
"SRv6-TE"
]
}
]
```

### pola session del *Address* \[-j\]
Expand Down

0 comments on commit 274dfd8

Please sign in to comment.