Coder Social home page Coder Social logo

imxuthus / strapper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from entropyworks/strapper

1.0 1.0 0.0 948 KB

Web application to manage iPXE bootstraps. This project is inactive and will be removed.

Python 98.43% HTML 0.85% CSS 0.34% C 0.07% JavaScript 0.31%

strapper's Introduction

About

Strapper is a web application to manage the mapping between MAC addresses and different releases of boot images. It is written in Python and is based on the Flask microframework.

Details

Strapper reads the files matching /var/www/pxeboot/<image>/<release>/boot.pxe, and presents them as releases of different boot images.

Whenever a node requests boot configuration from http://bootstrap/boot/XX:XX:XX:XX:XX:XX (MAC address), it becomes visible in the web interface and can be mapped to an image and release. At the next boot request, the node will boot from the specific image.

Features

  • Logging to syslog and /var/log/strapper/. The latter is also presented in the web interface.
  • The nodes are logically grouped together based on the domain part in the reverse DNS name of the IP addresses.
  • Configuration for each MAC address is stored in json structures in /var/lib/strapper/ and is easy to replicate between bootstrap servers using unison or similar software.

Common requirements

  • A DHCP server allocate IP-addresses.
  • A TFTP server to serve iPXE boot firmware.
  • A web server for the strapper and the boot images.
  • Some Python standard modules for the strapper.
  • Write access to /var/log/strapper/ and /var/lib/strapper/.

strapper's People

Stargazers

Roman avatar

Watchers

James Cloos 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.