diff --git a/nrm/aci.py b/nrm/aci.py index bce4eb027fda342947de6d858e588c669099dda8..55c80f1869ba899fb04ee8a765f73a6c95834158 100644 --- a/nrm/aci.py +++ b/nrm/aci.py @@ -125,6 +125,7 @@ class Container(SpecField): """Load container information.""" return super(Container, self).load(data) + class PerfWrapper(SpecField): """Information on whether to use perf for a container.""" @@ -147,6 +148,7 @@ class PerfWrapper(SpecField): return False return True + class IsolatorList(SpecField): """Represent the list of isolator in a Manifest.""" diff --git a/nrm/controller.py b/nrm/controller.py index 564a1fbb4c30aa46df92ceffb2a94a205899f53c..9d7fd05f6e5431593e411d08f62ac5031655a745 100644 --- a/nrm/controller.py +++ b/nrm/controller.py @@ -74,7 +74,8 @@ class PowerActuator(object): return actions def execute(self, action): - logger.info("changing power limit: %r, %r", action.command, action.delta) + logger.info("changing power limit: %r, %r", action.command, + action.delta) self.sensor_manager.set_powerlimit(action.target, action.command) def update(self, action):