about summary refs log tree commit diff
path: root/introspection/nm-manager.xml
diff options
context:
space:
mode:
Diffstat (limited to 'introspection/nm-manager.xml')
-rw-r--r--introspection/nm-manager.xml72
1 files changed, 72 insertions, 0 deletions
diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml
index 6f3c8cac..a0e27732 100644
--- a/introspection/nm-manager.xml
+++ b/introspection/nm-manager.xml
@@ -244,6 +244,19 @@
       </arg>
     </method>
 
+    <method name="CheckConnectivity">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_check_connectivity"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <tp:docstring>
+	Re-check the network connectivity state.
+      </tp:docstring>
+      <arg name="connectivity" type="u" tp:type="NM_CONNECTIVITY" direction="out">
+        <tp:docstring>
+          The current connectivity state.
+        </tp:docstring>
+      </arg>
+    </method>
+
     <method name="state">
       <tp:docstring>
         The overall networking state as determined by the NetworkManager daemon,
@@ -302,6 +315,25 @@
       </tp:docstring>
     </property>
 
+    <property name="PrimaryConnection" type="o" access="read">
+      <tp:docstring>
+        The object path of the "primary" active connection being used
+        to access the network. In particular, if there is no VPN
+        active, or the VPN does not have the default route, then this
+        indicates the connection that has the default route. If there
+        is a VPN active with the default route, then this indicates
+        the connection that contains the route to the VPN endpoint.
+      </tp:docstring>
+    </property>
+
+    <property name="ActivatingConnection" type="o" access="read">
+      <tp:docstring>
+        The object path of an active connection that is currently
+        being activated and which is expected to become the new
+        PrimaryConnection when it finishes activating.
+      </tp:docstring>
+    </property>
+
     <property name="Version" type="s" access="read">
       <tp:docstring>
         NetworkManager version.
@@ -325,6 +357,12 @@
       </arg>
     </signal>
 
+    <property name="Connectivity" type="u" access="read" tp:type="NM_CONNECTIVITY">
+      <tp:docstring>
+        The network connectivity state.
+      </tp:docstring>
+    </property>
+
     <signal name="PropertiesChanged">
       <tp:docstring>
         NetworkManager's properties changed.
@@ -405,5 +443,39 @@
       </tp:enumvalue>
     </tp:enum>
 
+    <tp:enum name="NM_CONNECTIVITY" type="u">
+      <tp:docstring>
+        Describes the network-connectivity state.
+      </tp:docstring>
+      <tp:enumvalue suffix="UNKNOWN" value="0">
+        <tp:docstring>
+          Network connectivity is unknown.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="NONE" value="1">
+        <tp:docstring>
+          The host is not connected to any network.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="PORTAL" value="2">
+        <tp:docstring>
+          The host is behind a captive portal and cannot reach the
+          full Internet.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="LIMITED" value="3">
+        <tp:docstring>
+          The host is connected to a network, but does not appear to
+	  be able to reach the full Internet.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="FULL" value="4">
+        <tp:docstring>
+	  The host is connected to a network, and appears to be able
+	  to reach the full Internet
+        </tp:docstring>
+      </tp:enumvalue>
+    </tp:enum>
+
   </interface>
 </node>