NM
Description:
Content:
Namespaces:
- EthtoolOptname
- IpRouteAttributes
- LldpAttributes
- SettingDnsOption
- SriovVfAttributes
- Utils
- Vpn
- WireguardPeerAttributes
Interfaces:
- Connection - NMConnection is the interface
implemented by RemoteConnection on the client side, and
NMSettingsConnection
on the daemon side. - VpnEditor
- VpnEditorPlugin
Classes:
- AccessPoint
- ActiveConnection
- BridgeVlan
- Checkpoint
- Client - NMClient contains a cache of the objects of NetworkManager's D-Bus API.
- Device
- Device6Lowpan
- DeviceAdsl
- DeviceBond
- DeviceBridge
- DeviceBt
- DeviceDummy
- DeviceEthernet
- DeviceGeneric
- DeviceIPTunnel
- DeviceInfiniband
- DeviceLoopback
- DeviceMacsec
- DeviceMacvlan
- DeviceModem
- DeviceOlpcMesh
- DeviceOvsBridge
- DeviceOvsInterface
- DeviceOvsPort
- DevicePpp
- DeviceTeam
- DeviceTun
- DeviceVeth
- DeviceVlan
- DeviceVrf
- DeviceVxlan
- DeviceWifi
- DeviceWifiP2P
- DeviceWimax
- DeviceWireGuard
- DeviceWpan
- DhcpConfig
- DnsEntry
- IPAddress
- IPConfig
- IPRoute
- IPRoutingRule
- KeyfileHandlerData - Opaque type with parameters for the callback.
- LldpNeighbor - Supported attributes are:
- Object
- Range
- RemoteConnection
- SecretAgentOld
- Setting
- Setting6Lowpan - 6LoWPAN Settings
- Setting8021x - IEEE 802.1x Authentication Settings
- SettingAdsl - ADSL Settings
- SettingBluetooth - Bluetooth Settings
- SettingBond - Bonding Settings
- SettingBondPort - Bond Port Settings
- SettingBridge - Bridging Settings
- SettingBridgePort - Bridge Port Settings
- SettingCdma - CDMA-based Mobile Broadband Settings
- SettingConnection - General Connection Profile Settings
- SettingDcb - Data Center Bridging Settings
- SettingDummy - Dummy Link Settings
- SettingEthtool - Ethtool Ethernet Settings
- SettingGeneric - Generic Link Settings
- SettingGsm - GSM-based Mobile Broadband Settings
- SettingHostname - Hostname settings
- SettingIP4Config - IPv4 Settings
- SettingIP6Config - IPv6 Settings
- SettingIPConfig
- SettingIPTunnel - IP Tunneling Settings
- SettingInfiniband - Infiniband Settings
- SettingLink - Link settings
- SettingLoopback - Loopback Link Settings
- SettingMacsec - MACSec Settings
- SettingMacvlan - MAC VLAN Settings
- SettingMatch - Match settings
- SettingOlpcMesh - OLPC Wireless Mesh Settings
- SettingOvsBridge - OvsBridge Link Settings
- SettingOvsDpdk - OvsDpdk Link Settings
- SettingOvsExternalIDs - OVS External IDs Settings
- SettingOvsInterface - Open vSwitch Interface Settings
- SettingOvsOtherConfig - OVS Other Config Settings
- SettingOvsPatch - OvsPatch Link Settings
- SettingOvsPort - OvsPort Link Settings
- SettingPpp - Point-to-Point Protocol Settings
- SettingPppoe - PPP-over-Ethernet Settings
- SettingProxy - WWW Proxy Settings
- SettingSerial - Serial Link Settings
- SettingSriov - SR-IOV settings
- SettingTCConfig - Linux Traffic Control Settings
- SettingTeam - Teaming Settings
- SettingTeamPort - Team Port Settings
- SettingTun - Tunnel Settings
- SettingUser - General User Profile Settings
- SettingVeth - Veth Settings
- SettingVlan - VLAN Settings
- SettingVpn - VPN Settings
- SettingVrf - VRF settings
- SettingVxlan - VXLAN Settings
- SettingWifiP2P - Wi-Fi P2P Settings
- SettingWimax - WiMax Settings
- SettingWireGuard - WireGuard Settings
- SettingWired - Wired Ethernet Settings
- SettingWireless - Wi-Fi Settings
- SettingWirelessSecurity - Wi-Fi Security Settings
- SettingWpan - IEEE 802.15.4 (WPAN) MAC Settings
- SimpleConnection
- SriovVF
- TCAction
- TCQdisc
- TCTfilter
- TeamLinkWatcher
- VariantAttributeSpec
- VpnConnection
- VpnEditorPluginVT
- VpnPluginInfo
- VpnPluginOld
- VpnServicePlugin
- WifiP2PPeer
- WimaxNsp
- WireGuardPeer - The settings of one WireGuard peer.
Enums:
- @80211ApFlags - 802.11 access point flags.
- @80211ApSecurityFlags - 802.11 access point security and authentication flags.
- @80211Mode - Indicates the 802.11 mode an access point or device is currently in.
- ActivationStateFlags - Flags describing the current activation state.
- ActiveConnectionState - ActiveConnectionState values indicate the state of a connection to a specific network while it is starting, connected, or disconnecting from that network.
- ActiveConnectionStateReason - Active connection state reasons.
- BluetoothCapabilities - BluetoothCapabilities values indicate the usable capabilities of a Bluetooth device.
- Capability - Capability names the numbers in the Capabilities property.
- CheckpointCreateFlags - The flags for CheckpointCreate call
- ClientInstanceFlags
- ClientPermission - ClientPermission values indicate various permissions that NetworkManager clients can obtain to perform certain tasks on behalf of the current user.
- ClientPermissionResult - ClientPermissionResult values indicate what authorizations and permissions the user requires to obtain a given ClientPermission
- ConnectionMultiConnect
- ConnectionSerializationFlags - These flags determine which properties are serialized when calling to_dbus.
- ConnectivityState
- DeviceCapabilities - General device capability flags.
- DeviceInterfaceFlags - Flags for a network interface.
- DeviceModemCapabilities - DeviceModemCapabilities values indicate the generic radio access technology families a modem device supports.
- DeviceReapplyFlags - Flags for the
Reapply
D-Bus call of a device and reapply_async. - DeviceState
- DeviceStateReason - Device state change reason codes
- DeviceType - DeviceType values indicate the type of hardware represented by a device object.
- DeviceWifiCapabilities - 802.11 specific device encryption and authentication capabilities.
- DhcpHostnameFlags - DhcpHostnameFlags describe flags related to the DHCP hostname and FQDN.
- IPAddressCmpFlags - Compare flags for cmp_full.
- IPRoutingRuleAsStringFlags
- IPTunnelFlags - IP tunnel flags.
- IPTunnelMode - The tunneling mode.
- KeyfileHandlerFlags - Flags for customizing keyfile_read and keyfile_write .
- KeyfileHandlerType - The type of the callback for nmkeyfilereadhandler and nmkeyfilewritehandler.
- KeyfileWarnSeverity - The severity level of nm_keyfile_handler_type_warn events.
- ManagerReloadFlags - Flags for the manager
Reload
call. - Metered - The NMMetered enum has two different purposes: one is to configure "connection.
- MptcpFlags
- RadioFlags - Flags related to radio interfaces.
- RollbackResult - The result of a checkpoint
Rollback
operation for a specific device. - SecretAgentCapabilities - SecretAgentCapabilities indicate various capabilities of the agent.
- SecretAgentGetSecretsFlags - SecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.
- Setting8021xAuthFlags - Setting8021xAuthFlags values indicate which authentication settings should be used.
- Setting8021xCKFormat - Setting8021xCKFormat values indicate the general type of a certificate or private key
- Setting8021xCKScheme - Setting8021xCKScheme values indicate how a certificate or private key is stored in the setting properties, either as a blob of the item's data, or as a path to a certificate or private key file on the filesystem
- SettingCompareFlags - These flags modify the comparison behavior when comparing two settings or two connections.
- SettingConnectionAutoconnectSlaves - SettingConnectionAutoconnectSlaves values indicate whether slave connections should be activated when master is activated.
- SettingConnectionDnsOverTls - SettingConnectionDnsOverTls values indicate whether DNSOverTls should be enabled.
- SettingConnectionLldp - SettingConnectionLldp values indicate whether LLDP should be enabled.
- SettingConnectionLlmnr - SettingConnectionLlmnr values indicate whether LLMNR should be enabled.
- SettingConnectionMdns - SettingConnectionMdns values indicate whether mDNS should be enabled.
- SettingDcbFlags - DCB feature flags.
- SettingDiffResult - These values indicate the result of a setting difference operation.
- SettingIP4LinkLocal - SettingIP4LinkLocal values indicate whether IPv4 link-local address protocol should be enabled.
- SettingIP6ConfigAddrGenMode - SettingIP6ConfigAddrGenMode controls how the Interface Identifier for RFC4862 Stateless Address Autoconfiguration is created.
- SettingIP6ConfigPrivacy - SettingIP6ConfigPrivacy values indicate if and how IPv6 Privacy Extensions are used (RFC4941).
- SettingMacRandomization - Controls if and how the MAC address of a device is randomzied.
- SettingMacsecMode - SettingMacsecMode controls how the CAK (Connectivity Association Key) used in MKA (MACsec Key Agreement) is obtained.
- SettingMacsecValidation - SettingMacsecValidation specifies a validation mode for incoming frames.
- SettingMacvlanMode
- SettingProxyMethod - The Proxy method.
- SettingSecretFlags - These flags indicate specific behavior related to handling of a secret.
- SettingSerialParity - The parity setting of a serial port.
- SettingTunMode - SettingTunMode values indicate the device type (TUN/TAP)
- SettingWiredWakeOnLan - Options for wake_on_lan.
- SettingWirelessPowersave - These flags indicate whether wireless powersave must be enabled.
- SettingWirelessSecurityFils - These flags indicate whether FILS must be enabled.
- SettingWirelessSecurityPmf - These flags indicate whether PMF must be enabled.
- SettingWirelessSecurityWpsMethod - Configure the use of WPS by a connection while it activates.
- SettingWirelessWakeOnWLan - Options for wake_on_wlan.
- SettingsAddConnection2Flags - Numeric
flags for the "flags" argument of
AddConnection2
D-Bus API. - SettingsConnectionFlags - Flags describing the current activation state.
- SettingsUpdate2Flags
- SriovVFVlanProtocol - SriovVFVlanProtocol indicates the VLAN protocol to use.
- State - State values indicate the current overall networking state.
- TeamLinkWatcherArpPingFlags
- Ternary - An boolean value that can be overridden by a default.
- VersionInfoCapability - %_NM_VERSION_INFO_CAPABILITY_UNUSED: a dummy capability.
- VlanFlags - VlanFlags values control the behavior of the VLAN interface.
- VlanPriorityMap - A selector for traffic priority maps; these map Linux SKB priorities to 802.1p priorities used in VLANs.
- VpnConnectionState - VPN connection states
- VpnConnectionStateReason - VPN connection state reasons
- VpnEditorPluginCapability - Flags that indicate certain capabilities of the plugin to editor programs.
- VpnPluginFailure - VPN plugin failure reasons
- VpnServiceState - VPN daemon states
- WepKeyType - The WepKeyType values specify how any WEP keys present in the setting are interpreted.
- WimaxNspNetworkType - WiMAX network type.
Error domains:
- AgentManagerError - Errors returned from the secret-agent manager.
- ClientError - Describes errors that may result from operations involving a Client.
- ConnectionError - Describes errors that may result from operations involving a Connection or its Settings.
- CryptoError - Cryptography-related errors that can be returned from some nm-utils methods, and some Setting8021x operations.
- DeviceError - Device-related errors.
- ManagerError - Errors related to the main "network management" interface of NetworkManager.
- SecretAgentError - SecretAgentError values are passed by secret agents back to NetworkManager when they encounter problems retrieving secrets on behalf of NM.
- SettingsError - Errors related to the settings/persistent configuration interface of NetworkManager.
- VpnPluginError - Returned by the VPN service plugin to indicate errors.
Constants:
- public const string DBUS_INTERFACE
- public const string DBUS_INTERFACE_DNS_MANAGER
- public const string DBUS_INTERFACE_SETTINGS
- public const string DBUS_INTERFACE_SETTINGS_CONNECTION
- public const string DBUS_INTERFACE_SETTINGS_CONNECTION_SECRETS
- public const string DBUS_INTERFACE_VPN
- public const string DBUS_INTERFACE_VPN_CONNECTION
- public const string DBUS_INVALID_VPN_CONNECTION
- public const string DBUS_NO_ACTIVE_VPN_CONNECTION
- public const string DBUS_NO_VPN_CONNECTIONS
- public const string DBUS_PATH
- public const string DBUS_PATH_AGENT_MANAGER
- public const string DBUS_PATH_DNS_MANAGER
- public const string DBUS_PATH_SECRET_AGENT
- public const string DBUS_PATH_SETTINGS
- public const string DBUS_PATH_SETTINGS_CONNECTION
- public const string DBUS_PATH_VPN
- public const string DBUS_PATH_VPN_CONNECTION
- public const string DBUS_SERVICE
- public const string DBUS_VPN_ALREADY_STARTED
- public const string DBUS_VPN_ALREADY_STOPPED
- public const string DBUS_VPN_BAD_ARGUMENTS
- public const string DBUS_VPN_ERROR_PREFIX
- public const string DBUS_VPN_INTERACTIVE_NOT_SUPPORTED
- public const string DBUS_VPN_SIGNAL_CONNECT_FAILED
- public const string DBUS_VPN_SIGNAL_IP4_CONFIG
- public const string DBUS_VPN_SIGNAL_IP_CONFIG_BAD
- public const string DBUS_VPN_SIGNAL_LAUNCH_FAILED
- public const string DBUS_VPN_SIGNAL_LOGIN_BANNER
- public const string DBUS_VPN_SIGNAL_LOGIN_FAILED
- public const string DBUS_VPN_SIGNAL_STATE_CHANGE
- public const string DBUS_VPN_SIGNAL_VPN_CONFIG_BAD
- public const string DBUS_VPN_STARTING_IN_PROGRESS
- public const string DBUS_VPN_STOPPING_IN_PROGRESS
- public const string DBUS_VPN_WRONG_STATE
- public const string LLDP_DEST_NEAREST_BRIDGE
- public const string LLDP_DEST_NEAREST_CUSTOMER_BRIDGE
- public const string LLDP_DEST_NEAREST_NON_TPMR_BRIDGE
- public const int MAJOR_VERSION
Evaluates to the major version number of NetworkManager which this source is compiled against.
- public const int MICRO_VERSION
Evaluates to the micro version number of NetworkManager which this source compiled against.
- public const int MINOR_VERSION
Evaluates to the minor version number of NetworkManager which this source is compiled against.
Delegates:
- public delegate bool KeyfileReadHandler (KeyFile keyfile, Connection connection, KeyfileHandlerType handler_type, KeyfileHandlerData handler_data)
Hook to keyfile_read .
- public delegate bool KeyfileWriteHandler (Connection connection, KeyFile keyfile, KeyfileHandlerType handler_type, KeyfileHandlerData handler_data)
This is a hook to tweak the serialization.
- public delegate void SecretAgentOldDeleteSecretsFunc (SecretAgentOld agent, Connection connection, Error error)
Called as a result of a request by NM to delete secrets.
- public delegate void SecretAgentOldGetSecretsFunc (SecretAgentOld agent, Connection connection, Variant secrets, Error error)
Called as a result of a request by NM to retrieve secrets.
- public delegate void SecretAgentOldSaveSecretsFunc (SecretAgentOld agent, Connection connection, Error error)
Called as a result of a request by NM to save secrets.
- public delegate bool SettingClearSecretsWithFlagsFn (Setting setting, string secret, SettingSecretFlags flags)
- public delegate void SettingValueIterFn (Setting setting, string key, Value value, ParamFlags flags)
- public delegate bool UtilsCheckFilePredicate (string filename, void* stat) throws Error
- public delegate bool UtilsFileSearchInPathsPredicate (string filename)
- public delegate bool UtilsPredicateStr (string str)
This function takes a string argument and returns either true or false.
- public delegate void VpnIterFunc (string key, string value)
Functions:
- public Quark agent_manager_error_quark ()
- public BridgeVlan bridge_vlan_from_str (string str) throws Error
Parses the string representation of the queueing discipline to a nmbridgevlan instance.
- public Quark client_error_quark ()
- public Connection conn_wireguard_import (string filename) throws Error
- public Quark crypto_error_quark ()
- public Quark device_error_quark ()
- public bool ip_route_attribute_validate (string name, Variant value, int family, out bool known) throws Error
Validates a route attribute, i.
- public unowned VariantAttributeSpec ip_route_get_variant_attribute_spec ()
- public IPRoutingRule ip_routing_rule_from_string (string str, IPRoutingRuleAsStringFlags to_string_flags, HashTable<void*,void*>? extra_args) throws Error
- public Connection keyfile_read (KeyFile keyfile, string base_dir, KeyfileHandlerFlags handler_flags, KeyfileReadHandler? handler) throws Error
Tries to create a NMConnection from a keyfile.
- public KeyFile keyfile_write (Connection connection, KeyfileHandlerFlags handler_flags, KeyfileWriteHandler? handler) throws Error
connection
should verify as a valid profile according to verify. - public Quark manager_error_quark ()
- public Range range_from_str (string str) throws Error
Parses the string representation of the range to create a nmrange instance.
- public Quark secret_agent_error_quark ()
- public Quark settings_error_quark ()
- public bool sriov_vf_attribute_validate (string name, Variant value, out bool known) throws Error
Validates a VF attribute, i.
- public VpnEditorPlugin vpn_editor_plugin_load (string plugin_name, string check_service) throws Error
- public VpnEditorPlugin vpn_editor_plugin_load_from_file (string plugin_name, string check_service, int check_owner, UtilsCheckFilePredicate check_file) throws Error
- public Quark vpn_plugin_error_quark ()