Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifType selection in Switcher\snmpPollSwitchPorts() excludes useful ports #695

Closed
nickhilliard opened this issue Feb 26, 2021 · 1 comment

Comments

@nickhilliard
Copy link
Member

ISSUE TYPE

Bug Report

VERSION
IXP Manager >= 5.0
SUMMARY

snmpPollSwitchPorts() restricts the type of port to ifType ethernetCsmacd, l2vlan and l3ipvlan, because most NOS's include various types of virtual port which are not relevant to IXP operation. Sometimes, some vendors (e.g. Juniper) use a richer set of ports, and a wider selection of ifTypes. If these ifTypes were enabled in the general case, IXP-M operators would be presented with lots of port types that were irrelevant to ixp service.

This is a traditional user interface situation: we need a balance between hiding the inherent complexity of what's going on, while enabling enough flexibility to allow the operator to do what they need, while ensuring that the underlying code base and config is maintainable as a long term proposition.

EXPECTED RESULTS

juniper irb interface and subinterfaces should appear.

ACTUAL RESULTS

juniper irb interface and subinterfaces don't appear.

Proposals for fix

couple of options here:

  • a flag per installation or per switch to disable the ifType check in snmpPollSwitchPorts()
  • a select list to allow additional ifTypes to be polled
  • other?
@barryo barryo closed this as completed in cb97b88 Sep 18, 2021
@barryo
Copy link
Member

barryo commented Sep 18, 2021

Other option chosen - documented here: https://docs.ixpmanager.org/usage/switches/#snmp-and-port-types-iftype

In 10+ years, this is a real corner case and this is the option that preserves the balance [of] hiding the inherent complexity of what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants