summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Network/IP.interface.yaml
blob: 565dcd6e13eb30a2a302b8287bcd1808a5d2a7f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
description: >
    This defines an IP address.

# TODO Fix it through https://github.com/openbmc/openbmc/issues/1438
# creatable: true

properties:
    - name: Address
      type: string
      description: >
          The value of this property shall be an IP address assigned to
          the ethernet interface.
    - name: PrefixLength
      type: byte
      description: >
          This is the number of network bits in the ipaddress.
    - name: Origin
      type: enum[self.AddressOrigin]
      description: >
          This indicates how the address was determined.
    - name: Gateway
      type: string
      description: >
          This is the IP gateway for this address.
    - name: Type
      type: enum[self.Protocol]
      description: >
          IP protocol type which can be IPv4 or IPv6 etc.

enumerations:
    - name: Protocol
      description: >
          Possible IP protocol types.
      values:
        - name: IPv4
        - name: IPv6

    - name: AddressOrigin
      description: >
          Possible IP address origin types.
      values:
        - name: Static
          description: >
              Static address configured by the server.
        - name: DHCP
          description: >
              Address is provided by a DHCP service.
        - name: LinkLocal
          description: >
              Address is valid only for this network segment.
        - name: SLAAC
          description: >
              Address is provided by a Stateless Address Autoconfiguration.
OpenPOWER on IntegriCloud