2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

6782 Commits

Author SHA1 Message Date
linggao
ae1457ed52 modified switchdiscover.pm so that it is easier to add new switch types 2015-05-27 15:18:34 -04:00
Casandra Qiu
8ff87bebf9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-05-27 12:08:11 -04:00
Casandra Qiu
41a22e4370 Task 44651 Filter out unwanted entries from nmap output 2015-05-27 12:07:23 -04:00
Jarrod Johnson
6916b37234 Reduce communication between SSL and UDP
Previously, every TLS connection caused a communication with UDP
and this was bad.  Then every UDP connection caused a communication
and this was better.  This takes things a little further by only
doing the communication if there is a known interested party now.
2015-05-27 10:39:52 -04:00
Jarrod Johnson
fdc408f270 Decrease forecast as presumed real clients connect
The fudge factor is now decremented according to real number of clients counted
toward sslclient count.  Also, have the overload case break into flow control
communication as well (though it wouldn't have a good answer for an interested client)
2015-05-27 10:35:10 -04:00
Jarrod Johnson
6b10c92f35 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-05-27 10:25:25 -04:00
Jarrod Johnson
49c809e031 Reorganize UDP <-> SSL rework
Because SSL actually was relying upon accept() to hold indefininetly,
it would hang up the UDP worker indefinitely, blocking requests.
Fix this by driving the loop iteration through select() rather than
accept() and iterating through each file handle only when select()
says they are ready.
2015-05-27 10:23:37 -04:00
Casandra Qiu
1c1103c876 fill in switch type for mgt and nodetype for switchdiscover command 2015-05-27 10:22:41 -04:00
Jarrod Johnson
5e248b0b0d Rework traffic control to not involve UDP every SSL connection
If the UDP monitor was busy, the SSL connections could back up.
Rework it so that the UDP monitor would get hung up by the SSL
process instead, if *any* of them get backed up.  However, the
nature of the loop in the SSL client is sufficiently lightweight
that it shouldn't hang up the UDP process under any reasonable
circumstance.  If it did hang it up though, it'll be less hung up
than discovery does already.
2015-05-26 17:03:19 -04:00
immarvin
ce7c2b6012 add recommend netboot value for vios 2015-05-25 04:49:48 -04:00
amy0701
1d1e7db8c9 add restapi for changing node name. 2015-05-25 02:32:35 -04:00
junxiawang
8e6c4dc001 modify xCATreg 2015-05-25 00:10:39 -04:00
immarvin
8df10bf612 add support on the noderes.netboot checking of nodeset 2015-05-24 22:48:15 -04:00
ligc
3c7305c779 fix for bug 4678: rnetboot should still work without gateway 2015-05-24 22:26:18 -04:00
ligc
dfb5132d84 fix for bug 4676: add more error checks when the groups is blank when running mkdef/chdef 2015-05-24 22:10:41 -04:00
amy0701
e2204267e6 add rest api for bmcdiscover to check bmc user and password for teamsun. 2015-05-22 06:01:13 -04:00
junxiawang
484e5c102d modify xCATreg 2015-05-22 04:12:02 -04:00
amy0701
b3969d4407 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-05-22 03:45:17 -04:00
amy0701
f3b5808390 add -i -u -p for bmcdiscover to check bmc username and passwd for teamsun 2015-05-22 03:45:08 -04:00
GONG Jie
215797fc2f Fix bug #4668, remove all the codes for guessing Linux distros while copycds 2015-05-22 13:39:21 +08:00
junxiawang
7cbd2ac706 add include in cuda's pkglist for diskless 2015-05-21 22:45:05 -04:00
junxiawang
1c330ce09f add include in cuda pkglist and modify compute.ubuntu14.04.2.ppc64le.pkglist 2015-05-21 22:38:15 -04:00
linggao
e42449c868 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-05-21 17:05:32 -04:00
linggao
5c31791e71 checking for wrong node names for switchdiscover 2015-05-21 17:04:48 -04:00
Casandra Qiu
62099a7866 add hostname lookup by ip for switchdiscover command 2015-05-21 16:14:50 -04:00
linggao
8d5c71def8 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
Conflicts:
	xCAT-server/lib/xcat/plugins/switchdiscover.pm
2015-05-21 15:14:38 -04:00
linggao
d0f12373d8 Added filters for input and output for switchdiscover command 2015-05-21 15:08:51 -04:00
Casandra Qiu
135a048a67 Display Switch discovery data in the stanza and xml formats 2015-05-21 11:40:28 -04:00
Casandra Qiu
f005a3894a write switchdiscover attributes to xcat database 2015-05-20 10:38:50 -04:00
ertaozh
4b59e1cdc1 rspconfig ip=dhcp to set BMC get ip address through DHCP 2015-05-20 04:54:36 -04:00
ertaozh
292fd7abfd For command 'rspconfig <node> "userid=<username>" "username=<username>" "password=<password>"', if no userid and username specified, the default userid will be 1, if userid not set but with username specified, the default userid will be 2 2015-05-20 02:38:39 -04:00
WangXiaoPeng
4a91c526c3 defect 4671: fix the issue that restapi cannot set attribute which name is password 2015-05-20 02:54:48 -04:00
ertaozh
1f8974af4f fix bug 4667:rhels6.5 diskful installation failed with netboot=yaboot, for netboot=nimol 2015-05-18 08:14:27 -04:00
ertaozh
2409539774 fix bug for PUT and POST attributwes of serviceprocessor object in RESTAPI 2015-05-18 04:58:22 -04:00
ertaozh
a08d3b3aad fix bug 4667:rhels6.5 diskful installation failed with netboot=yaboot 2015-05-18 04:45:04 -04:00
ligc
ae636e0afa fix for bug 2825 and 4628: print warning with makedhcp when the node ip address could not resolved, or the ip overlaps with dynamic range 2015-05-18 04:23:02 -04:00
GONG Jie
bd49b87057 Fix bug #4669, change the filename to be included, pre.rh.rhel7 -> pre.rh.rhels7. 2015-05-18 15:42:58 +08:00
ertaozh
fb9edfa7dd won't update ipmi table inside rspconfig <node> "userid=N" "username=<username>" "password=<password>" command 2015-05-18 01:56:59 -04:00
ertaozh
8cdde37902 fix bug that REST will return error message if no objection defined 2015-05-18 01:49:26 -04:00
linggao
91bd44955f more code for switchdiscover 2015-05-15 17:07:28 -04:00
Casandra Qiu
686e79211f nmap scan support for switchdiscover 2015-05-15 15:54:31 -04:00
linggao
20bf9f90f6 added output display for switchdiscover command 2015-05-15 13:31:21 -04:00
ertaozh
6041cea621 the RESTAPI for supporting to add/modify user/password for BMC with rspconfig 2015-05-15 06:40:27 -04:00
ertaozh
6280270cd9 support to add/modify user/password for BMC with rspconfig 2015-05-15 05:24:32 -04:00
GONG Jie
7c5d902710 Rename pre.rh.rhel7 -> pre.rh.rhels7 2015-05-15 16:29:34 +08:00
linggao
1d7df6b238 more code for switchdiscover command 2015-05-14 11:27:38 -04:00
ligc
c0f65b7ae7 remove install/netboot/statelite related flags from rmimage, liteimg and rinstall 2015-05-14 04:57:44 -04:00
ligc
4322c2b553 remove install|statelite|netboot from usage statements 2015-05-14 04:11:52 -04:00
ligc
2a107425ea not sure what happended, fix the bad checkin 8f7633c9b55520f7b5cf88eedd4d523c01c6ec6c 2015-05-14 04:00:58 -04:00
ligc
8f7633c9b5 remove the install/netboot/statelite from the usage statements of nodeset, imgcapture, genimage and packimgage 2015-05-14 03:55:42 -04:00