nfv/devstack/settings
Dean Troyer f7a3cfb7ce Add stx-update to devstack plugin dependency list
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>
2019-02-20 14:58:57 -06:00

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