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. |
Ratan Gupta | 487b02b | 2017-05-11 16:06:46 +0530 | [diff] [blame] | 25 | - name: Type |
| 26 | type: enum[self.Protocol] |
| 27 | description: > |
| 28 | IP protocol type which can be IPv4 or IPv6 etc. |
Ratan Gupta | 632b80b | 2017-03-16 16:38:03 +0530 | [diff] [blame] | 29 | |
| 30 | enumerations: |
Ratan Gupta | 487b02b | 2017-05-11 16:06:46 +0530 | [diff] [blame] | 31 | - name: Protocol |
| 32 | description: > |
| 33 | Possible IP protocol types. |
| 34 | values: |
| 35 | - name: IPv4 |
| 36 | - name: IPv6 |
| 37 | |
Ratan Gupta | 632b80b | 2017-03-16 16:38:03 +0530 | [diff] [blame] | 38 | - name: AddressOrigin |
| 39 | description: > |
| 40 | Possible IP address origin types. |
| 41 | values: |
| 42 | - name: Static |
| 43 | description: > |
| 44 | Static address configured by the server. |
| 45 | - name: DHCP |
| 46 | description: > |
| 47 | Address is provided by a DHCP service. |
| 48 | - name: LinkLocal |
| 49 | description: > |
| 50 | Address is valid only for this network segment. |
| 51 | - name: SLAAC |
| 52 | description: > |
| 53 | Address is provided by a Stateless Address Autoconfiguration. |