Skip to content

QuantumGate::Access::Manager::RemoveIPSubnetLimit

Karel Donk edited this page Dec 11, 2019 · 1 revision

Removes an IP subnet limit from the instance.

Signature

  1. Result<> RemoveIPSubnetLimit(const IPAddress::Family af,
                                 const String& cidr_lbits_str) noexcept;
  2. Result<> RemoveIPSubnetLimit(const IPAddress::Family af,
                                 const UInt8 cidr_lbits) noexcept;

Parameters

Name Description
af The address family for which to remove the subnet limit. See QuantumGate::IPAddress::Family for more details.
cidr_lbits The CIDR leading bits of the subnet, e.g. 16.
cidr_lbits_str The CIDR leading bits of the subnet in string format, e.g. /16.

Return values

Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::Failed The operation failed.
QuantumGate::ResultCode::InvalidArgument The operation failed because an invalid argument was passed through.
Clone this wiki locally