mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 03:00:26 +00:00
Merge pull request #2980 from xuweibj/tabopbmc
add consport and taggedvlan attributes in openbmc table
This commit is contained in:
@@ -444,12 +444,14 @@ passed as argument rather than by table value',
|
||||
},
|
||||
},
|
||||
openbmc => {
|
||||
cols => [qw(node bmc username password comments disable)],
|
||||
cols => [qw(node bmc consport taggedvlan username password comments disable)],
|
||||
keys => [qw(node)],
|
||||
table_desc => 'Setting for nodes that are controlled by an on-board OpenBmc.',
|
||||
descriptions => {
|
||||
node => 'The node name or group name.',
|
||||
bmc => 'The hostname of the BMC adapter.',
|
||||
consport => 'The console port for OpenBMC.',
|
||||
taggedvlan => 'bmcsetup script will configure the network interface of the BMC to be tagged to the VLAN specified.',
|
||||
username => 'The BMC userid.',
|
||||
password => 'The BMC password.',
|
||||
comments => 'Any user-written notes.',
|
||||
@@ -2481,6 +2483,16 @@ my @nodeattrs = (
|
||||
tabentry => 'openbmc.password',
|
||||
access_tabentry => 'openbmc.node=attr:node',
|
||||
},
|
||||
{ attr_name => 'consport',
|
||||
only_if => 'mgt=openbmc',
|
||||
tabentry => 'openbmc.consport',
|
||||
access_tabentry => 'openbmc.node=attr:node',
|
||||
},
|
||||
{ attr_name => 'bmcvlantag',
|
||||
only_if => 'mgt=openbmc',
|
||||
tabentry => 'openbmc.taggedvlan',
|
||||
access_tabentry => 'openbmc.node=attr:node',
|
||||
},
|
||||
|
||||
######################
|
||||
# nodepos table #
|
||||
|
Reference in New Issue
Block a user