Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the color and preference elements to the LSP (SR Policy) structure #29

Merged
merged 3 commits into from
Nov 2, 2022

Conversation

Motok1
Copy link
Contributor

@Motok1 Motok1 commented Nov 2, 2022

feature

You can confirm color and preference of each LSP from pola CLI command pola sr-policy list

pola@pce:~$ go run . sr-policy list -j | jq .
{
  "lsps": [
    {
      "color": 200,
      "dstAddr": "192.0.2.1",
      "path": [
        16002,
        16004,
        16001
      ],
      "peerAddr": "192.0.2.2",
      "policyName": "sample1",
      "preference": 100,
      "srcAddr": "192.0.2.2"
    },
    {
      "color": 100,
      "dstAddr": "192.0.2.2",
      "path": [
        16001,
        16002,
        16003
      ],
      "peerAddr": "192.0.2.1",
      "policyName": "sample2",
      "preference": 100,
      "srcAddr": "192.0.2.1"
    }
  ]
}

@Motok1 Motok1 changed the title Add the color and preference elements to the LSP (SR Policy) structure. Add the color and preference elements to the LSP (SR Policy) structure Nov 2, 2022
Copy link
Member

@watal watal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@watal watal merged commit b1f05c8 into main Nov 2, 2022
@watal watal deleted the feature/update_lsp_list branch November 2, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants