from constants import TESTBED_ID
from nepi.core import testbed_impl
+from nepi.util.constants import TIME_NOW
import os
import time
# cleanup
del self._to_provision
- def set(self, time, guid, name, value):
- super(TestbedController, self).set(time, guid, name, value)
+ def set(self, guid, name, value, time = TIME_NOW):
+ super(TestbedController, self).set(guid, name, value, time)
# TODO: take on account schedule time for the task
element = self._elements[guid]
if element:
# invoke attribute refresh hook
element.refresh()
- def get(self, time, guid, name):
- value = super(TestbedController, self).get(time, guid, name)
+ def get(self, guid, name, time = TIME_NOW):
+ value = super(TestbedController, self).get(guid, name, time)
# TODO: take on account schedule time for the task
factory_id = self._create[guid]
factory = self._factories[factory_id]