def interface(self, interface_id): return SubShell( self.shell, enter="interface {}".format(interface_id), exit_cmd="exit", validate=no_output(UnknownInterface, interface_id), )
def interface(self, interface_id): return SubShell(self.shell, enter="interface {}".format(interface_id), exit_cmd='exit', validate=no_output(UnknownInterface, interface_id))