2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-10 15:30:09 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
3684705279 Add a global cfg to enable the longnamefirst 2015-12-16 03:52:20 -05:00
d718ba8396 defect 4283: add note head of the subtourines (in hosts.pm) which called in ddns.pm. Generally xcat does not suggest that call subroutine of xcat_plugin from antoher xcat_plugin module, but since the change would be big, I add this note head the subroutines as a notification for the member who would change the involved subroutines. 2014-10-22 02:03:07 -04:00
fdfa1fe290 defect 4283: fix the syntax issues in the hosts.pm and NetworkUtils.pm for the code that support multiple domain and makehosts against nics table 2014-10-10 11:13:39 -04:00
54982068cf fix for bug 3991: if the node can not be resolved or ip address is not valid, print warning message and ignore the node 2014-02-21 12:39:57 -06:00
e86917e218 fix bug 3971, trim othernames variable 2014-01-17 08:45:17 +00:00
e01827f9d3 first commit for prefix hostname feature 2014-01-09 21:02:53 +00:00
982f411251 fix bug 3745: makehosts -d to delete otherinterfaces hosts 2013-09-18 07:54:40 +08:00
d5609b9ca8 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-08 21:32:03 -07:00
f0e5505b24 fix defect 3724, makehosts should report error/warning messages when entrys in hosts table are not correct 2013-08-01 00:21:21 -07:00
6588a4e05f Fix makehosts -h does not display and add makehosts -v (version) 2013-07-30 14:36:44 -04:00
d5f7c77bc1 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2013-06-04 08:16:38 +00:00
ab25897d4e Fix problem where makedns suddenly required hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 18:04:21 +00:00
6fe6d9d9c8 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/trunk@16031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:03:07 +00:00
6de92a9ef1 remove use of global variable DELNODE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 14:18:08 +00:00
e0b1400489 more usage msgs and error checking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 18:49:55 +00:00
b5afe5e3b9 support xCAT long hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 17:22:21 +00:00
4c82d3101f add default for nichostnamesuffixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 13:20:41 +00:00
61158bbfcf add support for nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 14:19:17 +00:00
3ceb5fe7e4 fix bad hosts file entry - 3439
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 18:18:45 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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