org.opensuse.Network.Scripts

Namespace

Namespace scripts
Class compat netif
Typedefs 2
Properties none
Methods firewallUp()
networkUp()
networkDown()
firewallDown()
Signals none

Methods

void firewallUp(dict config)
These scripts are executed before the device is set UP at fsm transition from protocol-up to firewall-up, followed by the device/link UP request.

Argument config is mapped to an element of the device document referenced via xpath "scripts/pre-up". It is a dict-based type that provides the following members:

void networkUp(dict config)
These scripts are executed as final action in the ifup processing at fsm transition action from addrconf-up (IP setup) before ifup reports status.

Argument config is mapped to an element of the device document referenced via xpath "scripts/post-up". It is a dict-based type that provides the following members:

void networkDown(dict config)
These scripts are executed at start of the ifdown processing at fsm transition from network-up to addrconf-up, followed by dropping/releasing leases.

Argument config is mapped to an element of the device document referenced via xpath "scripts/pre-down". It is a dict-based type that provides the following members:

void firewallDown(dict config)
These scripts are executed after device is already down at the fsm transition from firewall-up to protocols-up, followed by device shutdown/deconfiguration.

Argument config is mapped to an element of the device document referenced via xpath "scripts/post-down". It is a dict-based type that provides the following members:

Types defined in this scope

Type name Kind Definition
script-configdictbelow
configurationdictbelow

Type script-config

This is a dict-based type that provides the following members:

Type configuration

Complete script configuration

This is a dict-based type that provides the following members: