Add Ansible roles for OpenStack network
[integration.git] / deployment / noheat / infra-openstack / HACKING
1 =========================
2  Development environment
3 =========================
4
5 This environment focuses on interactions with OpenStack (here: DevStack) instance. Changes can be
6 made from host machine but additional guest ("operator") is provided for developers' convenience.
7
8 Environment on "operator" machine is already set up and can be accessed by:
9
10 .. code-block:: shell
11
12     $ vagrant ssh operator
13
14 Provided ``clouds.yaml`` file differs slightly from the one that can be obtained with following
15 steps:
16
17 #. Open OpenStack dashboard (http://localhost:8080 forwarded from "devstack" machine)
18 #. Navigate to ``Project``, then ``API Access`` on the left panel
19 #. Select ``Download OpenStack RC File``, then ``OpenStack clouds.yaml File`` on the right side
20
21 Summary of changes:
22
23 - Added password from ``local.conf`` file (used in DevStack instance setup)
24 - Removed ``project_id`` which might change on a new DevStack instance
25 - Replaced ``auth_url`` based on machine's dynamic IP with the static private address
26 - Added ``project_domain_name`` needed to run Ansible playbooks
27
28 Installed Python package ``python-openstackclient`` includes key package ``openstacksdk`` as
29 a dependency and provides additional CLI tools. Tool ``pip`` for Python 3 was used for installing
30 these packages.