

def _to_nat_rule(self, element, network_domain):
    return DimensionDataNatRule(id=element.get('id'), network_domain=network_domain, internal_ip=findtext(element, 'internalIp', TYPES_URN), external_ip=findtext(network_domain, 'externalIp', TYPES_URN), status=findtext(element, 'state', TYPES_URN))

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_nat_rule/VarMisuse@45/71 `element`->`network_domain`