Coder Social home page Coder Social logo

dc-check's Introduction

Overview

This emulates a DC checker.

The real program would log into switches in a rack, identify attached server management ports, log into the servers, check the connectivity between servers and switches, and report this on a REST interface as JSON objects.

This program reads a YAML description of a rack or racks and emulates what an SDN controller might tell you about the devices concerned.

TODO: will report that servers are connected to TORs and other servers even when those servers are not under management. Given you couldn't put LLDP on those servers without a management connection, that's unlikely to be true in reality.

TODO: assumes the TORs don't use the management switch in the rack. That one is a 'maybe' - depends on the network engineer's preferences.

TODO: very little sunny-day testing, including none of the REST endpoints. Should have tests to ensure that more than the valid.yaml test file actually works.

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.