summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-04-10 16:07:30 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-04-19 19:41:21 +0000
commit53aef9bc7a422a7955db92c4792fc90afcb97802 (patch)
tree295bae89b7f8c5f8fa16522ce43adb4bd06d92fa /xyz
parent6da2b22f64c984a8703e4fd5d5ac486439d67a6f (diff)
downloadphosphor-dbus-interfaces-53aef9bc7a422a7955db92c4792fc90afcb97802.tar.gz
phosphor-dbus-interfaces-53aef9bc7a422a7955db92c4792fc90afcb97802.zip
TFTP errors
Created new errors, InternalFailure and InvalidArgument, in Common.errors.yaml. These errors are used in TFTP.interface.yaml. Change-Id: I2aa3e7bf57b2562945efdd9efba19b4551a7c0b1 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Common.errors.yaml9
-rw-r--r--xyz/openbmc_project/Common.metadata.yaml6
-rw-r--r--xyz/openbmc_project/Common/TFTP.interface.yaml3
3 files changed, 17 insertions, 1 deletions
diff --git a/xyz/openbmc_project/Common.errors.yaml b/xyz/openbmc_project/Common.errors.yaml
index 3024682..4dd9311 100644
--- a/xyz/openbmc_project/Common.errors.yaml
+++ b/xyz/openbmc_project/Common.errors.yaml
@@ -1,2 +1,9 @@
- name: Timeout
- description: Operation timed out
+ description: >
+ Operation timed out.
+- name: InternalFailure
+ description: >
+ The operation failed internally.
+- name: InvalidArgument
+ description: >
+ Invalid argument was given.
diff --git a/xyz/openbmc_project/Common.metadata.yaml b/xyz/openbmc_project/Common.metadata.yaml
index c4a651d..1c45f45 100644
--- a/xyz/openbmc_project/Common.metadata.yaml
+++ b/xyz/openbmc_project/Common.metadata.yaml
@@ -2,3 +2,9 @@
meta:
- str: "TIMEOUT_IN_MSEC=%llu"
type: uint64
+- name: InvalidArgument
+ meta:
+ - str: "ARGUMENT_NAME=%s"
+ type: string
+ - str: "ARGUMENT_VALUE=%s"
+ type: string
diff --git a/xyz/openbmc_project/Common/TFTP.interface.yaml b/xyz/openbmc_project/Common/TFTP.interface.yaml
index 0a4665a..9a1b061 100644
--- a/xyz/openbmc_project/Common/TFTP.interface.yaml
+++ b/xyz/openbmc_project/Common/TFTP.interface.yaml
@@ -13,3 +13,6 @@ methods:
type: string
description: >
The TFTP Server IP Address.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
OpenPOWER on IntegriCloud