1 # -*- coding: utf-8 -*-
3 from constants import TESTBED_ID, TESTBED_VERSION
4 from nepi.core import testbed_impl
6 class TestbedController(testbed_impl.TestbedController):
8 super(TestbedController, self).__init__(TESTBED_ID, TESTBED_VERSION)
10 def do_configure(self):
13 def action(self, time, guid, action):
14 raise NotImplementedError
16 def trace(self, guid, trace_id, attribute='value'):
17 if attribute == 'value':
18 return """PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
20 --- 10.0.0.2 ping statistics ---
21 1 packets transmitted, 1 received, 0% packet loss, time 0ms
23 elif attribute == 'path':