You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application allows a user to create a namespace with whichever mane he/she chooses. In this namespace, I want to run an instance of FRR.
When this happens, today I need to create a new folder under /etc/frr/ with the new namespace name and copy the configuration files from /erc/frr to the new subfolder. For each namespace, all the configuration files are the same. I am looking for a way to use the default configuration files under /etc/frr, load them to some memory location, and use them for each FRR instance I run, without the need to do file operations such as creating folders and copy files. Is there a way to do this today?
try to create a new namespace and run FRR inside it (ip net exec net1 /usr/lib/frr/frrinit.sh start namespace). It will fail as it will not be able to find the configuration files under /etc/frr/namespace
Expected behavior
I would like not to create copies of configuration files for each FRR instance running in a namespace
Actual behavior
each FRR instance running in a separate namespace needs configuration files to be copied from /etc/frr
Additional context
No response
Checklist
I have searched the open issues for this bug.
I have not included sensitive information in this report.
The text was updated successfully, but these errors were encountered:
Hi @ahmdzaki18 :
From the documenations:
-n, --vrfwnetns
When Zebra starts with this option, the VRF backend is based on Linux network namespaces. That implies that all network namespaces discovered by ZEBRA will create an associated VRF. The other daemons will operate on the VRF VRF defined by Zebra, as usual. If this option is specified when running Zebra, one must also specify the same option for mgmtd.
But zebra is running in each namespace. How can is see all the namespaces?
Thanks.
Description
My application allows a user to create a namespace with whichever mane he/she chooses. In this namespace, I want to run an instance of FRR.
When this happens, today I need to create a new folder under /etc/frr/ with the new namespace name and copy the configuration files from /erc/frr to the new subfolder. For each namespace, all the configuration files are the same. I am looking for a way to use the default configuration files under /etc/frr, load them to some memory location, and use them for each FRR instance I run, without the need to do file operations such as creating folders and copy files. Is there a way to do this today?
Version
How to reproduce
try to create a new namespace and run FRR inside it (ip net exec net1 /usr/lib/frr/frrinit.sh start namespace). It will fail as it will not be able to find the configuration files under /etc/frr/namespace
Expected behavior
I would like not to create copies of configuration files for each FRR instance running in a namespace
Actual behavior
each FRR instance running in a separate namespace needs configuration files to be copied from /etc/frr
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: