From 8eba954b889e5565d4d09eee14903a957a17077a Mon Sep 17 00:00:00 2001 From: yinle Date: Wed, 8 Dec 2010 10:04:40 +0000 Subject: [PATCH] FSP/BPA redundancy: both bpa and frame's mgt are bpa, and bpa has a perent, so we should allow mkdef to set parent when the mgt ia bpa. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index f8de1c288..28816857d 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1454,6 +1454,12 @@ my @nodeattrs = ( tabentry => 'ppc.parent', access_tabentry => 'ppc.node=attr:node', }, + {attr_name => 'parent', + only_if => 'mgt=bpa', + tabentry => 'ppc.parent', + access_tabentry => 'ppc.node=attr:node', + }, + {attr_name => 'parent', only_if => 'mgt=fsp', tabentry => 'ppc.parent',