Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame] | 1 | description: > |
| 2 | methods: |
| 3 | - name: IP |
| 4 | description: > |
| 5 | Create ipaddress object. |
| 6 | parameters: |
| 7 | - name: ProtocolType |
| 8 | type: enum[xyz.openbmc_project.Network.IP.Protocol] |
| 9 | description: > |
| 10 | protocol type can be IPv4 or IPv6 etc. |
| 11 | - name: Address |
| 12 | type: string |
| 13 | description: > |
| 14 | IP Address. |
| 15 | - name: PrefixLength |
| 16 | type: byte |
| 17 | description: > |
| 18 | Prefix Length. |
| 19 | - name: Gateway |
| 20 | type: string |
| 21 | description: > |
| 22 | Gateway Address. |
raviteja-b | ce37956 | 2019-03-28 05:59:36 -0500 | [diff] [blame] | 23 | returns: |
| 24 | - name: Path |
| 25 | type: path |
| 26 | description: > |
| 27 | The path for the created ipaddress object. |
Nagaraju Goruganti | 9481230 | 2017-11-11 12:45:46 -0600 | [diff] [blame] | 28 | errors: |
| 29 | - xyz.openbmc_project.Common.Error.InvalidArgument |