Ravi Teja | a82161a | 2023-01-23 10:57:42 -0600 | [diff] [blame] | 1 | description: > |
| 2 | This interface defines network static routes |
| 3 | |
| 4 | properties: |
| 5 | - name: Destination |
| 6 | type: string |
| 7 | description: > |
| 8 | The value of this property shall be a destination IP address, only |
| 9 | destination network IP address allowed. it does not allow hostname. |
| 10 | errors: |
| 11 | - xyz.openbmc_project.Common.Error.NotAllowed |
| 12 | |
| 13 | - name: Gateway |
| 14 | type: string |
| 15 | description: > |
| 16 | The value of this property shall be a next hop address assigned to the |
| 17 | ethernet interface to reach destination address. |
| 18 | errors: |
| 19 | - xyz.openbmc_project.Common.Error.NotAllowed |
| 20 | |
| 21 | - name: PrefixLength |
| 22 | type: size |
| 23 | description: > |
| 24 | This is the number of network bits in the address. |
| 25 | errors: |
| 26 | - xyz.openbmc_project.Common.Error.NotAllowed |
| 27 | |
| 28 | - name: ProtocolType |
| 29 | type: enum[xyz.openbmc_project.Network.IP.Protocol] |
| 30 | description: > |
| 31 | Protocol type can be IPv4 or IPv6 etc. |
| 32 | errors: |
| 33 | - xyz.openbmc_project.Common.Error.NotAllowed |