| description: > |
| methods: |
| - name: StaticRoute |
| description: > |
| Create a static route entry. |
| parameters: |
| - name: Destination |
| type: string |
| description: > |
| Destination Address. |
| - name: Gateway |
| type: string |
| description: > |
| Next hop address to reach destination address |
| - name: PrefixLength |
| type: size |
| description: > |
| Number of network bits in the address |
| - name: ProtocolType |
| type: enum[xyz.openbmc_project.Network.IP.Protocol] |
| description: > |
| protocol type can be IPv4 or IPv6 etc. |
| returns: |
| - name: Path |
| type: object_path |
| description: > |
| The path for the created static route object. |
| errors: |
| - xyz.openbmc_project.Common.Error.InvalidArgument |