X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=juju-charms%2Flayers%2Fpingpong%2Factions.yaml;fp=juju-charms%2Flayers%2Fpingpong%2Factions.yaml;h=a5928f1fd51b6f53295d35776f4901af34987899;hb=c7a82d0be7c72183e6db9e0fb522b484f9c8df84;hp=0000000000000000000000000000000000000000;hpb=7a74772ace6ca83bd7795d3251960ba16c57f90d;p=osm%2Fdevops.git diff --git a/juju-charms/layers/pingpong/actions.yaml b/juju-charms/layers/pingpong/actions.yaml new file mode 100644 index 00000000..a5928f1f --- /dev/null +++ b/juju-charms/layers/pingpong/actions.yaml @@ -0,0 +1,32 @@ +set-server: + description: "Set the target IP address and port" + params: + server-ip: + description: "IP on which the target service is listening." + type: string + default: "" + server-port: + description: "Port on which the target service is listening." + type: integer + default: 5555 + required: + - server-ip +set-rate: + description: "Set the rate of packet generation." + params: + rate: + description: "Packet rate." + type: integer + default: 5 +get-stats: + description: "Get the stats." +get-state: + description: "Get the admin state of the target service." +get-rate: + description: "Get the rate set on the target service." +get-server: + description: "Get the target server and IP set" +start-traffic: + description: "Start the traffic generator or echo." +stop-traffic: + description: "Stop the traffic generator or echo."