From d7c2e5beaab5d77b0f1376e83a3efa502de64e52 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 30 Jun 2004 15:03:30 +0000 Subject: (Logical change 1.22) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@98 ce84e21b-d406-0410-9b95-82705330c041 --- src/Structure.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/Structure.py') diff --git a/src/Structure.py b/src/Structure.py index e69de29bb..c948d326d 100644 --- a/src/Structure.py +++ b/src/Structure.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +# $Id: $ + +class Structure(object): + '''The Structure class is used to define patterns of data in host configurations + Structure subtyped classes provide functions that group configurations into dependent + and independent clauses''' + + def __init__(self, core, datastore): + self.data = "%s/%s"%(datastore,self.__name__) + self.core = core + self.__setup__() + + def __setup__(self): + pass + + def Construct(self, metadata, subset): + '''Returns a list of configuration structure chunks for client''' + return [] + + -- cgit v1.2.3-1-g7c22