Source code for dhcpkit.ipv6.server.extensions.remote_id.config

"""
Config processing for a handler to echo a RemoteIdOption back to the relay
"""
from dhcpkit.ipv6.server.extensions.remote_id import CopyRemoteIdOptionHandler
from dhcpkit.ipv6.server.handlers import HandlerFactory


[docs]class CopyRemoteIdOptionHandlerFactory(HandlerFactory): """ Config processing for a handler to echo a RemoteIdOption back to the relay """
[docs] def create(self) -> CopyRemoteIdOptionHandler: """ Create a handler of this class based on the configuration in the config section. :return: A handler object """ return CopyRemoteIdOptionHandler()