switchdiscovery (switchdiscovery.pm) appears to only support snmpv1. All snmpwalk commands are hard coded to -v1. The documentation mentions snmpv3 support. https://xcat-docs.readthedocs.io/en/stable/advanced/networks/switchdiscover/switch_based_switch_discovery.html?highlight=switch%20discovery
The switches table supports snmpversion=3, and setting the privacy and auth protocols, but not the privacy and auth keys which are required for snmp v3 privAuth. The v3 setup seems to be incomplete, and not implemented into switchdiscovery. switches.5 - xCAT 2.16.3 documentation (xcat-docs.readthedocs.io)<https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man5/switches.5.html?highlight=switches> For reference, the pdu.pm has v3 support that matches the info that comes from the pdu table ... } elsif ($seclevel eq "authPriv") { $snmpcmd = "snmpwalk -v3 -u $snmpuser -a $authtype -A $authkey -l $seclevel -x $privtype -X $privkey"; Is this an oversight/gap in functionality or am I missing something?
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user