Commit Graph

42 Commits

Author SHA1 Message Date
immarvin
d948f8c69e fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-08 21:27:01 -07:00
immarvin
368d0d1e83 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-08 21:03:39 -07:00
immarvin
dab5a33b3f fix defect 3724 makehosts should report error/warning messages when entrys in hosts table are not correct 2013-08-01 01:23:45 -07:00
sjing
726c05134c support adding/removing nichostnames as well as the given noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 08:20:52 +00:00
jbjohnso
90c6689438 Fix problem where makedns suddenly required hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 17:58:39 +00:00
jbjohnso
317676b98b Have ddns.pm call the code that hosts plugin uses to support extra interfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:09:36 +00:00
nott
26dcd874de remove use of global variable DELNODE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 14:29:01 +00:00
nott
ee67cada6f more usage msgs and error checking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 18:51:06 +00:00
nott
049afdbdf0 support xCAT long hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 17:24:37 +00:00
nott
d83a06c0c3 add default for nichostnamesuffixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 13:19:19 +00:00
nott
3b984994b8 add support for nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 14:25:53 +00:00
nott
3759698b55 fix bad hosts file entry - 3439
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 18:21:32 +00:00
nott
a40c9c08ed add support for | in nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 14:54:25 +00:00
nott
1acc33adc1 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:04:21 +00:00
nott
b3ee36c58a fix nics processing for na alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:18:23 +00:00
nott
06d2048be2 add domain and nics table support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:23:33 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
64217a35c4 For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:09:30 +00:00
wanghuaz
dd8ba073e3 Fixed the issue that makehosts failed with host.ip empty but otherinterfaces are valid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 14:14:14 +00:00
ligc
dceba492cb fix for bug 3219819: do not add hosts into /etc/hosts if the ip field is not an ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 01:31:14 +00:00
ligc
fd11704702 ipv6 fix: use -m flag with makehosts command to generate link local addresses in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 07:42:49 +00:00
daniceexi
89b7726564 add the localhost entry automatically when running the makehosts -n
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-19 12:20:47 +00:00
jbjohnso
a8c1a1a560 -Implement/fix locking for dhcp/hosts management plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 15:00:51 +00:00
jbjohnso
2dd5c3b17c -Add '-d' argument to makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 21:01:24 +00:00
jbjohnso
8219fcf64a -Fix implementation of '-a' on hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 19:06:16 +00:00
jbjohnso
d9be41ccd6 -Fix imbalanced braces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 18:43:18 +00:00
jbjohnso
ec8b41c2f8 -Support adding domain to othernames argument
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 18:36:24 +00:00
jbjohnso
93e6b3cf34 -Support putting hostnames field before nodename and such if -h//--hostnamesfirst is given to makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 19:33:58 +00:00
jbjohnso
f012fe2dad -Support FQDN in makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 15:55:31 +00:00
mellor
3bc4bfe0b6 add makehosts support for otherinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 20:39:39 +00:00
jbjohnso
f97cc4c345 -Fix nodeadd bug with no nodegroup table
-Fix makehosts command


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 17:49:51 +00:00
jbjohnso
fd7accf225 -Remove confilicting hosts file entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 19:12:04 +00:00
jbjohnso
23b516e289 vim
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 19:11:04 +00:00
daniceexi
94ba6c8119 handle the not initialized warning msg in bypass mode, ref defect 2781882
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-27 03:06:42 +00:00
linggao
b89478cd64 fix makehosts command to be able to specify if long name comes before short name or not. And remove the duplicate entries. And enable adding hosts for different domains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-02 21:38:45 +00:00
jbjohnso
a084808f7e -Attempt insertion of an FQDN first (kerberos for one is particularly more happy this way)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-15 18:54:05 +00:00
jbjohnso
7874e5fd06 -Guard against makehosts matching blank lines when or is messed up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-17 20:40:37 +00:00
jbjohnso
c945e35bd2 -Change hosts call to getNodeAttribs to perform at-scale call getNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 13:39:07 +00:00
jbjohnso
2bbc51d240 -Fix hosts plugins strict deviation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 20:22:45 +00:00
jbjohnso
60164a520b -Add missing File::Copy directive to hosts plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-02 15:22:30 +00:00
jbjohnso
e3ec966e33 -Backup hosts file before makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 20:28:01 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00