Simple deployment and scheduling tool for bare metal
Go to file
Dmitry Tantsur 8c7870f6ad Migrate to OpenStack infra
Change-Id: I126b10a6b95e2cd3ac07de4a87f9b14c10b938b4
2018-05-14 19:24:51 +02:00
metalsmith Add unit tests for the recent IP display addition 2018-05-09 16:39:15 +02:00
.gitignore Initial structure 2015-08-27 12:15:49 +02:00
.gitreview Migrate to OpenStack infra 2018-05-14 19:24:51 +02:00
LICENSE Initial commit 2015-08-27 11:33:12 +02:00
README.rst Migrate to OpenStack infra 2018-05-14 19:24:51 +02:00
requirements.txt Grand refactor to split out reusable bits 2018-05-08 21:32:14 +02:00
setup.cfg Migrate to OpenStack infra 2018-05-14 19:24:51 +02:00
setup.py Update from Pike requirements 2017-09-20 12:26:47 +02:00
test-requirements.txt Grand refactor to split out reusable bits 2018-05-08 21:32:14 +02:00
tox.ini Bring test coverage to 90% and keep it there 2018-05-09 15:48:35 +02:00

README.rst

Deployment and Scheduling tool for Bare Metal

Overview

This is a simple tool to provision bare metal machines using OpenStack Bare Metal Service (ironic), OpenStack Image Service (glance) and OpenStack Networking Service (neutron).

Installation

pip install --user metalsmith

Usage

Start with sourcing your OpenStack credentials, for example:

. ~/stackrc

Generic usage is as follows:

metalsmith deploy --image <GLANCE IMAGE> --network <NEUTRON NET> \
    --ssh-public-key <PATH TO SSH PUBLIC KEY> <RESOURCE CLASS>

This is an example suitable for TripleO (replace compute with the profile you want to deploy):

metalsmith deploy --image overcloud-full --network ctlplane \
    --capability profile=compute --ssh-public-key ~/.ssh/id_rsa.pub baremetal

To remove the deployed instance:

metalsmith undeploy <NODE UUID>

For all possible options see the built-in help:

metalsmith --help

Contributing