Skip to content

Commit

Permalink
Merge pull request #372 from Josephine-Rutten/feature.extendinterface…
Browse files Browse the repository at this point in the history
…name

Increased interface types
  • Loading branch information
indy-independence authored Oct 8, 2024
2 parents b7f5c02 + bf9d9a9 commit fa235d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnaas_nms/devicehandler/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit fa235d7

Please sign in to comment.