summaryrefslogtreecommitdiff
path: root/src/conf_mode/vrf_vni.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-25 21:40:40 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-25 21:40:50 +0200
commit7bd6e4ef5faa8595f1399529d1e8c65ca4dc5768 (patch)
tree580b8c5e9ca2e01105e4d16de4e2746423e99f42 /src/conf_mode/vrf_vni.py
parent728aa02c80c2ec776e431b0864660f7cd940a14f (diff)
downloadvyos-1x-7bd6e4ef5faa8595f1399529d1e8c65ca4dc5768.tar.gz
vyos-1x-7bd6e4ef5faa8595f1399529d1e8c65ca4dc5768.zip
vrf: T5150: fix improper config dict generation for individual vni configuration
Diffstat (limited to 'src/conf_mode/vrf_vni.py')
-rw-r--r--src/conf_mode/vrf_vni.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vrf_vni.py b/src/conf_mode/vrf_vni.py
index 47b2200eb..6ea714d8b 100644
--- a/src/conf_mode/vrf_vni.py
+++ b/src/conf_mode/vrf_vni.py
@@ -39,7 +39,7 @@ def get_config(config=None):
no_tag_node_value_mangle=True, get_first_key=True)
if not tmp:
return None
- vrf = { 'name' : tmp }
+ vrf = {'name': {vrf_name: tmp}}
return vrf
def verify(vrf):