Added websrv table for VirtualBox support. Also added websrv and vm attributes to defspec for lsdef support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5f60447279
commit
5682bb9479
@ -57,6 +57,19 @@ vm => {
|
||||
'beacon' => "This flag is used by xCAT to track the state of the identify LED with respect to the VM."
|
||||
}
|
||||
},
|
||||
websrv => {
|
||||
cols => [qw(node port username password comments disable)],
|
||||
keys => [qw(node)],
|
||||
table_desc => 'Web service parameters',
|
||||
descriptions => {
|
||||
'node' => 'The web service hostname.',
|
||||
'port' => 'The port of the web service.',
|
||||
'username' => 'Userid to use to access the web service.',
|
||||
'password' => 'Password to use to access the web service.',
|
||||
'comments' => 'Any user-written notes.',
|
||||
'disable' => "Set to 'yes' or '1' to comment out this row.",
|
||||
},
|
||||
},
|
||||
bootparams => {
|
||||
cols => [qw(node kernel initrd kcmdline addkcmdline dhcpstatements adddhcpstatements comments disable)],
|
||||
keys => [qw(node)],
|
||||
@ -1087,7 +1100,73 @@ my @nodeattrs = (
|
||||
{attr_name => 'room',
|
||||
tabentry => 'nodepos.room',
|
||||
access_tabentry => 'nodepos.node=attr:node',
|
||||
});
|
||||
},
|
||||
######################
|
||||
# vm table #
|
||||
######################
|
||||
{attr_name => 'vmhost',
|
||||
tabentry => 'vm.host',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'migrationdest',
|
||||
tabentry => 'vm.migrationdest',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmstorage',
|
||||
tabentry => 'vm.storage',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmmemory',
|
||||
tabentry => 'vm.memory',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmcpus',
|
||||
tabentry => 'vm.cpus',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmnics',
|
||||
tabentry => 'vm.nics',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmbootorder',
|
||||
tabentry => 'vm.bootorder',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmvirtflags',
|
||||
tabentry => 'vm.virtflags',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmvncport',
|
||||
tabentry => 'vm.vncport',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmtextconsole',
|
||||
tabentry => 'vm.textconsole',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
{attr_name => 'vmbeacon',
|
||||
tabentry => 'vm.beacon',
|
||||
access_tabentry => 'vm.node=attr:node',
|
||||
},
|
||||
######################
|
||||
# websrv table #
|
||||
######################
|
||||
{attr_name => 'webport',
|
||||
only_if => 'nodetype=websrv',
|
||||
tabentry => 'websrv.port',
|
||||
access_tabentry => 'websrv.node=attr:node',
|
||||
},
|
||||
{attr_name => 'username',
|
||||
only_if => 'nodetype=websrv',
|
||||
tabentry => 'websrv.username',
|
||||
access_tabentry => 'websrv.node=attr:node',
|
||||
},
|
||||
{attr_name => 'password',
|
||||
only_if => 'nodetype=websrv',
|
||||
tabentry => 'websrv.password',
|
||||
access_tabentry => 'websrv.node=attr:node',
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
####################
|
||||
|
Loading…
Reference in New Issue
Block a user