Code Monkey home page Code Monkey logo

sport-remapping-recreation's Introduction

Connection Tracking and Service Remapping Tester Tool

For basic usage, try running the ./test.sh against your cluster.

This will run a single bi-directional UDP 'stream' of traffic between 2 endpoints (service-to-service). Upon receiving a packet, the application will respond, so inflight packets should max at 1.

After a packet is lost or delayed, a timer will count up to 10 and if reinit is set, the requester endpoint will send another datagram in an attempt to re trigger the back-and-forth connection.

|main⚡ ⇒ python3 ./main.py --help
usage: main.py [-h] [--req-port Req_P] [--rec-port Rec_P] [--req-address Req_Addr] [--rec-address Rec_Addr] [--conn-end Conn_End] [--protocol Protocol] [--reinit | --no-reinit]

Performing testing and reproduction of issues seen in OVNKubernetes connection tracking.

optional arguments:
  -h, --help            show this help message and exit
  --req-port Req_P      the source port for request packets. Defaults to env `REQUESTER_SERVICE_PORT`
  --rec-port Rec_P      the source port for receiver Pods packets. Defaults to env `RECEIVER_SERVICE_PORT`
  --req-address Req_Addr
                        the source IP addres for request packets. Defaults to env `REQUESTER_SERVICE_HOST`
  --rec-address Rec_Addr
                        the source IP addres for receiver packets. Defaults to env `RECEIVER_SERVICE_HOST`
  --conn-end Conn_End   Whether the application should initiate the communication or wait to be initiated with. Options are "receiver" or "requester"
  --protocol Protocol   The L4 protocol to be used with tests. Options are "udp" or "tcp"
  --reinit, --no-reinit
                        Re-initialise communication after context-timeout. This is only used if conn-end is "requester" (default: True)

sport-remapping-recreation's People

Contributors

michaelwasher avatar

Watchers

James Cloos avatar  avatar

Forkers

martinkennelly

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.