From 1690da7d92490196da129061005406aec6d07680 Mon Sep 17 00:00:00 2001 From: Preetham Singh Date: Fri, 10 Jun 2022 23:37:53 -0700 Subject: [PATCH] This commit addresses below issues: 1. Short Format Subinterface getting deleted after vrf binding . Issue 10802:https://github.com/Azure/sonic-buildimage/issues/10802 2. Do not allow short format subinterface to be created without encap vlan configuration. Issue 10878: https://github.com/Azure/sonic-buildimage/issues/10878 --- config/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/main.py b/config/main.py index 3dd783bce8..ff43be7e05 100644 --- a/config/main.py +++ b/config/main.py @@ -4792,7 +4792,7 @@ def bind(ctx, interface_name, vrf_name): subintf['vrf_name'] = vrfname config_db.set_entry(interface_type, alias, subintf) else: - config_db.set_entry(table_name, interface_name, {"vrf_name": vrf_name}) + config_db.set_entry(table_name, interface_name, {"vrf_name": vrf_name}) # # 'unbind' subcommand