summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Network/IP/Create.interface.yaml
blob: 4a14c16af1cc56bfdfa7ded3154af2d02afb88c7 (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
description: >
methods:
    - name: IP
      description: >
          Create ipaddress object.
      parameters:
        - name: ProtocolType
          type: enum[xyz.openbmc_project.Network.IP.Protocol]
          description: >
              protocol type can be IPv4 or IPv6 etc.
        - name: Address
          type: string
          description: >
              IP Address.
        - name: PrefixLength
          type: byte
          description: >
              Prefix Length.
        - name: Gateway
          type: string
          description: >
              Gateway Address.
      returns:
        - name: Path
          type: path
          description: >
            The path for the created ipaddress object.
      errors:
        - xyz.openbmc_project.Common.Error.InvalidArgument
OpenPOWER on IntegriCloud