Mask Trunk ports from being treated as 'normal' ports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d6b6d2e722
commit
d6ed91fd9f
@ -117,7 +117,7 @@ OID, and have the switch table port value match exactly the format suggested by
|
||||
#at this point we know the string the user wanted does exist on this port, now we move on to non-ethernet ports that may ambiguously match the user request as well
|
||||
|
||||
#stop contemplating vlan, Nu, stacking ports, and console interfaces
|
||||
if (($namepersnmp =~ /vl/i) or ($namepersnmp =~ /Nu/) or ($namepersnmp =~ /onsole/) or ($namepersnmp =~ /Stack/)) {
|
||||
if (($namepersnmp =~ /vl/i) or ($namepersnmp =~ /Nu/) or ($namepersnmp =~ /onsole/) or ($namepersnmp =~ /Stack/) or ($namepersnmp =~ /Trunk/)) {
|
||||
return 0;
|
||||
}
|
||||
#broken up for code readablitiy, don't check port channel numbers or CPU
|
||||
|
Loading…
Reference in New Issue
Block a user