PEM::Subscriber::load_subscribers

Introduced : BIG-IP_v11.4.0
Loads static subscribers into this PEM. The static subscribers file is a csv file with the following fields: Subscriber ID, Subscriber ID Type, IP address, Policy 1, Policy 2, …, Policy N. For example, here is a sample from such a file: subscriber1, e164, 11.1.1.1, bronze, gold, silver. The filename is either an absolute file name with the full path or a base file name under the folder: /var/local/pem/subscribers/. For more information about static subscriber, please refer to the PEM subscriber interface.

Prototype

 load_subscribers(
    in String [] filenames
);

Parameters

Parameter Type Description
filenames String [] A list of filenames. Length limit per filename: 255.

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


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.