diff options
author | platania <platania@research.att.com> | 2017-03-03 17:42:03 -0500 |
---|---|---|
committer | platania <platania@research.att.com> | 2017-03-03 17:42:03 -0500 |
commit | cfda823d61159c8180a38aa50c397713b90e7d19 (patch) | |
tree | 1f8debfd86fd10cb0919a23a2c7fdd7cb5997901 /vnfs/vFW/scripts/run_traffic_fw_demo.sh | |
parent | 7c60b45783089f9a17066b98bbd2b9944d6412eb (diff) |
generate high traffic in vFW
Change-Id: Ib63b705c368b2c648e73defa611a68abc2731e84
Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vFW/scripts/run_traffic_fw_demo.sh')
-rwxr-xr-x | vnfs/vFW/scripts/run_traffic_fw_demo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/vFW/scripts/run_traffic_fw_demo.sh b/vnfs/vFW/scripts/run_traffic_fw_demo.sh index b7a356e4..f927097e 100755 --- a/vnfs/vFW/scripts/run_traffic_fw_demo.sh +++ b/vnfs/vFW/scripts/run_traffic_fw_demo.sh @@ -1,8 +1,8 @@ #!/bin/bash -curl -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 9005870c-900b-2e2e-0902-ef2009bb0ff7" -d '{"pg-streams":{"pg-stream": [{"id":"fw_udp1", "is-enabled":"true"},{"id":"fw_udp2", "is-enabled":"true"},{"id":"fw_udp3", "is-enabled":"true"},{"id":"fw_udp4", "is-enabled":"true"},{"id":"fw_udp5", "is-enabled":"true"}]}}' "http://localhost:8183/restconf/config/sample-plugin:sample-plugin/pg-streams" +#curl -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 9005870c-900b-2e2e-0902-ef2009bb0ff7" -d '{"pg-streams":{"pg-stream": [{"id":"fw_udp1", "is-enabled":"true"},{"id":"fw_udp2", "is-enabled":"true"},{"id":"fw_udp3", "is-enabled":"true"},{"id":"fw_udp4", "is-enabled":"true"},{"id":"fw_udp5", "is-enabled":"true"}]}}' "http://localhost:8183/restconf/config/sample-plugin:sample-plugin/pg-streams" -sleep 300 +#sleep 300 while [ 1 ] do |