summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-10-24 13:28:51 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2016-12-12 21:49:15 +0100
commit14105ece56b65fed64bade4013b105f7adaad27b (patch)
tree34e288ecd5615551608c73a28af4b6b6c775287b /introspection
parent5307e07e3b8dc13040f021ba9874130b0bc44800 (diff)
dns: export DNS manager D-Bus object
Extend the D-Bus API and introduce a new NMDnsManager interface that contains all the information related to DNS configuration. At the moment the new DnsManager object only contains basic properties describing the current DNS mode and resolv.conf manager.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.NetworkManager.DnsManager.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.DnsManager.xml b/introspection/org.freedesktop.NetworkManager.DnsManager.xml
new file mode 100644
index 000000000..8cc3eba21
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.DnsManager.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/org/freedesktop/NetworkManager/DnsManager">
+
+ <!--
+ org.freedesktop.NetworkManager.DnsManager:
+
+ The interface contains DNS-related information.
+ -->
+ <interface name="org.freedesktop.NetworkManager.DnsManager">
+
+ <!--
+ Mode:
+
+ The current DNS processing mode.
+ -->
+ <property name="Mode" type="s" access="read"/>
+
+ <!--
+ RcManager:
+
+ The current resolv.conf management mode.
+ -->
+ <property name="RcManager" type="s" access="read"/>
+
+ </interface>
+</node>