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

FRR and Sysrepo Issue #18356

Open
DennyAgussy opened this issue Mar 10, 2025 · 1 comment
Open

FRR and Sysrepo Issue #18356

DennyAgussy opened this issue Mar 10, 2025 · 1 comment

Comments

@DennyAgussy
Copy link

Hi

Environment:

FRR - Master
Ubuntu - 20.04.6 LTS (Focal Fossa)
Linux - 5.15.0-131-generic
Libyang - 2.1.148
sysrepo - v2.2.150
I have configured FRR to use sysrepo as the datastore and enabled the option “-M sysrepo” for required daemons. Sysrepo is configured with netopeer2 as a netconf-server. Clixon(nms) is connected to the Netconf server over SSH.

Problem Statement:

I was able to configure the same module frr-isisd as mentioned in the FRR - plugin sysrepo from the Clixon cli and I could able to see this configuration in VTYSH. But when I configure the same isisd instance from vtysh, the configuration is not being updated into sysrepo, hence couldn’t able to pull the configuration into clixon. Then I tired with creating an interface as isisd is converted into MGMTD partially with issues but zebra is converted completed but the result is same configuration is not being loaded into sysrepo.
Let’s keep this configuration aside even the management interfaces in kernel are not being loaded into the sysrepo.

Configuration:

Required daemons are started with “-M sysrepo”:
/usr/lib/frr/zebra -d -F traditional -A 127.0.0.1 -s 90000000 -M sysrepo
/usr/lib/frr/mgmtd -d -F traditional -A 127.0.0.1 -M sysrepo
/usr/lib/frr/isisd -d -F traditional -A 127.0.0.1 -M sysrepo

Required yang modules are imported into sysrepo:
frr-affinity-map
frr-bfdd
frr-deviations-ietf-interfaces
frr-filter
frr-if-rmap
frr-interface
frr-isisd
frr-nexthop
frr-ripd
frr-ripngd
frr-route-map
frr-route-types
frr-routing
frr-vrf
frr-zebra
ietf-interfaces
ietf-ip

Clarification Required:

  1. Is there any configuration I’m missing
  2. When there is any change in any configuration what is the tigger which should load configuration into sysrepo
  3. Why the management interfaces are not exposed by FRR

I would highly appreciate your suggestions. @ton31337 @donaldsharp

@ashred-lnx
Copy link
Contributor

ashred-lnx commented Mar 11, 2025

Based on this comment above, I see that the configurations tried via VTYSH failed.

Can you provide the exact configuration that was tried?

For the config to work, it should support the transactional CLI - https://docs.frrouting.org/projects/dev-guide/en/latest/northbound/transactional-cli.html

All configuration commands need to be converted to the new northbound model. Please check isisd/isis_nb_config.c, to see if that config is supported.

tagging @donaldsharp and @choppsv1 to see if I am making sense.

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

No branches or pull requests

2 participants