Commit Graph

56 Commits

Author SHA1 Message Date
wanghuaz
8e4f81a2b3 Fixed the issue that --makedhcp option is not working in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 07:06:38 +00:00
wanghuaz
5e5f2d5ac8 Output the makedhcp errors in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 03:04:56 +00:00
wanghuaz
e1fbb38a73 Added hcp attribute in the stanza and xml output of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 02:39:38 +00:00
wanghuaz
8583cffdc4 Make sure the otherinterfaces attribute value is always up to date
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 16:33:31 +00:00
wanghuaz
579af7d1e0 write the otherinterfaces attributes with discoveried IPs instead of ip attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 14:04:05 +00:00
wanghuaz
a3ccaaba90 Update otherinterfaces attribute in resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 09:12:46 +00:00
wanghuaz
25cadc1e29 For HMC, we should not out id and parent attribute in stanza or xml format. Remove these two attributes in stanza and xml formatting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 09:33:56 +00:00
wanghuaz
53031e65db Fixed bug 2987151: makedhcp have one issue with a clean DHCP configuration file on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 06:56:26 +00:00
wanghuaz
67d40f426a Fixed one issue that --resetnet option in lsslp should update the otherinterfaces attribute if resetnet succeed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 05:59:05 +00:00
wanghuaz
b249bcca4d get hostsname from hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 08:33:08 +00:00
wanghuaz
2dcb36dcb4 The original perl code to handle the children's response doesn't work in some systems, change to another way
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 02:57:06 +00:00
wanghuaz
2b1ab27d10 Update the login name for HMC/FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 13:16:09 +00:00
wanghuaz
ee4fa1e7f7 Add another check to determine if the discovered hardware is new or not in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 08:42:55 +00:00
wanghuaz
330831300f Updated man page, fixed one issue for management module, -n flag support, read hostnames from name resolusion if no -M flag for hardware discovery feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-09 08:58:10 +00:00
wanghuaz
accf1ee65c Updated usage for lsslp, make support for MM, support raw output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 15:56:18 +00:00
wanghuaz
b9dc705795 Updated output of lsslp command and add the support for FSP redundancy. Also handled the case that there is hub during FSP/BPA and switch in switchport mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-06 14:00:25 +00:00
wanghuaz
0ceb572421 code checkin for hardware discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 16:36:16 +00:00
wanghuaz
d8e7b73f26 Part code check for class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:12:33 +00:00
wanghuaz
c3e51d1da8 Correct some errors in the stanza and xml output of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 09:12:14 +00:00
zhanx
75cddb7df3 Fixed the wrong setting of mgt in stanza and xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 16:19:15 +00:00
wanghuaz
75b0a4417b Add -n option for lsslp to only show and write the newly discovered hardwares
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 14:29:02 +00:00
zhanx
ceea26ca17 hardware discovery enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 08:10:42 +00:00
wanghuaz
06aaca242e Remove useless code in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 13:32:33 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00
zhanx
fbf9b8458b Fix bug 2894526 lsslp creates same IP with different hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 10:37:13 +00:00
wanghuaz
a0d1a965a3 Fixed defect: 2884736--lsslp -w -s BPA should not create new node definition if the node exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-03 02:50:39 +00:00
zhanx
c48d753668 Fix bug 2884407 lsslp -i -w FSP should not reset previously defined hcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 13:46:52 +00:00
zhanx
cc77e78933 Fix bug 2883802 lsslp print error when device have IPV6 addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-22 09:55:42 +00:00
zhanx
62192c361c Fix bug 2872935 lsslp/mkhwconn is not setting up ppc table with P6 He
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 11:45:26 +00:00
zhanx
7b40214de1 correct the wrong lsslp.pm checked-in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 13:37:44 +00:00
zhanx
cadaa488f2 2882115 lsslp should uses predefined BPA/FSPs nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 11:31:17 +00:00
zhanx
7844d8cf91 Update rspconfig man page, to add network function for FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 11:43:46 +00:00
zhanx
6f5cefd9fb Fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2826734 lsslp can only write one BPA side into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 19:45:28 +00:00
lissav
1919a52ca7 remove Linux check around XML::Simple::PREFERRED_PARSER
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 16:20:35 +00:00
zhanx
4bbc896185 Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 19:35:44 +00:00
zhanx
6bec9dd95a Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 16:59:24 +00:00
zhanx
d79ae69084 Fix defect 2822229 lsslp should set the correct node name in xCAT DB for BPA; 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 15:28:11 +00:00
zhanx
a574da32af Fix defects: 2824357 lsslp is providing duplicate records for FSP and BPAs;2824601 lsslp should get correct hostname for BPA nodes;2824605 lsslp -w should update /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 20:02:39 +00:00
zhanx
3ec3088339 CRHS-like function 3rd code drop. Detailed code changes: 1. Fix lsslp problems found in NCSA environment, inlcuding adding more code to better identify nodes with same switch port; adding interval message when discovering; adding flag '-H' for lsslp. 2. Change lsconn to support HMC node range. 3. Change rspconfig to support change FSP nodes to dynamic IP addresses. 4. Fix bug for rspconfig (when running rspconfig to update network configuration for FSP/BPA nodes, it always return fails, though the actual result can be successful.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 18:46:13 +00:00
lissav
dd2b9d10af update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 15:13:46 +00:00
zhanx
d7be6ec60d Fix bug for lsslp on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 09:52:10 +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
zhanx
eaf9e47a7d lsslp second phase code drop(without man page)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 09:06:39 +00:00
zhanx
1daf36607e fix 2 bug in lsslp: 1. lsslp will run into error when there is no node in nodelist table. 2. lsslp cannot write FSP/BPA into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-06 08:44:57 +00:00
bp-sawyers
246e281614 Fix bug in lsslp in which is displayed FSPs as IVMs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-04 16:55:59 +00:00
zhanx
e3a3ca1216 SLP automatic naming for FSP/BPA (via set DHCP configuration)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-14 07:07:38 +00:00
zhanx
6b3f203911 SLP automatic naming for HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-30 13:45:36 +00:00
linggao
d0280bf9a2 bug fix in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 15:31:17 +00:00
sakolish
d48aee4d9e Added OpenSLP support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:44:45 +00:00
sakolish
232ffd88c4 Fixed output displaying IVM instead of FSP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-24 18:38:14 +00:00