netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
787 stars 104 forks source link

[Bug]: Juniper subscriber interfaces classified as type internal #854

Open mazesys opened 1 year ago

mazesys commented 1 year ago

Suzieq version

0.20.0

Install Type

container

Python version

whatever is bundled with your container

Impacted component

sq-poller

Steps to Reproduce

Add a Juniper MX that's doing subscriber management to the inventory, poll it, then when you show the interfaces in suzieq-cli it shows the subscriber related interfaces have been classified as internal e.g.

suzieq> interface show columns='hostname ifname type' type=all
    hostname             ifname                       type
3   bng1.lab     ae2.3221225740                   internal
9   bng1.lab  demux0.3221225741                   internal

The interfaces with the long string of digits are dynamic interfaces created automatically by Junos as part of subscriber management, ae2.3221225740 is the underlying interface that has been discovered using dynamic VLAN sensing and demux0.3221225741 is the IP demux interface that is created when the subscriber comes online e.g. via DHCP.

Expected Behavior

The interfaces should be classified as something other than internal, subscriber maybe?

Observed Behavior

Subscriber related interfaces were classified as internal interfaces and thus not visible in the default output of interface show.

Screenshots

Additional Context