Class: IControl::System::GeoIP
- Inherits:
-
Base
- Object
- Base
- IControl::System::GeoIP
- Defined in:
- lib/icontrol/system/geo_ip.rb,
lib/icontrol/system.rb
Overview
The GeoIP interface enables you to maintain the GeoIP location database. The location database maps IP addresses to geographical locations.
Instance Method Summary collapse
-
#load ⇒ Object
Loads GeoIP data files into the running configuration.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#load ⇒ Object
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
31 32 33 |
# File 'lib/icontrol/system/geo_ip.rb', line 31 def load super end |
#version ⇒ String
Gets the version information for this interface.
13 14 15 |
# File 'lib/icontrol/system/geo_ip.rb', line 13 def version super end |