diff --git a/sa/profiles/Juniper/JUNOS/get_interfaces.py b/sa/profiles/Juniper/JUNOS/get_interfaces.py index becf4eef3332c85b5aefca8c13237b276b2b7d47..10b125240302c925009bbec493a31710ffe6eb27 100644 --- a/sa/profiles/Juniper/JUNOS/get_interfaces.py +++ b/sa/profiles/Juniper/JUNOS/get_interfaces.py @@ -32,7 +32,7 @@ class Script(BaseScript): TIMEOUT = 240 BULK = False - rx_phys = re.compile(r"\S+\sinterface:\s(?P\S+)\s*,\s", re.MULTILINE) + rx_phys = re.compile(r"\S+\sinterface:\s(?P\S+)(?: \(\S+, \S+\))?\s*, ", re.MULTILINE) rx_phy_name = re.compile( r"^Physical interface: (?P\S+)" r"( \(\S+, \S+\))?( \(Extended Port)?\s*, "