about summary refs log tree commit diff
path: root/src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml')
-rw-r--r--src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml b/src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml
new file mode 100644
index 00000000..52793452
--- /dev/null
+++ b/src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+    <interface name="com.redhat.ifcfgrh1">
+      <tp:docstring>
+          Utility methods for handling NM integration with standard Red Hat ifcfg files.
+      </tp:docstring>
+
+      <method name="GetIfcfgDetails">
+        <tp:docstring>
+          Given an ifcfg file, return various internal information about it.
+        </tp:docstring>
+        <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_ifcfgrh_get_ifcfg_details"/>
+        <arg name="ifcfg" type="s" direction="in">
+          <tp:docstring>
+            The full path to an ifcfg file.
+          </tp:docstring>
+        </arg>
+        <arg name="uuid" type="s" direction="out">
+          <tp:docstring>
+            The UUID of the NM connection backed by this ifcfg file.  If the ifcfg file does not contain a UUID tag, this UUID is generated by NM, otherwise the UUID from the ifcfg file is used.
+          </tp:docstring>
+        </arg>
+        <arg name="path" type="o" direction="out">
+          <tp:docstring>
+            The object path of the NM connected backed by this ifcfg file.
+          </tp:docstring>
+        </arg>
+      </method>
+    </interface>
+</node>