summaryrefslogtreecommitdiff
path: root/src/nm-manager.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-11-28 12:32:03 +0000
committerLubomir Rintel <lkundrak@v3.sk>2016-12-15 11:45:34 +0100
commit8b7b0d3fc2604a2cdecb32d97f8cb3ff63a069f0 (patch)
treeffff5118e7d6778ad4a2f31e09102f82d3b4adc8 /src/nm-manager.h
parent96988f8debe2138d7236bde44f8d1bb130f257a9 (diff)
ifcfg-rh: write the master device name even if the master property is an UUID
We used MASTER, BRIDGE and TEAM_MASTER keys for a differnet purpose than the network.service did, confusing the legacy tooling. Let's do our best to write compatible configuration files: * Add *_UUID properties that won't clash with initscripts * Ignore non-*_UUID keys on read if *_UUID is present * If the connection.master is an UUID of a connection with a connection.interface-name, write the uuid into the *_UUID key while setting the non-*_UUID key to the interface name for compatibility https://bugzilla.redhat.com/show_bug.cgi?id=1369091
Diffstat (limited to 'src/nm-manager.h')
-rw-r--r--src/nm-manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-manager.h b/src/nm-manager.h
index 963e22798c..13cae375be 100644
--- a/src/nm-manager.h
+++ b/src/nm-manager.h
@@ -103,6 +103,9 @@ char * nm_manager_get_connection_iface (NMManager *self,
NMDevice **out_parent,
GError **error);
+const char * nm_manager_iface_for_uuid (NMManager *self,
+ const char *uuid);
+
NMActiveConnection *nm_manager_activate_connection (NMManager *manager,
NMSettingsConnection *connection,
NMConnection *applied_connection,