Commit Graph

996 Commits

Author SHA1 Message Date
cjhardee
6cc88808d4 Fixed a problem with missing attributes from getNodeAttributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-28 16:19:51 +00:00
cjhardee
1ed64502bb Fixed a bug I introduced when adding the ability to get multiple results from nodes and thier groups using nodels. The problem was the results had multiple entries for some attributes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-28 06:17:30 +00:00
jjhua
1ee6515cf3 use xCAT::Utils::getNodeIPaddress Function to get ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-25 04:20:15 +00:00
cjhardee
21f033432c Rewrote how attributes from a node and it's groups are looked up and added the ability to concatinate values for these attributes from mulitple sources by adding "+=NEXTRECORD" to the values in the data.
For example, if bootparams.addkcmdline for the node is "test1+=NEXTRECORD" and bootparams.addkcmdline for the group it is in is "test2", the returned values from nodels for bootparams.addkcmdline will be "test1 test2".

Not that this stops after it finds a single occurance of a value for this attriute without the "+=NEXTRECORD".  If all values from the groups are wanted, each should have "+=NEXTRECORD" at the end of the entry.



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 15:47:21 +00:00
nott
f7668a4109 add image_data to nimimage def
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 11:32:26 +00:00
nott
acce626b15 add image_data to osimage def
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 10:35:49 +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
f7832796f2 -Put missing use into Utils in support of UUIDv5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 14:13:12 +00:00
lissav
8ef2456e95 add additional info on setting up cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-18 12:07:46 +00:00
lissav
d64b346a22 add additional info on setting up cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-18 12:05:08 +00:00
jbjohnso
c08e59bef6 -Add UUIDv5 generation with URL to the UUID generation function (for use in libvirt storage pool creation)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 20:49:38 +00:00
jbjohnso
e032aa9375 -Nonstop xCAT, xcatd starting replaces old xCAT instance with nearly no interruption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 20:49:12 +00:00
linggao
a05bbf506c prescripts support on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 18:34:36 +00:00
phamt
f748d43151 Cleaned up xCAT code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 15:12:44 +00:00
wanghuaz
a4e0843a33 Get the HFI mac address from console
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 08:27:42 +00:00
ligc
84f4e4d2d4 rpower softoff for system p partitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-01 09:48:16 +00:00
lissav
005d5996ab support recursive directory rsync
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-24 17:46:44 +00:00
lissav
6cabd3c010 support new rsync file formats adding /tmp/file1 -> /tmp/ and /tmp/* -> /tmp/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-24 16:41:08 +00:00
wanghuaz
f1f41d2480 Update ASMI interface parsing for P5 systems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 16:19:10 +00:00
daniceexi
3922da1c56 defect 3017334,3017335: modified the man page of error message of renergy command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 12:40:14 +00:00
wanghuaz
b2bcfd6929 rnetboot change for boot over hfi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 11:51:25 +00:00
ligc
53b4fdb42e add IPv6 subroutine prefixtomask
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 07:18:00 +00:00
phamt
14812ec27b Added statelite support to zVM plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-15 21:09:35 +00:00
ligc
8c3b6117e2 fix for bug 2974910: check if the entry exists when running with chdef -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-13 08:42:05 +00:00
lissav
23263c0500 fix defect 3013918, uninitialized array caused report to have extra nodes in the wrong places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 10:52:06 +00:00
cjhardee
6049931312 Updated usage for rinv and chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 14:53:05 +00:00
ligc
414e1bdbe9 fix for a problem reported on mailing list, the node name can not be used in the dynamic node group selection string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 05:18:12 +00:00
daniceexi
3fce8957d7 defect 3013537: make the chdef -m keep the order of old value of attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 09:05:45 +00:00
linggao
0e6d47bac8 changed site attribute dhcpsnonly to disjointdhcps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-08 19:55:46 +00:00
jjhua
54c783dbd4 1. add FSPUtils.pm; 2. improve the performace of state action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 09:05:30 +00:00
nott
4d20d37a3b add to cryptmethod description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 14:37:09 +00:00
ligc
896aa23691 fix for IPv6, my_nets, do not return IPv6 networks on Linux for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 01:35:19 +00:00
ligc
87a3e305a3 fix for IPv6, my_nets, do not return IPv6 networks on Linux for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 01:33:33 +00:00
wanghuaz
76653dff61 Calculate secondary 1 and secondary 2 mac address based on the primary MAC for HFI devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:57:06 +00:00
ligc
1de6b0b66e fix for bug 2998069
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:08:50 +00:00
ligc
f0c90622d0 ipv6 fix: toIP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 08:01:31 +00:00
ligc
f8b28be009 ipv6 fix: when then net and mask are IPv4 ones, the ip may be IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 03:20:38 +00:00
jet777
7eb54f16ae feature 3006951
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 14:52:34 +00:00
linggao
a90e82012a ipforwarding on sn for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 14:27:13 +00:00
wanghuaz
588ba1f3c2 Netboot over HFI code commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 08:46:21 +00:00
ligc
438ec1c80d IPv6 fix: validate ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 08:20:33 +00:00
ligc
3dc07052a1 IPv6 fix: validate ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 08:15:32 +00:00
linggao
fe30dd3adc makeroutes phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 15:13:26 +00:00
ligc
1c68c2a98c fix for IPv6 link local address subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 07:40:10 +00:00
jjhua
2bcc16b884 getmacs and rnetboot with -o flag through hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 01:43:39 +00:00
nott
be3fd4e151 add cryptmethod to the passwd table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 13:38:14 +00:00
nott
7fd7a87f92 check for AIX before calling getnimprime.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 18:20:36 +00:00
jjhua
b1ff94f270 enhance getmacs and rnetboot with -o option for p7 ih lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 05:15:41 +00:00
jjhua
fe727e6f81 remove the redundant node_name from the fsp_api_action()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-20 06:00:14 +00:00
jbjohnso
6ef8943a3f -Avoid too-new bmuladd function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 14:05:00 +00:00