4f9ea57cb2
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Id66d5ae7904998aa8bbf42f3b2a49ec0748507b4
45 lines
1.4 KiB
Puppet
45 lines
1.4 KiB
Puppet
# == Class: neutron::quota::sfc
|
|
#
|
|
# Setups neutron quota for networking-sfc.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*quota_port_chain*]
|
|
# (Optional) Maximum number of port chain per tenant.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*quota_port_pair_group*]
|
|
# (Optional) Maximum number of port pair group per tenant.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*quota_port_pair*]
|
|
# (Optional) Maximum number of port pair per tenant.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*quota_service_graphs*]
|
|
# (Optional) Maximum number of Service Graphs per tenant.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*quota_flow_classifier*]
|
|
# (Optional) Maximum number of Flow Classifiers per tenant.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
class neutron::quota::sfc (
|
|
$quota_port_chain = $facts['os_service_default'],
|
|
$quota_port_pair_group = $facts['os_service_default'],
|
|
$quota_port_pair = $facts['os_service_default'],
|
|
$quota_service_graphs = $facts['os_service_default'],
|
|
$quota_flow_classifier = $facts['os_service_default']
|
|
) {
|
|
|
|
include neutron::deps
|
|
|
|
neutron_config {
|
|
'quota/quota_port_chain': value => $quota_port_chain;
|
|
'quota/quota_port_pair_group': value => $quota_port_pair_group;
|
|
'quota/quota_port_pair': value => $quota_port_pair;
|
|
'quota/quota_service_graphs': value => $quota_service_graphs;
|
|
'quota/quota_flow_classifier': value => $quota_flow_classifier;
|
|
}
|
|
}
|