| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Copyright 2023 The ChromiumOS Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <!-- |
| The object and interface defined in this file is used with the service name |
| "org.chromium.PatchPanel" |
| |
| The protobuf specified in this file can be found in: |
| platform2/system_api/dbus/patchpanel/patchpanel_service.proto |
| |
| Note: If you update this file, please remember to update the dbus-constants |
| file at: |
| platform2/system_api/dbus/patchpanel/dbus-constants.h |
| --> |
| |
| <node name="/org/chromium/PatchPanel" |
| xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
| <interface name="org.chromium.PatchPanel"> |
| <!-- Exported methods. --> |
| <method name="ArcShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ArcStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ArcVmShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcVmShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcVmShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ArcVmStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcVmStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ArcVmStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ConnectNamespace"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ConnectNamespaceRequest" /> |
| </arg> |
| <arg name="client_fd" type="h" direction="in" /> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ConnectNamespaceResponse" /> |
| </arg> |
| </method> |
| |
| <method name="CreateLocalOnlyNetwork"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::LocalOnlyNetworkRequest" /> |
| </arg> |
| <arg name="client_fd" type="h" direction="in" /> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::LocalOnlyNetworkResponse" /> |
| </arg> |
| </method> |
| |
| <method name="CreateTetheredNetwork"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TetheredNetworkRequest" /> |
| </arg> |
| <arg name="client_fd" type="h" direction="in" /> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TetheredNetworkResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ConfigureNetwork"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ConfigureNetworkRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ConfigureNetworkResponse" /> |
| </arg> |
| </method> |
| |
| <method name="GetDevices"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <annotation name="org.chromium.DBus.Method.Const" value="true" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::GetDevicesRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::GetDevicesResponse" /> |
| </arg> |
| </method> |
| |
| <method name="GetDownstreamNetworkInfo"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <annotation name="org.chromium.DBus.Method.Const" value="true" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::GetDownstreamNetworkInfoRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::GetDownstreamNetworkInfoResponse" /> |
| </arg> |
| </method> |
| |
| <method name="GetTrafficCounters"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <annotation name="org.chromium.DBus.Method.Const" value="true" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TrafficCountersRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TrafficCountersResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ModifyPortRule"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ModifyPortRuleRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ModifyPortRuleResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ParallelsVmShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ParallelsVmShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ParallelsVmShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="ParallelsVmStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ParallelsVmStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::ParallelsVmStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="BruschettaVmShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BruschettaVmShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BruschettaVmShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="BruschettaVmStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BruschettaVmStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BruschettaVmStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="BorealisVmShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BorealisVmShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BorealisVmShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="BorealisVmStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BorealisVmStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::BorealisVmStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="SetDnsRedirectionRule"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetDnsRedirectionRuleRequest" /> |
| </arg> |
| <arg name="client_fd" type="h" direction="in" /> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetDnsRedirectionRuleResponse" /> |
| </arg> |
| </method> |
| |
| <method name="SetVpnLockdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetVpnLockdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetVpnLockdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="TagSocket"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TagSocketRequest" /> |
| </arg> |
| <arg name="socket_fd" type="h" direction="in" /> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TagSocketResponse" /> |
| </arg> |
| </method> |
| |
| <method name="TerminaVmShutdown"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TerminaVmShutdownRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TerminaVmShutdownResponse" /> |
| </arg> |
| </method> |
| |
| <method name="TerminaVmStartup"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TerminaVmStartupRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::TerminaVmStartupResponse" /> |
| </arg> |
| </method> |
| |
| <method name="NotifyAndroidWifiMulticastLockChange"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyAndroidWifiMulticastLockChangeRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyAndroidWifiMulticastLockChangeResponse" /> |
| </arg> |
| </method> |
| |
| <method name="NotifyAndroidInteractiveState"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyAndroidInteractiveStateRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyAndroidInteractiveStateResponse" /> |
| </arg> |
| </method> |
| |
| <method name="NotifySocketConnectionEvent"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifySocketConnectionEventRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifySocketConnectionEventResponse" /> |
| </arg> |
| </method> |
| |
| <method name="NotifyARCVPNSocketConnectionEvent"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyARCVPNSocketConnectionEventRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NotifyARCVPNSocketConnectionEventResponse" /> |
| </arg> |
| </method> |
| |
| <method name="SetFeatureFlag"> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple" /> |
| <arg name="request" type="ay" direction="in"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetFeatureFlagRequest" /> |
| </arg> |
| <arg name="response" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::SetFeatureFlagResponse" /> |
| </arg> |
| </method> |
| |
| <!-- Exported signals. --> |
| <signal name="NetworkDeviceChanged"> |
| <arg name="payload" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NetworkDeviceChangedSignal" /> |
| </arg> |
| </signal> |
| |
| <signal name="NetworkConfigurationChanged"> |
| <arg name="payload" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NetworkConfigurationChangedSignal" /> |
| </arg> |
| </signal> |
| |
| <signal name="NeighborReachabilityEvent"> |
| <arg name="payload" type="ay" direction="out"> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="patchpanel::NeighborReachabilityEventSignal" /> |
| </arg> |
| </signal> |
| </interface> |
| </node> |