[ixpmanager] Juniper IRB interface?

Nick Hilliard (INEX) nick at inex.ie
Thu Feb 25 22:25:19 GMT 2021


Pete Ashdown wrote on 25/02/2021 20:58:
> Thanks, Nick.  No, it doesn't come up on the list.  Only xe-*/*/*, 
> em0/em1, and fxp0 are listed. I should also add that the aggregate 
> ports, ae* are missing as well.

Can you try the attached patch and see if they appear?

# cd /srv/ixpmanager
# patch -p1 < juniper.patch

Nick
-------------- next part --------------
diff --git a/database/Entities/Switcher.php b/database/Entities/Switcher.php
index 88f31594..e74f37c5 100644
--- a/database/Entities/Switcher.php
+++ b/database/Entities/Switcher.php
@@ -769,6 +769,8 @@ class Switcher
 
             // we're only interested in Ethernet ports here (right?)
             if( $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_ETHERNETCSMACD
+                && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_OTHER
+                && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_IEEE8023ADLAG
                 && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L2VLAN
                 && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L3IPVLAN ) {
                 continue;


More information about the ixpmanager mailing list