blob: eae23597e754f4586e5b7504994757d03ba26402 [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: >
Patrick Williamsa1347412022-12-06 10:56:22 -060011 The value of this property shall be an IP address assigned to the
12 ethernet interface.
Ravi Teja6891f192019-06-13 13:31:34 -050013 errors:
William A. Kennington III9f2fee82022-09-01 12:54:52 -070014 - xyz.openbmc_project.Common.Error.NotAllowed
Ravi Teja6891f192019-06-13 13:31:34 -050015
Ratan Gupta632b80b2017-03-16 16:38:03 +053016 - name: PrefixLength
17 type: byte
18 description: >
19 This is the number of network bits in the ipaddress.
Ravi Teja6891f192019-06-13 13:31:34 -050020 errors:
William A. Kennington III9f2fee82022-09-01 12:54:52 -070021 - xyz.openbmc_project.Common.Error.NotAllowed
Ravi Teja6891f192019-06-13 13:31:34 -050022
Ratan Gupta632b80b2017-03-16 16:38:03 +053023 - name: Origin
24 type: enum[self.AddressOrigin]
25 description: >
26 This indicates how the address was determined.
Ravi Teja6891f192019-06-13 13:31:34 -050027 errors:
William A. Kennington III9f2fee82022-09-01 12:54:52 -070028 - xyz.openbmc_project.Common.Error.NotAllowed
Ravi Teja6891f192019-06-13 13:31:34 -050029
Ratan Gupta632b80b2017-03-16 16:38:03 +053030 - name: Gateway
31 type: string
32 description: >
33 This is the IP gateway for this address.
Ravi Teja6891f192019-06-13 13:31:34 -050034 errors:
William A. Kennington III9f2fee82022-09-01 12:54:52 -070035 - xyz.openbmc_project.Common.Error.NotAllowed
Ravi Teja6891f192019-06-13 13:31:34 -050036
Ratan Gupta487b02b2017-05-11 16:06:46 +053037 - name: Type
38 type: enum[self.Protocol]
39 description: >
40 IP protocol type which can be IPv4 or IPv6 etc.
Ravi Teja6891f192019-06-13 13:31:34 -050041 errors:
William A. Kennington III9f2fee82022-09-01 12:54:52 -070042 - xyz.openbmc_project.Common.Error.NotAllowed
Ratan Gupta632b80b2017-03-16 16:38:03 +053043
44enumerations:
Ratan Gupta487b02b2017-05-11 16:06:46 +053045 - name: Protocol
46 description: >
47 Possible IP protocol types.
48 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050049 - name: IPv4
50 - name: IPv6
Ratan Gupta487b02b2017-05-11 16:06:46 +053051
Ratan Gupta632b80b2017-03-16 16:38:03 +053052 - name: AddressOrigin
53 description: >
54 Possible IP address origin types.
55 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050056 - name: Static
57 description: >
58 Static address configured by the server.
59 - name: DHCP
60 description: >
61 Address is provided by a DHCP service.
62 - name: LinkLocal
63 description: >
64 Address is valid only for this network segment.
65 - name: SLAAC
66 description: >
67 Address is provided by a Stateless Address Autoconfiguration.