summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2018-08-28 09:16:42 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-31 00:49:18 +0000
commitcbe88430ccdcf9f22c2b8dc24fad3df40ce389c4 (patch)
treeee63083b82809d0aa04474384139cb8b375a4cf9
parent94998a64fadcdbb08da30058278a0372ae7423bb (diff)
downloadphosphor-dbus-interfaces-cbe88430ccdcf9f22c2b8dc24fad3df40ce389c4.tar.gz
phosphor-dbus-interfaces-cbe88430ccdcf9f22c2b8dc24fad3df40ce389c4.zip
Add errors to Network/Client interface
Setting properties in this interface could fail to due to invalid arguments, or internal errors. Change-Id: Id734f47e68495b42440dfdb0246b83e95045a037 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--xyz/openbmc_project/Network/Client.interface.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Network/Client.interface.yaml b/xyz/openbmc_project/Network/Client.interface.yaml
index ce8bc8b..8c8eaeb 100644
--- a/xyz/openbmc_project/Network/Client.interface.yaml
+++ b/xyz/openbmc_project/Network/Client.interface.yaml
@@ -8,7 +8,12 @@ properties:
type: string
description: >
The value of this property can be IP/hostname of the network endpoint.
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: Port
type: uint16
description: >
The value of this property is the network port number.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
OpenPOWER on IntegriCloud