Dmitry Tantsur 1037276d61 Allow attaching existing ports
Also fix cleaning up node.extra and undeployment.

Change-Id: Ic63b3663caea4eb9acd9d8f48008785dec2a62d3
2018-05-17 15:51:26 +02:00
2018-05-17 15:51:26 +02:00
2015-08-27 12:15:49 +02:00
2018-05-14 19:24:51 +02:00
2018-05-16 12:30:14 +02:00
2015-08-27 11:33:12 +02:00
2018-05-14 19:24:51 +02:00
2017-09-20 12:26:47 +02:00

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

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

Description
Simple deployment and scheduling tool for bare metal
Readme 3.4 MiB
Languages
Python 99.9%