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>
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