Ejemplo n.º 1
0
class ControllerVCommand(VCommand):
    """Controller related commands."""

    name = "controller"

    def __init__(self, args):
        super(ControllerVCommand, self).__init__(args)

        from v_controller import ControllerV

        self._controller = ControllerV()

    def process(self):
        """Validate controller status."""
        self._controller.validate(self.v_type, self.args)
Ejemplo n.º 2
0
    def __init__(self, args):
        super(ControllerVCommand, self).__init__(args)

        from v_controller import ControllerV

        self._controller = ControllerV()