RETIRED, A Python library for code common to TripleO CLI and TripleO UI.
Go to file
Ben Nemec 7bd80dbdf2 Allow updating of nodes in baremetal import
Right now, if you attempt to update a node's details using the
baremetal import command and the node has both a mac and a pm_addr
specified, it will fail because _get_node_id finds both the mac
and pm_addr match and adds the id to a list twice.  Since it's
perfectly fine for a node to match both of those fields, we
shouldn't error in that case.  Using a set instead of a list for
the data structure makes this work as expected.

Change-Id: I4b9fb1531c59a090b67f19d673c21c22b4f9523b
Closes-Bug: 1586523
2016-05-27 21:32:28 +00:00
contrib Upload docker image files from yaml config file 2016-03-21 12:13:14 -04:00
doc/source Upload docker image files from yaml config file 2016-03-21 12:13:14 -04:00
heat_docker_agent Merge "Missing python-ipaddr in heat-agents image" 2016-04-18 12:59:54 +00:00
image-yaml Example yaml for building images 2016-04-08 11:51:43 -04:00
scripts Expose documented --seconds option 2016-04-07 10:16:46 +00:00
tripleo_common Allow updating of nodes in baremetal import 2016-05-27 21:32:28 +00:00
undercloud_heat_plugins Fix no-replace-server to accurately preview update 2016-03-23 16:11:11 +00:00
workbooks Initial Integration of Mistral into TripleO 2016-05-16 09:15:14 -04:00
.coveragerc Make coverage tests work 2015-11-30 23:01:07 +00:00
.gitignore Make coverage tests work 2015-11-30 23:01:07 +00:00
.gitreview Added .gitreview 2015-04-09 13:57:40 +00:00
.mailmap Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
.testr.conf Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
HACKING.rst Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
LICENSE Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
MANIFEST.in Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
README.rst Initial Integration of Mistral into TripleO 2016-05-16 09:15:14 -04:00
babel.cfg Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
openstack-common.conf Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
requirements.txt Merge "Initial Integration of Mistral into TripleO" 2016-05-16 22:04:57 +00:00
setup.cfg Initial Integration of Mistral into TripleO 2016-05-16 09:15:14 -04:00
setup.py Updated from global requirements 2015-10-23 16:05:01 +00:00
test-requirements.txt Updated from global requirements 2016-02-26 21:47:40 +00:00
tox.ini Drop py33 support 2015-12-15 10:22:45 +00:00

README.rst

tripleo-common

A common library for TripleO workflows.

Action Development

When developing new actions, you will checkout a copy of tripleo-common to an undercloud machine and add actions as needed. To test the actions they need to be installed and selected services need to be restarted. Use the following code below to accomplish these tasks.

sudo rm -Rf /usr/lib/python2.7/site-packages/tripleo_common* sudo python setup.py install sudo systemctl restart openstack-mistral-executor sudo systemctl restart openstack-mistral-engine # this loads the actions via entrypoints sudo mistral-db-manage populate # make sure the new actions got loaded mistral action-list | grep tripleo