frr icon indicating copy to clipboard operation
frr copied to clipboard

Grpc/NetConf API to persist configuration in frr.conf without vtysh

Open mgiacomoli opened this issue 1 year ago • 2 comments

I'm using grpc with staticd to configure some static routes. I'd like to use grpc to also persist these configuration changes on frr.conf file. Is this possible?

Looking at the code it seems that only vtysh writes this file. I hope I'm wrong.

mgiacomoli avatar Feb 08 '24 14:02 mgiacomoli

vtysh asks daemons for their config and then consolidates that information to present to the user and to write. So yes vtysh does write the configuration but the daemons are involved.

donaldsharp avatar Feb 09 '24 14:02 donaldsharp

Thank you @donaldsharp , but my question is a bit different. My aim is to have the frr.conf configuration written on disk using grpc calls. Is it possible to achieve this?

mgiacomoli avatar Feb 13 '24 10:02 mgiacomoli

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.

github-actions[bot] avatar Aug 12 '24 01:08 github-actions[bot]

This issue will be automatically closed in the specified period unless there is further activity.

frrbot[bot] avatar Aug 12 '24 01:08 frrbot[bot]