a5928f1fd51b6f53295d35776f4901af34987899
[osm/devops.git] / charms / layers / pingpong / actions.yaml
1 set-server:
2     description: "Set the target IP address and port"
3     params:
4         server-ip:
5             description: "IP on which the target service is listening."
6             type: string
7             default: ""
8         server-port:
9             description: "Port on which the target service is listening."
10             type: integer
11             default: 5555
12     required:
13         - server-ip
14 set-rate:
15     description: "Set the rate of packet generation."
16     params:
17         rate:
18             description: "Packet rate."
19             type: integer
20             default: 5
21 get-stats:
22     description: "Get the stats."
23 get-state:
24     description: "Get the admin state of the target service."
25 get-rate:
26     description: "Get the rate set on the target service."
27 get-server:
28     description: "Get the target server and IP set"
29 start-traffic:
30     description: "Start the traffic generator or echo."
31 stop-traffic:
32     description: "Stop the traffic generator or echo."