Giter Club home page Giter Club logo

dalmasca's Introduction

Dalmasca: Network DevOps Container

Dalmasca Tribe

This container aims to have everything needed to begin automating your network. Since this container will never be a true microservice, but rather an environment to perform your automation / troubleshooting, I have selected Centos as the base image. While this ultimately makes the container much larger, it has everything that I need to do my job (ie. SSH, traceroute, ping, and yum for anything missed).

image: centos/python-36-centos7:latest

Operations

How to use this container

Pull from Dockerhub

docker pull packetferret/dalmasca:latest

This image is a "squashed" image, resulting in half the size but without any layers. For those unfamilar with docker concepts, or don't want to build the container themselves, this is the way to go.

Please note that if you use the image on Dockerhub instead of building it locally with this repo, you lose out on the awesome Makefile commands. Should that be the case, please use the following command to run the container instead:

docker run -it -v $(pwd):/home/tmp/files -w /home/tmp/files packetferret/dalmasca:latest /usr/bin/zsh

This will run the container image (packetferret/dalmasca:latest) with the executable of zshell (/usr/bin/zsh), while mounting your current directory ($pwd) in /home/tmp/files; as an added bonus the command will also place you in that path within the container.

Use this command in any directory on your host machine that has automation goodies to run, they'll immediately be presented as your current directory in the container.

Happy automating.

Building the container

If you're more privy to building the containers, and you're on a *nix workstation with Make installed (build-essentials), then proceed with this method instead.

make build

Run the container

make run

Running this container will mount the current directory from your local computer into the container, run ls -l inside the container to confirm your files are there

If your files are in another directory, then run the following command in that directory instead.

docker run -it -v $(pwd):/home/tmp/files -w /home/tmp/files packetferret/dalmasca:latest /usr/bin/zsh

Packages installed

This is an incomplete list of packages you may find interesting

  • ansible
  • aos-pyez (Apstra)
  • batfish
  • f5-sdk (F5)
  • jsnapy (Juniper pre/post checks tool)
  • junos-eznc (Juniper PyEZ)
  • jxmlease (Juniper XML)
  • napalm
  • netmiko
  • ntc-ansible
  • nxapi-plumbing
  • pyeapi (Arista EOS)
  • pyIOSXR (Cisco IOS-XR)
  • textfsm

dalmasca's People

Watchers

 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.