Networking::SelfIPPortLockdown::add_allow_access_list

Introduced : BIG-IP_v9.0
Adds the list of access methods, with optional protocols/ports, for the specified self IPs.

Prototype

 add_allow_access_list(
    in Networking__SelfIPPortLockdown__SelfIPAccess [] access_lists
);

Parameters

Parameter Type Description
access_lists SelfIPAccess [] The access lists that define how access is allowed to the specified self IPs. NOTE: For the AllowMode attribute of the access list: ALLOW_MODE_PROTOCOL_PORT - Access is allowed for the specified combinations of protocols and ports. For a given self IP, if the size of “protocol_ports” is 1, and if protocol is 0, then full access is allowed to the self IP, effectively similar to ALLOW_MODE_ALL. For a given self IP, if the size of “protocol_ports” is 1, and if port is 0, all ports will be open for the specified protocol (i.e. TCP and UDP) ALLOW_MODE_NONE - Allow no access to the self IP via any combination of protocols and ports. The “protocol_ports” field should be empty, and will be ignored. ALLOW_MODE_DEFAULTS - Allow access to the self IP via a predetermined default sets of protocols and ports. The “protocol_ports” field should be empty, and will be ignored. ALLOW_MODE_ALL - Allow full access to the self IP via any combination of protocols and ports. The “protocol_ports” field should be empty, and will be ignored.

Return Type

Type Description
void  

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

  • Ps Self Ip Port Lockdown - This applications illustrates how to manage Self IP and Default Port Lockdown Access Lists.

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.