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

ospf: northbound/state does not show sub-tlvs #49

Closed
nrybowski opened this issue Mar 14, 2025 · 2 comments · Fixed by #53
Closed

ospf: northbound/state does not show sub-tlvs #49

nrybowski opened this issue Mar 14, 2025 · 2 comments · Fixed by #53
Assignees

Comments

@nrybowski
Copy link
Member

Here is a sample of an intra-area-prefix TLV that should contain a BIER sub-tlv.

{
    "lsa-id": "0.0.0.0",
    "adv-router": "0.0.0.6",
    "decode-completed": true,
    "raw-data":  "00:06:a0:29:00:00:00:00:00:00:00:06:80:00:00:02:23:6c:00:54:00:00:a0:21:00:00:00:00:00:00:00:06:00:06:00:30:00:00:00:00:80:22:00:00:fc:00:00:00:00:00:00:00:00:00:00:00:00:00:00:05:00:2a:00:14:00:00:00:06:00:00:00:00:00:2a:00:08:80:00:00:00:30:00:00:00",
     "ospfv3": {
         "header": {
         "lsa-id": 0,
             "age": 46,
             "type": "ietf-ospfv3-extended-lsa:ospfv3-e-intra-area-prefix-lsa",
             "adv-router": "0.0.0.6",
             "seq-num": 2147483650,
             "checksum": "0x236c",
             "length": 84
           },
           "body": {
               "ietf-ospfv3-extended-lsa:e-intra-area-prefix": {
                   "referenced-ls-type": 40993,
                   "referenced-link-state-id": 0,
                   "referenced-adv-router": "0.0.0.6",
                   "e-intra-prefix-tlvs": [
                       {
                           "intra-prefix-tlv": {
                           "metric": 0,
                           "prefix": "fc00::5/128",
                           "prefix-options": {
                               "prefix-options": [
                                   "la-bit"
                                ]
                           },
                           "sub-tlvs": [
                               {}
                           ]
                       }
                   }
               ]
           }
       }
   }
}

I wanted to set myself as assignee for this issue but I don't have permissions to do so :)

@rwestphal
Copy link
Member

I wanted to set myself as assignee for this issue but I don't have permissions to do so :)

You should have now :) Let me know if you need a hand on the state callbacks.

@nrybowski
Copy link
Member Author

Yep, thanks!

@nrybowski nrybowski linked a pull request Mar 16, 2025 that will close this issue
1 task
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 a pull request may close this issue.

2 participants