mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
add VRF support
This commit is contained in:
@ -36,6 +36,8 @@ class Construct:
|
||||
"""Formats query target based on NOS requirement"""
|
||||
if self.device.nos in target_format_space:
|
||||
_target = re.sub(r"\/", r" ", target)
|
||||
else:
|
||||
_target = target
|
||||
log.debug(f"Formatted target: {_target}")
|
||||
return _target
|
||||
|
||||
|
Reference in New Issue
Block a user