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>
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 @@
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