2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Distribute switches attrs to other tables

This commit is contained in:
Casandra Qiu 2015-05-27 09:51:47 -04:00
parent 843d9418bf
commit 6726d4e208

View File

@ -3772,6 +3772,22 @@ push(@{$defspec{group}->{'attrs'}}, @nodeattrs);
tabentry => 'switches.switch',
access_tabentry => 'switches.switch=attr:switch',
},
{attr_name => 'groups',
tabentry => 'nodelist.groups',
access_tabentry => 'nodelist.node=attr:node',
},
{attr_name => 'ip',
tabentry => 'hosts.ip',
access_tabentry => 'hosts.node=attr:node',
},
{attr_name => 'nodetype',
tabentry => 'nodetype.nodetype',
access_tabentry => 'nodetype.node=attr:node',
},
{attr_name => 'mgt',
tabentry => 'nodehm.mgt',
access_tabentry => 'nodehm.node=attr:node',
},
{attr_name => 'snmpusername',
tabentry => 'switches.username',
access_tabentry => 'switches.switch=attr:switch',