Routing data (/etc/sysconfig/network/routes)
List of Global Functions
Export - Dump the Routing settings to a map, for autoinstallation use.
GetDevices - Get the current devices list
GetGateway - Get the default gateway
Import - Get all the Routing configuration from a map. When called by routing_auto (preparing autoinstallation data) the map may be empty.
Modified - Data was modified?
Read - Read routing settings If no routes, sets a default gateway from Detection
ReadFromGateway - Set the routes to contain only the default route, if it is defined. Used when there is nothing better.
RemoveDefaultGw - Remove route with default gateway from Routes list
SetDevices - Set the available devices list (for expert routing dialog)
Summary - Create routing text summary
Write - Write routing settings and apply changes
Dump the Routing settings to a map, for autoinstallation use.
Return value
map - autoinstallation settings
Get all the Routing configuration from a map. When called by routing_auto (preparing autoinstallation data) the map may be empty.
Function parameters
map settings
Return value
boolean - true if success
Read routing settings If no routes, sets a default gateway from Detection
Return value
boolean - true if success
Set the routes to contain only the default route, if it is defined. Used when there is nothing better.
Function parameters
string gw
Return value
boolean - true if success
Set the available devices list (for expert routing dialog)
Function parameters
list devs
Return value
boolean - true if success