diff options
| author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2017-11-11 12:45:46 -0600 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-04 04:37:21 +0000 |
| commit | 9481230bc7ba5c186bde99719bf5e8a60cac45a5 (patch) | |
| tree | 64aa123e196101b6eb9238f218332e75aac18e9f | |
| parent | 05c537e5dfcbe3b5ef39a16497c728e91c93f0f4 (diff) | |
| download | phosphor-networkd-9481230bc7ba5c186bde99719bf5e8a60cac45a5.tar.gz phosphor-networkd-9481230bc7ba5c186bde99719bf5e8a60cac45a5.zip | |
Update Create.interface.yaml to return errors
-elog<InvalidArgument> is throwing an exception in bad path
testing and we don't have catch for it in current code.
-Updated the yaml file(added error) which will catch the exception
and will return error.
Fixes openbmc/openbmc#2576
Change-Id: If3db07e5d96231189bd2742cc6803b480b9ac462
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
| -rw-r--r-- | xyz/openbmc_project/Network/IP/Create.interface.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Network/IP/Create.interface.yaml b/xyz/openbmc_project/Network/IP/Create.interface.yaml index a02e443..38805e7 100644 --- a/xyz/openbmc_project/Network/IP/Create.interface.yaml +++ b/xyz/openbmc_project/Network/IP/Create.interface.yaml @@ -20,3 +20,5 @@ methods: type: string description: > Gateway Address. + errors: + - xyz.openbmc_project.Common.Error.InvalidArgument |

