1description: >
2    This defines a network Neighbor mapping.
3
4# TODO Fix it through https://github.com/openbmc/openbmc/issues/1438
5# creatable: true
6
7properties:
8    - name: IPAddress
9      type: string
10      description: >
11          The IP Address of the neighbor.
12      errors:
13          - xyz.openbmc_project.Common.Error.NotAllowed
14    - name: MACAddress
15      type: string
16      description: >
17          The low level mac address that the IP maps to.
18      errors:
19          - xyz.openbmc_project.Common.Error.NotAllowed
20    - name: State
21      type: enum[self.State]
22      description: >
23          State the neighbor is in.
24      errors:
25          - xyz.openbmc_project.Common.Error.NotAllowed
26
27enumerations:
28    - name: State
29      description: >
30          The internal state of the neighbor entry.
31      values:
32          - name: Incomplete
33          - name: Reachable
34          - name: Stale
35          - name: Invalid
36          - name: Permanent
37