Network configuration |
modules/Routing.ycp |
Routing data (/etc/sysconfig/network/routes) | |
|
|
This module has an unstable interface. |
See routes(5)
Does not work with interface-specific routes yet (ifroute-lo...)
Imports
Includes
Global VariablesGlobal Functions
Local Variables |
All routes list
Enable IP forwarding .sysconfig.sysctl.IP_FORWARD
List of available devices
All routes read at the start
"routes" file location
Data was modified?
- Return value:
-
true if modified
Set the routes to contain only the default route, if it is defined. Used when there is nothing better.
- Parameters:
-
gw ip of the default gateway
- Return value:
-
true if success
Remove route with default gateway from Routes list
Read routing settings If no routes, sets a default gateway from Detection
- Return value:
-
true if success
Write routing settings and apply changes
- Return value:
-
true if success
Get all the Routing configuration from a map. When called by routing_auto (preparing autoinstallation data) the map may be empty.
- Parameters:
-
settings autoinstallation settings
- Return value:
-
true if success
Dump the Routing settings to a map, for autoinstallation use.
- Return value:
-
autoinstallation settings
Get the current devices list
- Return value:
-
devices list
Get the default gateway
- Return value:
-
gateway
Set the available devices list (for expert routing dialog)
- Parameters:
-
devs new devices list
- Return value:
-
true if success
Create routing text summary
- Return value:
-
summary text