org.freedesktop.nm_dispatcher

org.freedesktop.nm_dispatcher

Methods

Action (IN  s         action,
        IN  a{sa{sv}} connection,
        IN  a{sv}     connection_properties,
        IN  a{sv}     device_properties,
        IN  a{sv}     device_ip4_config,
        IN  a{sv}     device_ip6_config,
        IN  a{sv}     device_dhcp4_config,
        IN  a{sv}     device_dhcp6_config,
        IN  s         vpn_ip_iface,
        IN  a{sv}     vpn_ip4_config,
        IN  a{sv}     vpn_ip6_config,
        IN  b         debug,
        OUT a(sus)    results);

Description

Method Details

The Action() method

Action (IN  s         action,
        IN  a{sa{sv}} connection,
        IN  a{sv}     connection_properties,
        IN  a{sv}     device_properties,
        IN  a{sv}     device_ip4_config,
        IN  a{sv}     device_ip6_config,
        IN  a{sv}     device_dhcp4_config,
        IN  a{sv}     device_dhcp6_config,
        IN  s         vpn_ip_iface,
        IN  a{sv}     vpn_ip4_config,
        IN  a{sv}     vpn_ip6_config,
        IN  b         debug,
        OUT a(sus)    results);

INTERNAL; not public API. Perform an action.

IN s action:

The action being performed.

IN a{sa{sv}} connection:

The connection for which this action was triggered.

IN a{sv} connection_properties:

Properties of the connection, including service and path.

IN a{sv} device_properties:

Properties of the device, including type, path, interface, and state.

IN a{sv} device_ip4_config:

Properties of the device's IPv4 configuration.

IN a{sv} device_ip6_config:

Properties of the device's IPv6 configuration.

IN a{sv} device_dhcp4_config:

Properties of the device's DHCPv4 configuration.

IN a{sv} device_dhcp6_config:

Properties of the device's DHCPv6 configuration.

IN s vpn_ip_iface:

VPN interface name.

IN a{sv} vpn_ip4_config:

Properties of the VPN's IPv4 configuration.

IN a{sv} vpn_ip6_config:

Properties of the VPN's IPv6 configuration.

IN b debug:

Whether to log debug output.

OUT a(sus) results:

Results of dispatching operations. Each element of the returned array is a struct containing the path of an executed script (s), the result of running that script (u), and a description of the result (s).