defect 2946432: support the attributes in switch table for node object
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
24f8a1f5b4
commit
e3f55c7698
@ -1439,6 +1439,25 @@ my @nodeattrs = (
|
||||
tabentry => 'websrv.password',
|
||||
access_tabentry => 'websrv.node=attr:node',
|
||||
},
|
||||
######################
|
||||
# switch table #
|
||||
######################
|
||||
{attr_name => 'switch',
|
||||
tabentry => 'switch.switch',
|
||||
access_tabentry => 'switch.node=attr:node',
|
||||
},
|
||||
{attr_name => 'switchport',
|
||||
tabentry => 'switch.port',
|
||||
access_tabentry => 'switch.node=attr:node',
|
||||
},
|
||||
{attr_name => 'switchvlan',
|
||||
tabentry => 'switch.vlan',
|
||||
access_tabentry => 'switch.node=attr:node',
|
||||
},
|
||||
{attr_name => 'switchinterface',
|
||||
tabentry => 'switch.interface',
|
||||
access_tabentry => 'switch.node=attr:node',
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user