From 7bd6e4ef5faa8595f1399529d1e8c65ca4dc5768 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 25 Apr 2023 21:40:40 +0200 Subject: vrf: T5150: fix improper config dict generation for individual vni configuration --- src/conf_mode/vrf_vni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/vrf_vni.py') 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): -- cgit v1.2.3