File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5199,7 +5199,7 @@ def add_vrf(ctx, vrf_name):
5199
5199
"""Add vrf"""
5200
5200
config_db = ctx .obj ['config_db' ]
5201
5201
if not vrf_name .startswith ("Vrf" ) and not (vrf_name == 'mgmt' ) and not (vrf_name == 'management' ):
5202
- ctx .fail ("'vrf_name' does not start with Vrf, mgmt or management!" )
5202
+ ctx .fail ("'vrf_name' is not start with Vrf, mgmt or management!" )
5203
5203
if len (vrf_name ) > 15 :
5204
5204
ctx .fail ("'vrf_name' is too long!" )
5205
5205
if (vrf_name == 'mgmt' or vrf_name == 'management' ):
@@ -5214,7 +5214,7 @@ def del_vrf(ctx, vrf_name):
5214
5214
"""Del vrf"""
5215
5215
config_db = ctx .obj ['config_db' ]
5216
5216
if not vrf_name .startswith ("Vrf" ) and not (vrf_name == 'mgmt' ) and not (vrf_name == 'management' ):
5217
- ctx .fail ("'vrf_name' does not start with Vrf, mgmt or management!" )
5217
+ ctx .fail ("'vrf_name' is not start with Vrf, mgmt or management!" )
5218
5218
if len (vrf_name ) > 15 :
5219
5219
ctx .fail ("'vrf_name' is too long!" )
5220
5220
syslog_table = config_db .get_table ("SYSLOG_SERVER" )
You can’t perform that action at this time.
0 commit comments