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 Jun 13, 2022
1 parent 380339c commit 1690da7
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 @@ -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
Expand Down

0 comments on commit 1690da7

Please sign in to comment.