119. Lan

Network card data

119.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    119.2. Global Functions

    119.2.1. Add

    Add a new device

    Return value

    • boolean - true if success

    119.2.2. AnyDHCPDevice

    Check if any device is configured with DHCP.

    Return value

    • boolean - true if any DHCP device is configured

    119.2.3. AutoPackages

    Return value

    • map - of packages needed when writing the config in autoinst mode

    119.2.4. Autoinstall

    Create a configuration for autoyast

    Return value

    • boolean - true if something was proposed

    119.2.5. Delete

    Delete the given device

    Return value

    • boolean - true if success

    119.2.6. Edit

    Edit the given device

    Function parameters

    • string name

    Return value

    • boolean - true if success

    119.2.7. Export

    Export data

    Return value

    • map - dumped settings (later acceptable by Import())

    119.2.8. HaveXenBridge

    Xen bridging confuses us (#178848)

    Return value

    • boolean - whether xenbr* exists

    119.2.9. Import

    Import data

    Function parameters

    • map settings

    Return value

    • boolean - true on success

    119.2.10. Packages

    Return value

    • list<string> - of packages needed when writing the config

    119.2.11. Propose

    Propose a configuration

    Return value

    • boolean - true if something was proposed

    119.2.12. ProposeInterfaces

    Propose interface configuration

    Return value

    • boolean - true if something was proposed

    119.2.13. ProposeRoutesAndResolver

    Propose configuration for routing and resolver

    Return value

    • boolean - true if something was proposed

    119.2.14. Read

    Read all network settings from the SCR

    Function parameters

    • symbol cache

    Return value

    • boolean - true on success

    119.2.15. ReadWithCache

    (a specialization used when a parameterless function is needed)

    Return value

    • boolean - Read(`cache)

    119.2.16. Summary

    Create a textual summary and a list of unconfigured devices

    Function parameters

    • string mode

    Return value

    • list - summary of the current configuration

    119.2.17. SummaryGeneral

    Create a textual summary for the general network settings proposal (NetworkManager + ipv6)

    Return value

    • list - [rich text, links]

    119.2.18. Write

    Update the SCR according to network settings

    Return value

    • boolean - true on success

    119.2.19. WriteOnly

    Only write configuration without starting any init scripts and SuSEconfig

    Return value

    • boolean - true on success

    119.3. Global Variables

    119.4. Module Requirements

    119.4.1. Module Imports

    • Arch
    • DNS
    • FileUtils
    • Host
    • Hostname
    • IP
    • LanItems
    • Map
    • Mode
    • ModuleLoading
    • NetHwDetection
    • NetworkConfig
    • NetworkInterfaces
    • NetworkService
    • NetworkStorage
    • Package
    • PackageSystem
    • ProductFeatures
    • Progress
    • Routing
    • Service
    • String
    • SuSEFirewall4Network
    • Summary

    119.4.2. Module Includes

    • network/complex.ycp
    • network/runtime.ycp