description classes are generic classes with no testbed specific code.
[nepi.git] / src / nepi / core / testbed.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 from nepi.core.attributes import AttributesMap
4
5 class TestbedConfiguration(AttributesMap):
6     pass
7
8 class TestbedInstance(object):
9     def __init__(self, configuration):
10         pass
11
12     def create(self, guid, factory_id, parameters):
13         raise NotImplementedError
14
15     def do_create(self):
16         raise NotImplementedError
17
18     def connect(self, object1_guid, object2_guid, connect_code): 
19         raise NotImplementedError
20
21     def do_connect(self):
22         raise NotImplementedError
23
24     def enable_trace(self, guid, trace_id):
25         raise NotImplementedError
26
27     def add_adddress(self, guid):
28         #TODO
29         raise NotImplementedError
30
31     def add_route(self, guid):
32         #TODO
33         raise NotImplementedError
34
35     def do_configure(self):
36         raise NotImplementedError
37
38     def cross_connect(self, guid, connect_code, paremeters):
39         raise NotImplementedError
40
41     def do_cross_connect(self):
42         raise NotImplementedError
43
44     def set(self, time, guid, name, value):
45         raise NotImplementedError
46
47     def get(self, time, guid, name):
48         raise NotImplementedError
49
50     def start(self, time):
51         raise NotImplementedError
52
53     def stop(self, time):
54         raise NotImplementedError
55
56     def status(self, guid):
57         raise NotImplementedError
58
59     def get_trace(self, time, guid, trace_id):
60         raise NotImplementedError
61
62     def shutdown(self):
63         raise NotImplementedError
64