summaryrefslogtreecommitdiff
path: root/openstack/README
blob: d066b2b19bd15a75d2afcb0450934a1613c05e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
CIAT-Tester: Openstack backend
==============================

You should ensure that the openstack environment variables are set
up correctly before running this, as the nova and glance clients
require them.

You will need to configure the script for your environment editing
the config section of `do-tests.sh`.  Specifically you need to set
up the flavour and network ID to use.

Currently the openstack script assumes that there are floating ips
available.  It also assumes that the default security group allows
SSH access.

This script also assumes that the test image's root user's
authorized_keys contains the id_rsa.pub from the machine/user
on which you are running CIAT-Tester.


Configuring an openstack host
-----------------------------

Your openstack host may need some configuration.

### Networking

The following commands may be of use to set up a network.

    neutron net-create test-net
    neutron subnet-create --name test-subnet --gateway 192.168.1.1 \
        test-net 192.168.1.0/24
    neutron router-create test-router
    neutron router-interface-add test-router test-subnet
    neutron router-gateway-set test-router ext-net