from seabreeze.pyseabreeze.features._base import SeaBreezeFeature
# Definition
# ==========
#
# TODO: This feature needs to be implemented for pyseabreeze
#
[docs]class SeaBreezeIPv4Feature(SeaBreezeFeature):
identifier = "ipv4"
def get_dhcp_enable_state(self, interface_index: int) -> bool:
raise NotImplementedError("implement in derived class")
def set_dhcp_enable_state(self, interface_index: int, is_enabled: bool) -> None:
raise NotImplementedError("implement in derived class")
def get_number_of_ipv4_addresses(self, interface_index: int) -> int:
raise NotImplementedError("implement in derived class")
def get_ipv4_address(self, interface_index: int, address_index: int) -> str:
raise NotImplementedError("implement in derived class")
def get_default_gateway(self, interface_index: int) -> str:
raise NotImplementedError("implement in derived class")
def set_default_gateway(
self, interface_index: int, default_gateway_address: str
) -> None:
raise NotImplementedError("implement in derived class")
def add_ipv4_address(self, interface_index: int, ipv4_address: str) -> None:
raise NotImplementedError("implement in derived class")
def delete_ipv4_address(self, interface_index: int, address_index: int) -> None:
raise NotImplementedError("implement in derived class")