diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/protocols_isis.py | 2 | ||||
| -rwxr-xr-x | src/conf_mode/protocols_ospf.py | 2 | ||||
| -rwxr-xr-x | src/conf_mode/protocols_ospfv3.py | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py index af2937db8..ecca87db0 100755 --- a/src/conf_mode/protocols_isis.py +++ b/src/conf_mode/protocols_isis.py @@ -129,7 +129,7 @@ def verify(isis):              vrf = isis['vrf']              tmp = get_interface_config(interface)              if 'master' not in tmp or tmp['master'] != vrf: -                raise ConfigError(f'Interface {interface} is not a member of VRF {vrf}!') +                raise ConfigError(f'Interface "{interface}" is not a member of VRF "{vrf}"!')      # If md5 and plaintext-password set at the same time      for password in ['area_password', 'domain_password']: diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py index fbb876123..b73483470 100755 --- a/src/conf_mode/protocols_ospf.py +++ b/src/conf_mode/protocols_ospf.py @@ -196,7 +196,7 @@ def verify(ospf):                  vrf = ospf['vrf']                  tmp = get_interface_config(interface)                  if 'master' not in tmp or tmp['master'] != vrf: -                    raise ConfigError(f'Interface {interface} is not a member of VRF {vrf}!') +                    raise ConfigError(f'Interface "{interface}" is not a member of VRF "{vrf}"!')      # Segment routing checks      if dict_search('segment_routing.global_block', ospf): diff --git a/src/conf_mode/protocols_ospfv3.py b/src/conf_mode/protocols_ospfv3.py index ee1fdd399..cb21bd83c 100755 --- a/src/conf_mode/protocols_ospfv3.py +++ b/src/conf_mode/protocols_ospfv3.py @@ -138,7 +138,7 @@ def verify(ospfv3):                  vrf = ospfv3['vrf']                  tmp = get_interface_config(interface)                  if 'master' not in tmp or tmp['master'] != vrf: -                    raise ConfigError(f'Interface {interface} is not a member of VRF {vrf}!') +                    raise ConfigError(f'Interface "{interface}" is not a member of VRF "{vrf}"!')      return None | 
