blob: 565dcd6e13eb30a2a302b8287bcd1808a5d2a7f8 [file] [log] [blame]
Ratan Gupta632b80b2017-03-16 16:38:03 +05301description: >
2 This defines an IP address.
3
4# TODO Fix it through https://github.com/openbmc/openbmc/issues/1438
5# creatable: true
6
7properties:
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 Gupta487b02b2017-05-11 16:06:46 +053025 - name: Type
26 type: enum[self.Protocol]
27 description: >
28 IP protocol type which can be IPv4 or IPv6 etc.
Ratan Gupta632b80b2017-03-16 16:38:03 +053029
30enumerations:
Ratan Gupta487b02b2017-05-11 16:06:46 +053031 - name: Protocol
32 description: >
33 Possible IP protocol types.
34 values:
35 - name: IPv4
36 - name: IPv6
37
Ratan Gupta632b80b2017-03-16 16:38:03 +053038 - 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.