Ratan Gupta | 632b80b | 2017-03-16 16:38:03 +0530 | [diff] [blame] | 1 | description: > |
| 2 | This defines an IP address. |
| 3 | |
| 4 | # TODO Fix it through https://github.com/openbmc/openbmc/issues/1438 |
| 5 | # creatable: true |
| 6 | |
| 7 | properties: |
| 8 | - name: Address |
| 9 | type: string |
| 10 | description: > |
| 11 | The value of this property shall be an IP address assigned to |
| 12 | the ethernet interface. |
| 13 | - name: PrefixLength |
| 14 | type: byte |
| 15 | description: > |
| 16 | This is the number of network bits in the ipaddress. |
| 17 | - name: Origin |
| 18 | type: enum[self.AddressOrigin] |
| 19 | description: > |
| 20 | This indicates how the address was determined. |
| 21 | - name: Gateway |
| 22 | type: string |
| 23 | description: > |
| 24 | This is the IP gateway for this address. |
| 25 | |
| 26 | enumerations: |
| 27 | - name: AddressOrigin |
| 28 | description: > |
| 29 | Possible IP address origin types. |
| 30 | values: |
| 31 | - name: Static |
| 32 | description: > |
| 33 | Static address configured by the server. |
| 34 | - name: DHCP |
| 35 | description: > |
| 36 | Address is provided by a DHCP service. |
| 37 | - name: LinkLocal |
| 38 | description: > |
| 39 | Address is valid only for this network segment. |
| 40 | - name: SLAAC |
| 41 | description: > |
| 42 | Address is provided by a Stateless Address Autoconfiguration. |