openbaleron

command module
v0.0.0-...-d029258 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Openbaleron is a simple tool meant for running as a pod or on VM image to test network communcation

Right now it's being reworked to use redis pub/sub for controlling it. The following is now outdated. Will update it once I settle on some final vision.

As of now it's capable of doing the following:

  • ICMP: - curl pod_ip:60999/google.com/4/200 will perform icmp request to google.com, 4 times, with 200 byte packets
  • HTTP GET - curl pod_ip:60999/about.google will make http GET to http://about.google and will follow redirects
  • HTTP ping - curl pod_ip:60999/ping will respond pong
  • HTTP serve content - curl pod_ip:60999/serve/555 will respond with 555MB of random data
  • shutdown - curl pod_ip:60999/shutdown - gracefuly shuts down the server.

In case of any of those fail - it will respond with non-200 http code and tell what caused it. In case of success - 200 and ok response will be returned.

The main purpose of openbaleron is to easily fit into your testing infra with no additional overhead. Instead of writing parsers for curl or ping commands and orchestrating it with various ssh transport libraries, you just to simple GET on pods IP and it will perform what's needed and actually bring it up with kubernetes task or cloud-init.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址