This changeset contains the following
(1) Changes to the NFP devstack to support configurator
(2) Changes to the NFP diskimage build script to build
configurator disk image
Conflicts:
devstack/local.conf.nfp
Change-Id: I1717e07b82073945752549c254ed8a39ce7257ff
Implements: blueprint gbp-network-services-framework
Co-Authored-By: Deepak S <in.live.in@live.in>
Co-Authored-By: ashutosh mishra <mca.ashu4@gmail.com>
(cherry picked from commit 535ed048c1)
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
|
|
Fresh Installation Steps:
|
|
=========================
|
|
|
|
(1) Clone stable mitaka devstack.
|
|
# git clone https://git.openstack.org/openstack-dev/devstack -b stable/mitaka
|
|
|
|
(2) Get local.conf.nfp from NFP devstack patch and copy to devstack directory
|
|
as local.conf
|
|
# cd devstack/
|
|
# wget -O local.conf.zip https://review.openstack.org/cat/335405,89,devstack/local.conf.nfp
|
|
# unzip local.conf.zip
|
|
# mv local.conf*.nfp local.conf
|
|
# rm local.conf.zip
|
|
|
|
(3) Configure local.conf
|
|
# Modify NFP_DEVSTACK_MODE to 'advanced'
|
|
# Configure following external network details,
|
|
EXT_NET_GATEWAY=
|
|
EXT_NET_ALLOCATION_POOL_START=
|
|
EXT_NET_ALLOCATION_POOL_END=
|
|
EXT_NET_CIDR=
|
|
# Configure the Configurator VM image path(optional),
|
|
# If configured, install step uploads the specified image
|
|
# If not configured, install step will build a new one and upload it
|
|
ConfiguratorQcow2Image=
|
|
# Configure the Service VM image paths(optional),
|
|
# If configured, install step uploads the specified images
|
|
# If not configured, install step ignores uploading these service images
|
|
VyosQcow2Image=
|
|
HaproxyQcow2Image=
|
|
# Configure PUBLIC_INTERFACE with the public interface name
|
|
|
|
(4) Install devstack.
|
|
# ./stack.sh
|
|
|
|
|
|
Re-installation Steps:
|
|
======================
|
|
|
|
(1) Follow these steps for cleanup.
|
|
# cd devstack
|
|
# ./unstack.sh
|
|
# ./clean.sh
|
|
# sudo rm -rf /opt/stack
|
|
# cd ..
|
|
# sudo rm -rf devstack
|
|
|
|
(2) Follow the fresh installation steps.
|
|
|