f7a3cfb7ce
Add the minimum dependency bits for devstack master, plus the required stx-update plugin in the devstack job definition. The remaining master/bionic stuff will be in a follow-up review. Change-Id: Id6b4e3dad1fe54d66b2b5a3dbbe3983621943bb2 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
30 lines
684 B
Bash
30 lines
684 B
Bash
#!/bin/bash
|
|
# Devstack settings
|
|
|
|
# This plugin enables StarlingX stx-update services and follows the
|
|
# DevStack plugin contract:
|
|
# https://docs.openstack.org/devstack/latest/plugins.html#plugin-sh-contract
|
|
|
|
# Services
|
|
|
|
# Defaults
|
|
# --------
|
|
|
|
STX_NFV_NAME=stx-nfv
|
|
|
|
######### Plugin Specific ##########
|
|
enable_service $STX_NFV_NAME
|
|
|
|
# This must not use any variables to work properly in OpenStack's DevStack playbook
|
|
define_plugin stx-nfv
|
|
# This works for Zuul jobs using OpenStack's DevStack roles
|
|
plugin_requires stx-nfv stx-update
|
|
|
|
if is_service_enabled stx-nfv; then
|
|
# Enable prerequisites here
|
|
:
|
|
fi
|
|
|
|
# Initial source of lib script
|
|
source $DEST/stx-nfv/devstack/lib/stx-nfv
|