# About

This project is a collection of OpenStack OPS tools.

# More in details

This package contains tools useful for OpenStack cloud administrators. In
include things like:

  * Validating a compute host before putting it into service.
  * More to come.

It can be used either on the command line, using /usr/bin/vgt, or as a
Python module, called by a higher level thing.

# Example usage for validating a compute:

```
vgt validate-compute \
	--image-name debian-image \
	--flavor-name cpu2-ram6-disk0 \
	--network-name ext-net1 \
	--host cluster1-compute-2.example.com \
	--keep-enabled
```

Once done validating multiple compute node, one can:

```
vgt validate-cleanup
```

This will:
- create an aggreagte "hosts-to-validate"
- add the trait: CUSTOM_COMPUTE_TO_VALIDATE
- Make this trait required for that aggregate
- add the trait to the compute
- create a new "vgt" project and user
- create a bootable volume
- add the trait:CUSTOM_COMPUTE_TO_VALIDATE as required on that volume
- boot a VM from that volume
- make sure it is possible to ssh the newly created VM

After validate-compute the compute node trait is removed.

validate-cleanup deletes the aggregate and custom trait.
