':param subnet: The subnet requested.  Can be IPv4 or IPv6.  However,
when IPAM tries to fulfill this request, the IP version must match
the version of the address scope being used.
:type subnet: netaddr.IPNetwork or convertible to one'

def __init__(self, tenant_id, subnet_id, subnet_cidr, gateway_ip=None, allocation_pools=None):

    super(SpecificSubnetRequest, self).__init__(tenant_id=tenant_id, subnet_id=subnet_id, gateway_ip=gateway_ip, allocation_pools=allocation_pools)
    self._subnet_cidr = netaddr.IPNetwork(subnet_cidr)
    self._validate_with_subnet(self._subnet_cidr)
