summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-04-10 11:45:35 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-08-08 11:24:29 +0200
commit55ae69233dc1192738ebc4d27b5ff61876353eb6 (patch)
treeec3551a96db4b3846e4edde53ab3d0b8e6d05324 /libnm
parent2ead94d5f9f57542dd1612cdd36c38b46b39c5bf (diff)
all: add connection.multi-connect property for wildcard profiles
Add a new option that allows to activate a profile multiple times (at the same time). Previoulsy, all profiles were implicitly NM_SETTING_CONNECTION_MULTI_CONNECT_SINGLE, meaning, that activating a profile that is already active will deactivate it first. This will make more sense, as we also add more match-options how profiles can be restricted to particular devices. We already have connection.type, connection.interface-name, and (ethernet|wifi).mac-address to restrict a profile to particular devices. For example, it is however not possible to specify a wildcard like "eth*" to match a profile to a set of devices by interface-name. That is another missing feature, and once we extend the matching capabilities, it makes more sense to activate a profile multiple times. See also https://bugzilla.redhat.com/show_bug.cgi?id=997998, which previously changed that a connection is restricted to a single activation at a time. This work relaxes that again. This only adds the new property, it is not used nor implemented yet. https://bugzilla.redhat.com/show_bug.cgi?id=1555012
Diffstat (limited to 'libnm')
-rw-r--r--libnm/libnm.ver2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index ef9701754..15f7283fe 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -1385,6 +1385,7 @@ global:
nm_connection_get_setting_6lowpan;
nm_connection_get_setting_sriov;
nm_connection_get_setting_wpan;
+ nm_connection_multi_connect_get_type;
nm_device_6lowpan_get_type;
nm_device_wireguard_get_fwmark;
nm_device_wireguard_get_listen_port;
@@ -1392,6 +1393,7 @@ global:
nm_device_wireguard_get_type;
nm_device_wpan_get_type;
nm_setting_6lowpan_get_type;
+ nm_setting_connection_get_multi_connect;
nm_setting_sriov_add_vf;
nm_setting_sriov_clear_vfs;
nm_setting_sriov_get_autoprobe_drivers;