Method: IControl::System::GeoIP#load

Defined in:
lib/icontrol/system/geo_ip.rb

#loadObject

Loads GeoIP data files into the running configuration. The directory /shared/GeoIP is used for user files (as opposed to the information shipped with the system). The user files override the system files according to the preferences shown below. Note: You can use the upload_file method (ConfigSync interface) to get data files to the system. The system has the following order of preference when loading files. Order of precedence for IPv4 mapping: /shared/GeoIP/GeoIPCity.dat /shared/GeoIP/GeoIPRegion.dat /shared/GeoIP/GeoIP.dat /usr/share/GeoIP/F5GeoIP.dat Order of precedence for IPv6 mapping: /shared/GeoIP/GeoIPv6.dat /usr/share/GeoIP/F5GeoIPv6.dat ISP: /shared/GeoIP/GeoIPISP.dat Organization: /shared/GeoIP/GeoIPOrg.dat

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



31
32
33
# File 'lib/icontrol/system/geo_ip.rb', line 31

def load
  super
end