Network/Neighbor: Allow blocking value changes
phosphor-networkd does not allow these values to be changed, so we need
to provide an error class to return in this case.
Change-Id: Ifed959a2be7867a81b40d5b65510b89ff759dda6
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml b/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
index ecc38ec..29b9408 100644
--- a/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
@@ -9,14 +9,20 @@
type: string
description: >
The IP Address of the neighbor.
+ errors:
+ - xyz.openbmc_project.Common.Error.NotAllowed
- name: MACAddress
type: string
description: >
The low level mac address that the IP maps to.
+ errors:
+ - xyz.openbmc_project.Common.Error.NotAllowed
- name: State
type: enum[self.State]
description: >
State the neighbor is in.
+ errors:
+ - xyz.openbmc_project.Common.Error.NotAllowed
enumerations:
- name: State