Comments (2)
There's currently no way in the CLI to stop warp17 automatically when all tests are completed.
However, scripting it to stop when it's done is quite easy. You have two options:
- start warp17 with the configuration file and monitor the syslogs on your system for
USER1: Port 0, Test Case 0 "PASSED"!
or failed messages. Once you decide that all tests are done you can safely kill warp17. - use the Python RPC API supported by warp17 to monitor the state of the tests. An example on how to do that is: https://github.com/Juniper/warp17/blob/master/examples/python/test_1_http_4M.py. More precisely, if you want to check the state of a test you need to execute a
GetTestStatus
RPC call and verify theclient_result.tsr_state
(like in thecheck_stats()
function in https://github.com/Juniper/warp17/blob/master/examples/python/test_1_http_4M.py#L240). Once you decide the tests are done you can use thewarp17_stop()
API to cleanup everything and terminate warp17.
Please let me know if you need more help with this.
from warp17.
Thank you. The explanation is clear.
from warp17.
Related Issues (20)
- Implement TCP window scaling support RFC 1323
- starter.py is not assigning correctly socket mem
- travis compile failure
- Warp17: Supporting of protocol device emulation feature and MPLS raw packet/L2 frame generation
- When we try to set uptime/downtime/init on a server testcase we report a wrong error message
- QinQ support HOT 1
- Starter script doesn't collect memory (crash)
- Build on CentOS 7.6 HOT 9
- dpdk 18.11 is supported? HOT 1
- http bandwidth drops periodically HOT 4
- Run on SR-IOV NIC
- Ubuntu 16.04.7 fails to build
- User Interface Question HOT 2
- Multiple Source IPs HOT 16
- SSL/TLS Traffic Generation HOT 2
- Warp17 fails to run with "USER1: ERROR: WARP17 couldn't find any available ports!" HOT 1
- Enable support for python3 & proto3 HOT 2
- Example config for testing CPS (Connections per second) HOT 1
- Incorrect command line help string for timer statistics.
- Cli show test config display 0 GW
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warp17.