summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-12-03 16:01:42 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-23 21:54:30 +0000
commit05207d69427cc5f016f08dde801b702d1461cfec (patch)
treef2fb640e1ee13e79e9df9fcd010141fb284f4092 /xyz/openbmc_project
parenteb458375f1313fd9151f58d5f5d26c50a3f1986b (diff)
downloadphosphor-dbus-interfaces-05207d69427cc5f016f08dde801b702d1461cfec.tar.gz
phosphor-dbus-interfaces-05207d69427cc5f016f08dde801b702d1461cfec.zip
network: Add a neighbor interface
To enable support for managing static neighbor entries in the BMC neighbor table. Change-Id: I2f3b6abe973753434433efb849d38d8d5315ed76 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r--xyz/openbmc_project/Network/Neighbor.interface.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Network/Neighbor.interface.yaml b/xyz/openbmc_project/Network/Neighbor.interface.yaml
new file mode 100644
index 0000000..a2c4161
--- /dev/null
+++ b/xyz/openbmc_project/Network/Neighbor.interface.yaml
@@ -0,0 +1,30 @@
+description: >
+ This defines a network Neighbor mapping.
+
+# TODO Fix it through https://github.com/openbmc/openbmc/issues/1438
+# creatable: true
+
+properties:
+ - name: IPAddress
+ type: string
+ description: >
+ The IP Address of the neighbor.
+ - name: MACAddress
+ type: string
+ description: >
+ The low level mac address that the IP maps to.
+ - name: State
+ type: enum[self.State]
+ description: >
+ State the neighbor is in.
+
+enumerations:
+ - name: State
+ description: >
+ The internal state of the neighbor entry.
+ values:
+ - name: Incomplete
+ - name: Reachable
+ - name: Stale
+ - name: Invalid
+ - name: Permanent
OpenPOWER on IntegriCloud