LocalLB::iFileFile

Introduced : BIG-IP_v11.1.0
The iFileFile interface enables you to manipulate a local load balancer&aposs iFile file objects. iFiles provide the ability to load an external file into iRules that can be accessed by an iRule using the “ifile” command. To create an iFile, you must first use this interface to create an iFile file object that loads the file into the system. Then use the iFile interface to create the iFile that can be used by the iRule.

Methods

Method Description Introduced
create Creates a set of iFiles file objects. BIG-IP_v11.1.0
delete_all_ifile_files Deletes all iFile file objects. BIG-IP_v11.1.0
delete_ifile_file Deletes a set of iFile file objects. BIG-IP_v11.1.0
get_cache_path Gets the cache path for a list of iFile file objects. BIG-IP_v11.1.0
get_checksum Gets the checksum for a list of iFile file objects. BIG-IP_v11.1.0
get_creation_time Gets the creation time for a list of iFile file objects. BIG-IP_v11.1.0
get_creator Gets the creator (the user who created the iFile file object) for a list of iFile file objects. BIG-IP_v11.1.0
get_list Gets a list of all iFile file objects on this device. BIG-IP_v11.1.0
get_mode Gets the bit field holding the file type and permissions, as in the Unix “stat” information for a set of iFile file objects. BIG-IP_v11.1.0
get_modification_time Gets the modification time for a set of iFile file objects. BIG-IP_v11.1.0
get_modifier Gets the name of the user who last modified the file for a set of iFile file objects. BIG-IP_v11.1.0
get_revision Gets the revision for the iFile file object. The revision is incremented every time the file path changes. (Changing the file path reloads the file into the system.) BIG-IP_v11.1.0
get_size Gets the size of the iFile file object. BIG-IP_v11.1.0
get_source_path Gets the source path of the iFile file object. BIG-IP_v11.1.0
get_system_path Gets the full path to the system files that exist outside the file cache for a set of iFile file objects. The cached file is simply a soft link to this file. BIG-IP_v11.1.0
get_version Gets the version information for this interface. BIG-IP_v11.1.0
set_local_path Sets the local path for an iFile file object. This is the original path that was specified when the file was loaded in. Do not be confused: modifying this path will reload the contents of the iFile file object. BIG-IP_v11.1.0

Structures

Structure Description

Enumerations

Enumeration Description

Exceptions

Exception Description

Constants

Constant Type Value Description

Aliases

Alias Type Description

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.