For installation just type it in the project folder pip install -e .
Working services | |
---|---|
Keystone | Done |
Nova | Done |
Glance | Done |
Neutron | Done |
Cinder | Done |
Swift | Done |
Please, configure your settings by changing config file in the /etc/spamostack
folder.
File openrc
is needed for connecting to your cloud, and conf.json
file is needed for configuring pipelines.
Example:
{"pipe1":
{"keystone":
{
"projects":
{
"create": [60, 1, 1],
"update": [60, 1, 1]
},
"users":
{
"create": [60, 2, 1],
"update": [120, 2, 2],
"delete": [30, 1, 1]
}
}
}
}
That means, that spamostack will:
- Create 1 project in 60 seconds and do it once
- Update 1 project in 60 seconds and do it once
- Create 2 users in 60 seconds and do it once
- Update 2 users in 120 seconds and do it twice
- Delete 1 user in 30 seconds and do it once
- Run
source /etc/spamostack/openrc
- Just run it with
spamostack
. Config file with pipelines will be read from the/etc/spamostack/conf.json
file.
Alternatively you could pass some arguments in the argparse
form:
spamostack --conf path/to/pipeline/file --db path/to/database
And for cleaning that mess use spamostack --clean component_name
for ex: spamostack --clean keystone
.
Or just spamostack --clean all
Component | Resource |
---|---|
Keystone | projects, users |
Nova | flavors, servers |
Glance | images |
Neutron | networks, subnets, routers, ports, security_groups |
Cinder | volumes |
Swift | containers, objects |