Skip to content

Commit

Permalink
This commit addresses below issues:
Browse files Browse the repository at this point in the history
1. Short Format Subinterface getting deleted after vrf binding . Issue
10802:sonic-net/sonic-buildimage#10802
2. Do not allow short format subinterface to be created without encap
vlan configuration. Issue 10878:
sonic-net/sonic-buildimage#10878
  • Loading branch information
preetham-singh committed Jul 26, 2022
1 parent db70036 commit 113d8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 113d8c3

Please sign in to comment.