Giter Site home page Giter Site logo

ironic-python-heartbeater's Introduction

Ironic Python Heartbeater

https://api.shippable.com/projects/584fd251ea2e1e0f00a1c57e/badge?branch=master https://api.shippable.com/projects/584fd251ea2e1e0f00a1c57e/coverageBadge?branch=master

OpenStack Baremetal provisioning service (Ironic) exposes very useful functionality of node pinging back to the service when the deploy in-memory ramdisk is up and running and is ready to proceed with actual node deployment - these are lookup and heartbeat core ironic API endpoints, available since ironic API v1.22.

In upstream, the code for this is residing in the Ironic Python Agent (IPA) project and assumes that it is started and running in the ramdisk.

Nevertheless, if presence of the complete IPA (and its requirements) is not required by a given ironic driver that still would like use the ironic's heartbeats functionality, it is possible to implement the required API calls in a much smaller script with less dependencies.

This project gives an example of such script written in Python.

The main downside comparing to IPA is that currently only the MAC address of the interface the node has booted from is passed to ironic during the lookup, so any interface that the node can potentially boot from must be enrolled into ironic as ironic port.

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.