Alexandre Arents 6bed0940b7 Add cinder QOS support
cinder::qos create cinder QOS with properties and
volume-type associations

Change-Id: I35bd84e88308bf5f4cb62aab4a807103b1b1e2cf
Implements: blueprint support-cinder-qos
2018-09-24 15:16:54 +02:00

34 lines
691 B
Puppet

# == Define: cinder::qos
#
# Creates cinder QOS and assigns properties and volume type
#
# === Parameters
#
# [*associations*]
# (optional) List of cinder type associated with this QOS
# Defaults to 'undef'.
#
# [*consumer*]
# (optional) QOS consumer parameter (typicaly front-end/back-end/both)
# Defaults to 'undef'.
#
# [*properties*]
# (optional) List QOS properties
# Defaults to 'undef'.
#
define cinder::qos (
$associations = undef,
$consumer = undef,
$properties = undef,
) {
include ::cinder::deps
cinder_qos { $name:
ensure => present,
properties => $properties,
consumer => $consumer,
associations => $associations,
}
}