diff --git a/src/cnaas_nms/devicehandler/get.py b/src/cnaas_nms/devicehandler/get.py index da4b812a..b5a0f457 100644 --- a/src/cnaas_nms/devicehandler/get.py +++ b/src/cnaas_nms/devicehandler/get.py @@ -221,7 +221,7 @@ def get_interfaces_names(hostname: str) -> List[str]: def filter_interfaces(iflist, platform=None, include=None): # TODO: include pattern matching from external configurable file ret = [] - junos_phy_r = r"^[gx]e-([0-9]+\/)+[0-9]+$" + junos_phy_r = r"^(ge|xe|et|mge)-([0-9]+\/)+[0-9]+$" for intf in iflist: if include == "physical": if platform == "junos":