-
Notifications
You must be signed in to change notification settings - Fork 659
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
Support to fetch multiple link information from a single OSPF Router-LSA is missing. #1074
Comments
Please find below a sample router-lsa with 5 links as an example.
Type ID Adv Rtr Seq Age Opt Cksum Len |
Agreed, this looks like a bug in the ospf lsdb model. Here's a proposed tree, inserting a list of lsa-ids into the router-lsa container. Let me know if this looks correct and I'll make the changes to the yang
|
Please find some suggestions below.
|
I think I understand what you are saying regarding link-id just being one piece of information amongst several. I've suggested using just Here is the proposed tree with
|
Sorry, missed to mention this before. type should be inside link(new list).
|
@DonaMaria2024 see PR at #1080 |
This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days. |
I have an update pending on #1080, but I do still intend to fix this |
One OSPF Router LSA can have multiple link informations in it.
But the openconfig does not have an option to print multiple link info.
Openconfig supports fetching of single link info only.
OSPF Router LSA structure as per RFC 2328 section A.4.2 Router-LSAs is as below.
Openconfig definition of Router LSA is as below.
https://openconfig.net/projects/models/schemadocs/yangdoc/openconfig-network-instance.html#network-instances-network-instance-protocols-protocol-ospfv2-areas-area-lsdb-lsa-types-lsa-type-lsas-lsa-router-lsa
I think attributes as such as type, link-id, link-data, metric, number-tos-metrics, and types-of-service should be inside a list, so that multiple link information from a single Router LSA can be fetched.
Please look into this.
The text was updated successfully, but these errors were encountered: