OpenStack VIM Installation

This document describes how to install a simple OpenStack which can be
a Tacker VIM. Since the kolla-ansible provides a good and stable way to deploy
an OpenStack environment, this document adopts it to finish this task.

The target OpenStack consists of three nodes. Besides the OpenStack role, the
first one plays kolla-ansible deploy role, which will run a local registry,
and be used to run kolla-ansible tool.

Initialized the flavors that the platform will support. Most
Tacker sample TOSCA templates will ask Tacker to create Flavor
on demand. If not, the specified flavor in templates must exist
in OpenStack.

Upload related images. Tacker repo’s sample TOSCA templates are
referring to cirros image named ‘cirros-0.3.5-x86_64-disk’, so
this image should uploaded into OpenStack before Tacker uses it.

In additions, following steps are needed:

Create projects and users which can be used by Tacker:

This is a simple task for any OpenStack administrator, but one thing to pay
attention to is that the user must have ‘admin’ and ‘heat_stack_owner’
roles on the user’s project.

Create Neutron networks:

Most sample TOSCA templates assume there are three Neutron networks in
target OpenStack that the VIM user can use:

net_mgmt, which is a network Tacker system can access to. Some Tacker
features, such as monitor policies, need Tacker to access started VNF
virtual machines. For Tacker to access VNF via net_mgmt, net_mgmt can
be a provider network.

net0 and net1, which are two business networks which VNFs will use.
How to connected them depends on the VNFs’ business.