From 113d8c3aa795868b1240eca5110a616f8160ac7e 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 044668f0ed..59425c59c9 100644 --- a/config/main.py +++ b/config/main.py @@ -4939,7 +4939,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