Unknown YCP Module |
|
This module has an unstable interface. |
Imports
Includes
Global VariablesGlobal Functions
Local Variables |
File: modules/Routing.ycp
Package: Network configuration
Summary: Routing data (/etc/sysconfig/network/routes)
Authors: Michal Svec
All routes list
Enable IP forwarding .etc.sysctl_conf."net.ipv4.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