def _decode_addr_key(self, obj_dict):
        key = b'Addr'
        if key in obj_dict:
            ip_addr = socket.inet_ntop(socket.AF_INET6, obj_dict[key])

            # Check if the address is an IPv4 mapped IPv6 address:
            # ie. ::ffff:xxx.xxx.xxx.xxx
            if ip_addr.startswith('::ffff:'):
                ip_addr = ip_addr.lstrip('::ffff:')

            obj_dict[key] = ip_addr.encode('utf-8')

        return obj_dict
Get an ``IProfiledBlockDeviceAPI`` provider which can create volumes
dataset/ETHPy150Open KushalP/serfclient-py/serfclient/connection.py/SerfConnection._decode_addr_key--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/blockdevice.py/BlockDeviceDeployer.profiled_blockdevice_api