Add NIC variables

This commit is contained in:
Florian Haas 2013-07-08 20:41:04 +00:00
parent aecd4724bb
commit 142046d386
2 changed files with 16 additions and 0 deletions

View File

@ -43,6 +43,9 @@ class kickstack (
$quantum_tenant_network_type = $kickstack::params::quantum_tenant_network_type,
$quantum_network_vlan_ranges = $kickstack::params::quantum_network_vlan_ranges,
$quantum_tunnel_id_ranges = $kickstack::params::quantum_tunnel_id_ranges,
$nic_management = $kickstack::params::nic_management,
$nic_data = $kickstack::params::nic_data,
$nic_external = $kickstack::params::nic_external
) inherits kickstack::params {
include exportfact

View File

@ -114,4 +114,17 @@ class kickstack::params {
# The tunnel ID ranges to use with the Quantum ovs plugin, when in gre mode
$quantum_tunnel_id_ranges = pick(getvar("::${variable_prefix}quantum_tunnel_id_ranges"),"1:1000")
# The interface over which to run your nodes' management network traffic.
# Normally, this would be your primary network interface.
$nic_management = pick(getvar("::${variable_prefix}nic_management"),"eth0")
# The interface over which to run your tenant guest traffic.
# This would be a secondary interface, present on your network node and compute nodes.
$nic_data = pick(getvar("::${variable_prefix}nic_data"),"eth1")
# The interface you use to connect to the public network.
# This interface would only be present on your network nodes, and possibly also
# on your API nodes if you wish to expose the API services publicly.
$nic_external = pick(getvar("::${variable_prefix}nic_external"),"eth2")
}