dhcpkit.ipv6.server.dhcpctl module¶
The remote control app for the server process
-
exception
dhcpkit.ipv6.server.dhcpctl.CommunicationError[source]¶ Bases:
dhcpkit.ipv6.server.dhcpctl.ControlClientErrorThere was a problem communicating
-
exception
dhcpkit.ipv6.server.dhcpctl.ControlClientError[source]¶ Bases:
ExceptionBase class for DHCPKit Control Client errors
-
class
dhcpkit.ipv6.server.dhcpctl.DHCPKitControlClient(control_socket: str)[source]¶ Bases:
objectA class for communicating with a DHCPKit DHCPv6 server
-
execute_command(command: str, optional: bool = False) → Iterable[source]¶ Send a command and parse the response
Parameters: - command – The command
- optional – Whether we care about this command being properly executed
Returns: The output
-
-
exception
dhcpkit.ipv6.server.dhcpctl.UnknownCommandError[source]¶ Bases:
dhcpkit.ipv6.server.dhcpctl.ControlClientErrorThe server doesn’t understand the command we sent
-
exception
dhcpkit.ipv6.server.dhcpctl.WrongServerError[source]¶ Bases:
dhcpkit.ipv6.server.dhcpctl.ControlClientErrorThe socket we connected to doesn’t seem to be a DHCPKit server
-
dhcpkit.ipv6.server.dhcpctl.handle_args(args: Iterable)[source]¶ Handle the command line arguments.
Parameters: args – Command line arguments Returns: The arguments object