From 05207d69427cc5f016f08dde801b702d1461cfec Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 3 Dec 2018 16:01:42 -0800 Subject: 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 --- .../Network/Neighbor.interface.yaml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 xyz/openbmc_project/Network/Neighbor.interface.yaml (limited to 'xyz/openbmc_project') 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 -- cgit v1.2.1