INNER CODE UNIT · Python

_get_ipv6_rdns

faucetsdn/poseidon · lib/poseidon_cli/poseidon_cli/cli.py:78

    def _get_ipv6_rdns(endpoint):
        if "ipv6_rdns" in endpoint.endpoint_data:
            return str(endpoint.endpoint_data["ipv6_rdns"])
        return NO_DATA

    @staticmethod
    def _get_ipv6(endpoint):
        return str(endpoint.endpoint_data["ipv6"])

    @staticmethod
    def _get_ipv6_subnet(endpoint):
        if "ipv6_subnet" in endpoint.endpoint_data:
            return str(endpoint.endpoint_data["ipv6_subnet"])
        return NO_DATA

    @staticmethod
    def _get_controller_type(endpoint):
        if "controller_type" in endpoint.endpoint_data:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…