Git Product home page Git Product logo

sdntest's People

Contributors

fno2010 avatar shawnlinlovelife avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdntest's Issues

Specify extra arguments in config file

Currently, we specify "workflow" in "config.json".

For general purpose, we can allow users to set extra arguments in the config file. But consider controller ip as the first argument by default.

So slow network performance in docker :(

Current implementation strongly depends on docker containers. But refer to moby/moby#7857, network performance is so poor in the docker containers. Even in the host mode, docker network is still with higher delay.

On potential solution is to support to execute test jobs on the physical machines. Another one may be cluster mode (swarm) for a parallel test.

Support parallel testcases

Since each TestSuite() instance is independent, framework should support to execute testcases parallelly.

One potential solution is to specify the parallel size in config file like this:

{
    "...": "...",
    "workflow": "main.py",
    "repeat": 12,
    "parallel": 4
}

It will create 4 threads to run testcases parallelly. Each thread can repeat the testcases by 3 times.

Deprecate sdntest.sh or not?

Docker python APIs can get and maintain the docker images and containers easily. In the current implementation, the python version script (bin/sdntest) has been ahead of the bash version (bin/sdntest.sh).

Maybe we can deprecate the bash version script. The only consideration is that some minimal working environment (like CoreOS) may not have python runtime.

Any thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.