diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 90de3da71..23f9ec876 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -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', + }, );