From c22c4e90f762942b34f3d62e419f6a68cdeb0347 Mon Sep 17 00:00:00 2001
From: sever-sever <v.gletenko@vyos.io>
Date: Fri, 11 Jun 2021 12:40:17 +0000
Subject: containers: T3614: Fix for network names with hyphen

Fix for containers and newtorks names with hyphen in names.
We shouldn't mangle tagNode values.
---
 src/conf_mode/containers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py
index 5efdb6a2f..21b47f42a 100755
--- a/src/conf_mode/containers.py
+++ b/src/conf_mode/containers.py
@@ -75,7 +75,7 @@ def get_config(config=None):
 
     base = ['container']
     container = conf.get_config_dict(base, key_mangling=('-', '_'),
-                                     get_first_key=True)
+                                     get_first_key=True, no_tag_node_value_mangle=True)
     # We have gathered the dict representation of the CLI, but there are default
     # options which we need to update into the dictionary retrived.
     default_values = defaults(base)
-- 
cgit v1.2.3