Skip to content

Commit

Permalink
Use default VRF when VRF anme is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
sumukhatv committed Sep 12, 2022
1 parent bbcdf2e commit b8c2f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ def cli_sroute_to_config(ctx, command_str, strict_nh = True):
elif 'prefix' in prefix_str:
# prefix_str: ['prefix', ip]
ip_prefix = prefix_str[1]
vrf_name = "default"
else:
ctx.fail("prefix is not in pattern!")

Expand Down

0 comments on commit b8c2f60

Please sign in to comment.