Configuration extraction tool for Airship
Go to file
Purnendu Ghosh 4a8e2720e1 Base Code for Tugboat Plugin and Addition of config files, templates 2018-11-29 02:20:31 +05:30
doc Base Code for Tugboat Plugin and Addition of config files, templates 2018-11-29 02:20:31 +05:30
images/spyglass Base code for spyglass 2018-11-28 15:19:43 +05:30
spyglass Base Code for Tugboat Plugin and Addition of config files, templates 2018-11-29 02:20:31 +05:30
tools Base code for spyglass 2018-11-28 15:19:43 +05:30
.dockerignore Base code for spyglass 2018-11-28 15:19:43 +05:30
.gitignore Base code for spyglass 2018-11-28 15:19:43 +05:30
LICENSE Base code for spyglass 2018-11-28 15:19:43 +05:30
Makefile Base code for spyglass 2018-11-28 15:19:43 +05:30
README.md Base code for spyglass 2018-11-28 15:19:43 +05:30
requirements.txt Base code for spyglass 2018-11-28 15:19:43 +05:30
setup.py Base code for spyglass 2018-11-28 15:19:43 +05:30
tox.ini Base code for spyglass 2018-11-28 15:19:43 +05:30

README.md

What is Spyglass?

Spyglass is the data extractor tool which can interface with different input data sources to generate site manifest YAML files. The data sources will provide all the configuration data needed for a site deployment. These site manifest YAML files generated by spyglass will be saved in a Git repository, from where Pegleg can access and aggregate them. This aggregated file can then be fed to shipyard for site deployment / updates.

Spyglass follows plugin model to support multiple input data sources. Current supported plugins are formation-plugin and Tugboat. Formation is a rest API based service which will be the source of information related to hardware, networking, site data. Formation plugin will interact with Formation API to gather necessary configuration. Similarly Tugboat accepts engineering spec which is in the form of spreadsheet and an index file to read spreadsheet as inputs and generates the site level manifests. As an optional step it can generate an intermediary yaml which contain all the information that will be rendered to generate Airship site manifests. This optional step will help the deployment engineer to modify any data if required.

Basic Usage

TODO