<p>Additionally, you will have to download one more script for setting up the OVS-bridge and attaching the vnetX ports of the instantiated VMs, the lispd.conf control plane configuration file of LISP and a few cloud qcow2 (Ubuntu and Fedora) images (to use in addition to the preloaded tiny <a href="https://launchpad.net/cirros/+download">CirrOS cloud guest</a>).

-

</p>

-

<pre>

-

mkdir /home/stack/Downloads

-

mv /* /home/stack/devstack/Downloads/* /home/stack/Downloads

-

</pre>

-

<p><br />

-

</p>

-

<h2> All-In-One Openstack Node </h2>

-

<h3> localrc </h3>

-

<p>Located in /home/stack/devstack/

-

</p>

-

<pre>

-

#HOST_NAME=$(hostname)

-

#SERVICE_HOST_NAME=lakafosi-server-1

-

SERVICE_HOST=10.10.10.10

-

HOST_IP=10.10.10.10

-

-

FIXED_RANGE=192.168.127.0/24

-

-

MULTI_HOST=True

-

SCHEDULER=nova.scheduler.simple.SimpleScheduler

-

-

Q_HOST=$SERVICE_HOST

-

MYSQL_HOST=$SERVICE_HOST

-

RABBIT_HOST=$SERVICE_HOST

-

GLANCE_HOSTPORT=$SERVICE_HOST:9292

-

KEYSTONE_AUTH_HOST=$SERVICE_HOST

-

KEYSTONE_SERVICE_HOST=$SERVICE_HOST

-

-

CINDER_BRANCH=stable/folsom

-

NOVA_BRANCH=stable/folsom

-

SWIFT_BRANCH=stable/folsom

-

GLANCE_BRANCH=stable/folsom

-

KEYSTONE_BRANCH=stable/folsom

-

HORIZON_BRANCH=stable/folsom

-

#QUANTUM_BRANCH=stable/folsom

-

-

# password

-

MYSQL_PASSWORD=mysql

-

RABBIT_PASSWORD=rabbit

-

SERVICE_TOKEN=service

-

SERVICE_PASSWORD=admin

-

ADMIN_PASSWORD=admin

-

-

# Uncomment the following line to save time by skipping checking of packages that need to be installed

-

#OFFLINE=True

-

</pre>

-

<p><br />

-

</p>

-

<h3> local.sh </h3>

-

<p>This is the script run right after <i>stack.sh</i>, i.e. the Openstack installation. It is located in /home/stack/devstack/ .

-

</p>

-

<pre>

-

#!/usr/bin/env bash

-

-

# Sample ``local.sh`` for user-configurable tasks to run automatically

-

# at the sucessful conclusion of ``stack.sh``.

-

-

# Keep track of the devstack directory

-

TOP_DIR=$(cd $(dirname &quot;$0&quot;) &amp;&amp; pwd)

-

# Import common functions

-

source $TOP_DIR/functions

-

# Use openrc + stackrc + localrc for settings

-

source $TOP_DIR/stackrc

-

# Destination path for installation ``DEST``

-

DEST=${DEST:-/opt/stack}

-

-

# lakafosi

-

for i in `seq 2 5`; do /opt/stack/nova/bin/nova-manage fixed reserve 192.168.127.$i; done