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

Ipforwarding modify #18316

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

donaldsharp
Copy link
Member

a) Move max-multicast to a state value
b) Convert ip forwarding to yang
c) Convert ipv6 forwarding to yang

I am doing something wrong with this conversion, in that I am not seeing the config values reflected in yang when I ask for it. I do not know what I am missing or doing wrong and would like some help figuring it out. When I issue:

show mgmt get-data /frr-zebra:zebra with-defaults all
show mgmt get-data /frr-zebra:zebra with-config
show mgmt get-data /frr-zebra:zebra only-config

I do not see the ip|ipv6 forwarding yang show up there.

When I issue the
show mgmt get-config /frr-zebra:zebra I only see the default values as defined in yang

I do know that yang-conversion is being accepted by the system as that I can toggle forwarding on/off.

I also see this problem with the zapi packets command as well. It is accepted, show run reflects it and I can
stop the code and see that it is working, I just cannot get the yang data to show it.

Convert the `ip forwarding` command to use the
northbound code.

Signed-off-by: Donald Sharp <[email protected]>
This code had not been converted, convert it over.

Signed-off-by: Donald Sharp <[email protected]>
The original max-multipath state value was
put down in the middle of the config section.
It really belongs in the state, so let's move
it.

Signed-off-by: Donald Sharp <[email protected]>
@donaldsharp donaldsharp force-pushed the ipforwarding_modify branch from 6adbd05 to a4a805b Compare March 5, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant