1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add VRF support

This commit is contained in:
checktheroads
2019-10-02 01:18:01 -07:00
parent 7df02dc3b4
commit 12d9a7f7cd
2 changed files with 10 additions and 2 deletions

View File

@ -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