2 # -*- coding: utf-8 -*-
3 from nepi.core.attributes import AttributesMap
5 class TestbedConfiguration(AttributesMap):
8 class TestbedInstance(object):
9 def __init__(self, configuration):
12 def create(self, guid, factory_id, parameters):
13 raise NotImplementedError
16 raise NotImplementedError
18 def connect(self, object1_guid, object2_guid, connect_code):
19 raise NotImplementedError
22 raise NotImplementedError
24 def enable_trace(self, guid, trace_id):
25 raise NotImplementedError
27 def add_adddress(self, guid):
29 raise NotImplementedError
31 def add_route(self, guid):
33 raise NotImplementedError
35 def do_configure(self):
36 raise NotImplementedError
38 def cross_connect(self, guid, connect_code, paremeters):
39 raise NotImplementedError
41 def do_cross_connect(self):
42 raise NotImplementedError
44 def set(self, time, guid, name, value):
45 raise NotImplementedError
47 def get(self, time, guid, name):
48 raise NotImplementedError
50 def start(self, time):
51 raise NotImplementedError
54 raise NotImplementedError
56 def status(self, guid):
57 raise NotImplementedError
59 def get_trace(self, time, guid, trace_id):
60 raise NotImplementedError
63 raise NotImplementedError