2 ## func higher level API interface for overlord side operations
4 ## Copyright 2007, Red Hat, Inc
5 ## Michael DeHaan <mdehaan@redhat.com>
8 ## This software may be freely redistributed under the terms of the GNU
9 ## general public license.
11 ## You should have received a copy of the GNU General Public License
12 ## along with this program; if not, write to the Free Software
13 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 class HigherLevelObject
:
20 def __init__(self
, client
):
21 self
.client
= client_handle
23 def modify(self
, key
, properties
):
25 Modify or create an entity named key.
26 properties should contain all neccessary fields.
28 raise exceptions
.NotImplementedError
30 def remove(self
, key
):
32 Remove an entity named key.
34 raise exceptions
.NotImplementedError
40 raise exceptions
.NotImplementedError