From add3660f39131738465a26f33541a84a6de0650a Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 3 Apr 2009 14:53:52 +0000 Subject: [PATCH] Add ip and hostnames to group object definition git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 2d43643b1..d2d5ba332 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1444,6 +1444,14 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs); tabentry => 'nodegroup.wherevals', access_tabentry => 'nodegroup.groupname=attr:groupname', }, + {attr_name => 'ip', + tabentry => 'hosts.ip', + access_tabentry => 'hosts.node=attr:node', + }, + {attr_name => 'hostnames', + tabentry => 'hosts.hostnames', + access_tabentry => 'hosts.node=attr:node', + }, {attr_name => 'usercomment', tabentry => 'nodegroup.comments', access_tabentry => 'nodegroup.groupname=attr:groupname',