Dmitry Tantsur 47fe222b6d Accept optional fixed_ip for nics
Covers a popular case of nodes having a pre-defined IP.

Also moves NICs code to a separate module for clarity.

Change-Id: Id8272cc30728ca68e7ce2efd4f3a2f9887ef7449
Story: #2002171
Task: #26340
2018-09-14 16:59:11 +02:00
2018-06-11 11:01:08 +02:00
2018-09-10 13:05:02 +02:00
2018-05-14 19:24:51 +02:00
2018-09-10 13:05:02 +02:00
2018-09-10 17:00:41 +02:00
2015-08-27 11:33:12 +02:00
2017-09-20 12:26:47 +02:00
2018-09-10 13:05:02 +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

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 <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 \
    --resource-class 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%