summaryrefslogtreecommitdiff
path: root/ncserver/module/nms_ifupdownng.py
diff options
context:
space:
mode:
Diffstat (limited to 'ncserver/module/nms_ifupdownng.py')
-rw-r--r--ncserver/module/nms_ifupdownng.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/ncserver/module/nms_ifupdownng.py b/ncserver/module/nms_ifupdownng.py
index 9d1d19b..55405d4 100644
--- a/ncserver/module/nms_ifupdownng.py
+++ b/ncserver/module/nms_ifupdownng.py
@@ -173,12 +173,9 @@ def set_param(iface: str, parameter: str, value):
"""Set the parameter for the specified interface."""
_load_config()
+ # Allow creation of new interfaces from NETCONF.
if iface not in _CONFIG.keys():
- LOGGER.warning(
- _("attempted to set parameter %s for non-existent interface %s"),
- parameter, iface
- )
- return
+ _CONFIG[iface] = list()
# implement this.
raise NotImplementedError