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
I'm trying to edit the configuration in topology-with-config.xml by loading it into netconfd as --startup configuration.
When netconfd starts up, I get an error saying Error: load startup config failed (max-access exceeded).
This is quite strange to me, since I have both --superuser='$USER' and --access-control=off as parameters, and I see no mention of any access restrictions in the file. And I'm just trying to edit a single .xml file, what do I need special access for anyways?
If instead I'm loading either topology.xml, config-host0.xml, or config-br0.xml, it starts up just fine, and I can inspect and modify it with yangcli. And I can also inspect the configuration of my computer.
My guess is that netconfd actually tries to set up some real nodes on the real network with the configuration of the XML, and it obviously can't do that.
Is there a "sandbox" or "dry-run" mode in netconfd that effectively turns it into a glorified XML editor (with YANG conformance checking), completely isolating the configuration from "reality" (the host it runs on, and its network)? Or is there any other tool I can use for this purpose?
The text was updated successfully, but these errors were encountered:
You are right. The problem is actually caused by a bug that happens with all configurations containing anyxml (e.g. /networks/network/node/config is anyxml). I will fix that and then close the issue. We usually run netconfd on devices and not NMS (where topology with node configurations is relevant).
I'm trying to edit the configuration in
topology-with-config.xml
by loading it intonetconfd
as--startup
configuration.When
netconfd
starts up, I get an error sayingError: load startup config failed (max-access exceeded)
.This is quite strange to me, since I have both
--superuser='$USER'
and--access-control=off
as parameters, and I see no mention of any access restrictions in the file. And I'm just trying to edit a single.xml
file, what do I need special access for anyways?If instead I'm loading either
topology.xml
,config-host0.xml
, orconfig-br0.xml
, it starts up just fine, and I can inspect and modify it withyangcli
. And I can also inspect the configuration of my computer.My guess is that
netconfd
actually tries to set up some real nodes on the real network with the configuration of the XML, and it obviously can't do that.Is there a "sandbox" or "dry-run" mode in
netconfd
that effectively turns it into a glorified XML editor (with YANG conformance checking), completely isolating the configuration from "reality" (the host it runs on, and its network)? Or is there any other tool I can use for this purpose?The text was updated successfully, but these errors were encountered: