add the tabdump(networks) to get all the networks info from the networks table.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua
2012-12-12 06:54:14 +00:00
parent fb73b701f6
commit 419d69050f

View File

@@ -13,10 +13,21 @@
ENABLESSHBETWEENNODES=#Subroutine:xCAT::Template::enablesshbetweennodes:$NODE#
export ENABLESSHBETWEENNODES
## tabdump(<TABLENAME>) is used to get all the information in the <TABLENAME> table
## The <TABLENAME> only could be non-"node key" table and two keys table, such as networks, passwd.
## And <TABLENAME> also couldn't be log related tables.
## The site table is used so frequent that the <TABLENAME> couldn't be the site table.
## And if the key is the node, you should use #TABLE...# instead of tabdump().
## And each attribute=value pair will be delimited by "||" .
## We may put special characters in the comments attribute.
## So the comments attribute will be put as the last in the list,
## and the parsing should be more carefull.
tabdump(networks)
NODE=$NODE
export NODE
## nfsserver,installnic,primarynic,routenames from the noderes tab
NFSSERVER=#TABLE:noderes:$NODE:nfsserver#
export NFSSERVER