... | ... | @@ -8,8 +8,25 @@ We at Swisscom Innovations we are looking for solutions to deploy OpenAir-CN (th |
|
|
|
|
|
This section outlines what you will need in order to deploy Openair-CN on your OpenStack cloud.
|
|
|
|
|
|
* Access to an OpenStack cloud with the following services enabled: nova, cinder, neutron, heat.
|
|
|
* The HOT (Heat Orchestration Template).
|
|
|
* Access to an OpenStack tenant
|
|
|
The template creates a router, a floating IP, a network, volumes, security groups, ports and instances on OpenStack. Keep in mind that your tenant has suffcient quotas to create those ressources.
|
|
|
* The HOT (Heat Orchestration Template)
|
|
|
The heat template is in openair-cn located here
|
|
|
* Ubuntu images with os-*config tools installed.
|
|
|
Since the heat template uses Heat::SoftwareDeployment the image for the VM needs to have os-collect-config/heat-config/os-apply-config installed. Such images can be created manually and uploaded to your cloud.
|
|
|
|
|
|
|
|
|
|
|
|
**Ho to create Ubuntu images with os-*config**
|
|
|
|
|
|
```
|
|
|
git clone https://git.openstack.org/openstack/diskimage-builder.git
|
|
|
git clone https://git.openstack.org/openstack/tripleo-image-elements.git
|
|
|
git clone https://git.openstack.org/openstack/heat-templates.git
|
|
|
git clone https://git.openstack.org/openstack/dib-utils.git
|
|
|
export PATH="${PWD}/dib-utils/bin:$PATH"
|
|
|
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-templates/hot/software-config/elements
|
|
|
diskimage-builder/bin/disk-image-create vm ubuntu os-collect-config os-refresh-config os-apply-config heat-config heat-config-script -o ubuntu-$VERSION-os-config.qcow2
|
|
|
|
|
|
|
|
|
|