diff options
author | Ruoyu Ying <ruoyu.ying@intel.com> | 2019-04-16 19:15:45 +0800 |
---|---|---|
committer | Ruoyu Ying <ruoyu.ying@intel.com> | 2019-04-16 19:17:33 +0800 |
commit | 15411868bad0ac9ca4831335442f0b4798e43a4b (patch) | |
tree | bb7fee9f3ba7c3876a042a61c490422b99045037 /vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh | |
parent | d1bef8a2a799a275568642c27fe14ea706b0d166 (diff) |
Add scripts for vIPSEC VNF
- Add scripts for vPacketgen and vSink that would
be used in vIPSEC VNF.
- Fixed minor bugs inside the base_vipsec.yaml
Change-Id: Ide06fa3f05babe99a9728653a6d2ac214696049e
Issue-ID: INT-793
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
Diffstat (limited to 'vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh')
-rwxr-xr-x | vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh b/vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh new file mode 100755 index 00000000..e8f1bcf2 --- /dev/null +++ b/vnfs/vIPSEC/scripts/run_traffic_ipsec_demo.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +while [ 1 ] +do +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 '{"streams": {"active-streams": 10}}' http://localhost:8183/restconf/config/stream-count:stream-count/streams +sleep 300 +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 '{"streams": {"active-streams": 1}}' http://localhost:8183/restconf/config/stream-count:stream-count/streams +sleep 300 +done
\ No newline at end of file |