2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-04 04:20:08 +00:00

56 Commits

Author SHA1 Message Date
Matt Ezell
bae354316e Quiet some debug messages during discovery 2017-10-31 21:13:20 -04:00
cxhong
6892d88582 xcatprob switch_macmap command does not support IB switches (#4109) 2017-10-16 22:02:41 -05:00
cxhong
4ef6cf663c Support Vlan info of Cumulus Switch for switch_macmap command (#4050)
* Support Vlan info of Cumulus Switch for switch_macmap command

* merge the code from PR #4022

* fill in mac info via ssh instead of snmp command
2017-10-12 21:05:47 -05:00
yangsong
55e1dde86f fix issue Switch-based node discovery failed on cumulus switch #4007 (#4022) 2017-09-28 14:18:45 +08:00
Jarrod Johnson
f93f5e8e2c Workaround switches that report ifindex in bridge (#4019)
Some switches report ifindex instead of bridge index.

This is not compliant behavior.  However, we can detect
that every last mac was a dead end, and assume this is
the case to try to get better result.  This won't work
if there is overlap in interface and bridge indexes, so
in that case, the spec compliant behavior is assumed.
2017-09-27 21:31:30 -05:00
Casandra Qiu
e52f3e34ec re-modify the error message from switch_macmap output 2017-09-12 16:36:07 -04:00
immarvin
ce8bb55e1d switch based node discovery enhancement: 1)obtain mac table from cumulus switch via ssh;2)remove unnecessary sleep 2 after node discovery 2017-09-12 04:35:56 -04:00
Matt Ezell
ad7793909c Skip built-in MAC addresses on switches
Newer Cumulus versions show a MAC address on each port. Those MACs
aren't discoverable devices, so skip them to clean up the
'xcatprobe switch_macmap' output.
2017-08-17 00:05:45 -04:00
Tom Indelli
7841a6a015 blacklist HP trunk interfaces 2017-07-20 14:40:48 -05:00
Casandra Qiu
2f963800e8 Add Vlan and MTU to switch_macmap output 2017-06-28 16:55:15 -04:00
Victor Hu
6e7f374a4a Improve the output message when switch information fails to refresh 2017-01-25 16:01:41 -05:00
XuWei
409e32bd70 modified depending on comments 2016-11-08 02:32:01 -05:00
XuWei
74dca9c43e fix issue 1650, help to resolve errors 2016-11-07 02:43:09 -05:00
Casandra Qiu
8e834c5e45 using hashtable for nodetype 2016-09-08 10:37:42 -04:00
Casandra Qiu
7db31b82a5 create temp nodetype hash type 2016-09-07 12:59:46 -04:00
Casandra Qiu
aad25d8cb5 Checking nodetype to distinguish between node/switch discovery 2016-09-02 12:18:21 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
ertaozh
77a563ed89 Fix issue 1371: xcatprobe switch-macmap - could not get valid information 2016-07-05 22:15:20 -04:00
ertaozh
80e6a947b8 Fix issue 1371: xcatprobe switch - could not get valid information while using switch-macmap 2016-06-30 02:47:37 -04:00
zet809
98caf993bf Fix MacMap.pm syntax issue
The issue is not using '%' when getting keys for a hash variable.
2016-06-01 11:40:10 +08:00
ertaozh
c5bdb1da87 add command switchprobe to retrieve information from switches and/or check whether it is ready for MAC searchding 2016-05-30 02:50:23 -04:00
ertaozh
b30aa848a1 Support SNMPv2c for Juniper switch for switch based hardware discovery, format the output of disk info 2015-06-08 03:42:39 -04:00
jbjohnso
4624ff5fe6 Back off change to discovery process to care one way or another about 'primary' interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 13:42:33 +00:00
linggao
bfd8e946be changes for multi vlan support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:00:45 +00:00
zhaoertao
571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
jjhua
b11b8a8d08 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 05:54:14 +00:00
jbjohnso
47b6c89a4c Have MacMap throttle itself to 64 switches at a time to fend off memory starvation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 17:36:22 +00:00
jbjohnso
416021e681 Put more useful messages in logging around discovery indicating failed discovery attempts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 17:37:47 +00:00
jbjohnso
d6ed91fd9f 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
2012-01-27 15:12:06 +00:00
jbjohnso
8342e0fb52 Allow macmap's convenient walk function to be used elsewhere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-30 19:18:37 +00:00
lissav
8ddf863e48 Comment out use/require Data:Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:49:13 +00:00
jbjohnso
8562e5e454 -Permit '.0' to exist after portname for Juniper setups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-01 15:43:34 +00:00
jbjohnso
30a64843bb -document exploration of snmp presentation of lldp information across intelligent cluster portfolio
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-13 20:01:37 +00:00
jbjohnso
6c0b5973ea -Some fixups and 'scaffolding' for qbridge mib queries and manipulation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-01 13:07:03 +00:00
jbjohnso
62464a182d fix another problem in switch code change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 15:18:45 +00:00
jbjohnso
4d5fda5c17 -Fix problems with refactoring session open
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 15:11:26 +00:00
jbjohnso
fddc3f6a5c -Refactor SNMP session creation code to be in one place
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 14:16:31 +00:00
jbjohnso
abb63e2111 -Some documentation showing the plan for rvlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-28 20:30:38 +00:00
jbjohnso
df0a17d223 -Have 'getAllNodeAttribs' honor nodecol
-Have MacMap use getAllNodeAttribs to allow for noderange described switches/inheritence
-Fix getbmcconfig to use a suffix that will pass complexity rules
-Fix getbmcconfig to pass through bmcport even if genpasswords is in use


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-13 18:54:26 +00:00
jbjohnso
a64c7d0a60 -bug 3031635, (really a feature to allow shortcut port names on another switch syntax)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 14:48:47 +00:00
jbjohnso
aa5c2d14d3 -Support grabbing the native vlan on trunk ports for Cisco equipment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 20:18:17 +00:00
jbjohnso
066d705b64 Fix 3com logic and BNT port detection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 03:33:59 +00:00
bp-sawyers
11977ffba4 - change inclusion of SNMP.pm back to a hard "use" stmt to fix bug 2691044
- a few db attr description improvements

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:39:38 +00:00
jbjohnso
01fa8a148c -Eliminate 'use SNMP' from places to get memory consumption down
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 15:47:48 +00:00
zhanx
08aa2bcd99 fix 2 problem in lsslp (source forge defect 2608905):problem 1:sslp cannot always find hosts via snmp;problem 2:lsslp cannot distinguish nodes if their BPA has not been defined.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-24 11:02:34 +00:00
jbjohnso
1b18fb5ada -Suppress expected errors and provide a hint on a common cisco misconfiguration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 16:25:55 +00:00
zhanx
0c448cc86b lsslp second phase code drop(without man page)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 08:58:29 +00:00
jbjohnso
e8bfba2e07 -Fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-12 20:50:44 +00:00
jbjohnso
67edc08178 -Explicitly block contemplation of stacking ports in mac discovery
-Prevent Cisco switches from being scanned by community string indexes without a valid index
-Prevent scanning ports on a cisco for which there is no entry in cisco membership mib and it would be required


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-12 19:19:13 +00:00
jbjohnso
ac41a46822 -Implement SNMPv3 support for scanning switches (still default to v1)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-29 03:08:34 +00:00