Simple deployment and scheduling tool for bare metal
Go to file
Dmitry Tantsur 9a2fd614ca Install all dependencies when building docs
RTD cannot install several requirements files (SIGH), not does it use
pip to install projects (SIGH#2). This change creates a new requirement
file doc/joined-requirements.txt and links to both doc/requirements.txt
and root requirements.txt from it.

Note that we cannot put -r instructions to doc/requirements.txt since
it's managed by global-requirements.

Change-Id: Iaebf5917dc20d063e506a055d9f5af4daee0415b
2018-05-18 18:19:42 +02:00
doc Install all dependencies when building docs 2018-05-18 18:19:42 +02:00
metalsmith Add docs generation (+ clean up) 2018-05-18 13:12:29 +02:00
playbooks/integration Allow attaching existing ports 2018-05-17 15:51:26 +02:00
.gitignore Add docs generation (+ clean up) 2018-05-18 13:12:29 +02:00
.gitreview Migrate to OpenStack infra 2018-05-14 19:24:51 +02:00
.zuul.yaml Run a job building docs and publishing them to readthedocs 2018-05-18 14:59:03 +02:00
LICENSE Initial commit 2015-08-27 11:33:12 +02:00
README.rst Run a job building docs and publishing them to readthedocs 2018-05-18 14:59:03 +02:00
requirements.txt Stop depending on oslo.utils 2018-05-17 16:34:19 +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 Install all dependencies when building docs 2018-05-18 18:19:42 +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

CLI Usage

Generic usage is as follows:

metalsmith --os-cloud <CLOUD NAME> 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):

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

To remove the deployed instance:

metalsmith --os-cloud <CLOUD NAME> undeploy <NODE UUID>

For all possible options see the built-in help:

metalsmith --help

Contributing