Ravi Teja | a82161a | 2023-01-23 10:57:42 -0600 | [diff] [blame] | 1 | description: > |
| 2 | methods: |
| 3 | - name: StaticRoute |
| 4 | description: > |
| 5 | Create a static route entry. |
| 6 | parameters: |
| 7 | - name: Destination |
| 8 | type: string |
| 9 | description: > |
| 10 | Destination Address. |
| 11 | - name: Gateway |
| 12 | type: string |
| 13 | description: > |
| 14 | Next hop address to reach destination address |
| 15 | - name: PrefixLength |
| 16 | type: size |
| 17 | description: > |
| 18 | Number of network bits in the address |
| 19 | - name: ProtocolType |
| 20 | type: enum[xyz.openbmc_project.Network.IP.Protocol] |
| 21 | description: > |
| 22 | protocol type can be IPv4 or IPv6 etc. |
| 23 | returns: |
| 24 | - name: Path |
| 25 | type: object_path |
| 26 | description: > |
| 27 | The path for the created static route object. |
| 28 | errors: |
| 29 | - xyz.openbmc_project.Common.Error.InvalidArgument |