mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
Merge pull request #3518 from tindelli/master
blacklist HP trunk interfaces
This commit is contained in:
commit
ddc06a3fa5
@ -147,6 +147,12 @@ OID, and have the switch table port value match exactly the format suggested by
|
||||
return 0;
|
||||
}
|
||||
|
||||
#HP calls their PortChannel interfaces "trunks"
|
||||
#designated as Trk1, etc. don't match those
|
||||
if ($namepersnmp =~ /Trk/) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#The blacklist approach has been exhausted. For now, assuming that means good,
|
||||
#if something ambiguous happens, the whitelist would have been:
|
||||
#'Port','Port #','/' (if namepercfg has no /, then / would be...),
|
||||
|
Loading…
x
Reference in New Issue
Block a user