blob: e03b4115ee7ec2c18c3f1e7d50b6cb464b607461 [file] [log] [blame]
Ravi Tejaa82161a2023-01-23 10:57:42 -06001description: >
2methods:
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