Network Manager plugin for OpenVoiceOS hardware abstraction layer
Project description
PHAL plugin - Network Manager
Provides the network manager interface for NetworkManager based plugins. This plugin utilizes nmcli for all communications with network manager. The dbus interface for this plugin is a work in progress.
Requires
This plugin has the following requirements:
- nmcli
Install
pip install ovos-PHAL-plugin-network-manager
Event Details:
Backend Selection
This plugin provides two different backends: nmcli and dbus, the following event allows for setting the backend at runtime for every operation
# Backend:
# ovos.phal.nm.set.backend
# - type: Request
# - description: Allows client to use a specific backend
# ovos.phal.nm.backend.not.supported
# - type: Response
# - description: Emitted when plugin does not support the
# specific backend
Scanning
This plugin provides scanning operations for Network Manager to scan for available nearby networks, the following event can be used to initialize the scan.
# Scanning:
# ovos.phal.nm.scan
# - type: Request
# - description: Allows client to request for a network scan
#
# ovos.phal.nm.scan.complete
# - type: Response
# - description: Emited when the requested scan is completed
# with a network list
Connecting
This plugin provides handling of connection operations for Network Manager, the following events can be used to connect a network, disconnect a network using the network manager interface.
# Connecting:
# ovos.phal.nm.connect
# - type: Request
# - description: Allows clients to connect to a given network
#
# ovos.phal.nm.connection.successful
# - type: Response
# - description: Emitted when a connection is successfully established
#
# ovos.phal.nm.connection.failure
# - type: Response
# - description: Emitted when a connection fails to establish
#
# Disconnecting:
# ovos.phal.nm.disconnect
# - type: Request
# - description: Allows clients to disconnect from a network
#
# ovos.phal.nm.disconnection.successful
# - type: Response
# - description: Emitted when a connection successfully disconnects
#
# ovos.phal.nm.disconnection.failure
# - type: Response
# - description: Emitted when a connection fails to disconnect
Forget Networks
The plugin also provides a interface to forget already connected networks, The following events can be used to forget a network
# Forgetting:
# ovos.phal.nm.forget
# - type: Request
# - description: Allows a client to forget a network
#
# ovos.phal.nm.forget.successful
# - type: Response
# - description: Emitted when a connection successfully is forgetten
#
# ovos.phal.nm.forget.failure
# - type: Response
# - description: Emitted when a connection fails to forget
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ovos-PHAL-plugin-network-manager-1.0.1a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc58e4a66ef402442b4eafb3b2315a3285f96d3d1e9d3f29f43461de91a02139 |
|
MD5 | 61f5a1d1e4a18f36705e949229bd4058 |
|
BLAKE2b-256 | 4384be812edb6065388fa5e9bb37dd35f134a9eb9e484830e193de3f7376b58a |
Hashes for ovos_PHAL_plugin_network_manager-1.0.1a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f459e7c98541d503e02910e43de91d765336065e7ffceb604b74b86068b447a |
|
MD5 | b37e60bb4dcff467331714f7e774aebd |
|
BLAKE2b-256 | 882422844fd463693b0c029113e3985a1dd775803ba0388e3e5916c43a28b4e4 |