aboutsummaryrefslogtreecommitdiff
This repo is an initial list of scripts that can be used for
preliminary administrative tasks of the naro Developer Cloud.

Precondition
------------
Both scripts assume the user has administrative rights to the cloud
and they assume that there is a file called nova-admin.rc on the
same folder.

Make sure to change the example address in the scripts for the right
cloud's address.

Tooling
-------
1. ./create_project.sh <project_name>

Create a project with the given <project_name>. The script
will also generate an rc file named nova-<project_name>.rc
in the current directory.

If a nova-<project_name>.rc file exists, it will use it
to learn the password and regenerate with that password
any missing networks or privileges for the project to be
usable.

Once the project has been created, provide the nova-<project_name>.rc
file to the user.

2. ./delete_project.sh <project_name>

This scripts assumes that the user and the project are called the
same way. It will delete all associated images, VMs, volumes, networks,
routers, ports, floating ips, etc, associated with a tenant.