RETIRED, A Python library for code common to TripleO CLI and TripleO UI.
Go to file
James Slagle 5ea3166880 Add --json-output option to tripleo-build-images
Updates the tripleo-build-images script and tripleo_common.image module
to support a --json-output option. The option will output the image
definitions after the yaml formats have been merged, allowing for
programmatic usage by external tools. JSON is used so that jq can be
used.

This change also updates the image-yaml definitions to be inline with
what's currently being used in python-tripleoclient. I can split this
out into a separate change if folks feel strongly about that.

Change-Id: I37330c6d068de4d9e717ec073fc3ddb758d65cb9
2016-06-09 15:30:00 -04:00
contrib Upload docker image files from yaml config file 2016-03-21 12:13:14 -04:00
doc/source Add TripleO Mistral documentation 2016-05-23 12:04:46 -04:00
heat_docker_agent Merge "Missing python-ipaddr in heat-agents image" 2016-04-18 12:59:54 +00:00
image-yaml Add --json-output option to tripleo-build-images 2016-06-09 15:30:00 -04:00
scripts Add --json-output option to tripleo-build-images 2016-06-09 15:30:00 -04:00
tripleo_common Add --json-output option to tripleo-build-images 2016-06-09 15:30:00 -04: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 Add --json-output option to tripleo-build-images 2016-06-09 15:30:00 -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