Coder Social home page Coder Social logo

arpy's Introduction

Meet Arpy - A BOSH VM Networking Validator

Ever needed to diagnose weird networking bugs on BOSH deployed VMs? We ran into a problem with a BOSH release that would create routes for itself on the networking stack. To detect this, Arpy was created.

How it Works

Arpy is a simple bash script which uses the BOSH CLI and jq. The ip addresses of each of the vms in a particular deployment are looped through. An ssh session is established and an arping command is run against all the ip addresses in the deployment. You can quickly identify which virtual machines can (and importantly cannot) send and receive traffic.

Using Arpy

Start by setting a few environment variables:

export BOSH_ENVIRONMENT="name of your bosh director"
export BOSH_DEPLOYMENT="name of your deployment"

Clone this repo and call the script to view the response. To see the results on the screen and dump them to a flat file run:

./arpy.sh 2>&1 | tee results.out

arpy's People

Contributors

cweibel avatar

Watchers

Dennis J. Bell avatar James Cloos avatar Norman Abramovitz avatar  avatar

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.