diff options
author | 2016-12-22 20:49:28 +0000 | |
---|---|---|
committer | 2016-12-22 20:49:28 +0000 | |
commit | 3b74e6c05586cc3ad43bcc6a08f15637e55a3566 (patch) | |
tree | 7c260dc142065905692af6f76613c5fdf8e024d6 /manifests/profile/base/neutron/agents/ovn.pp | |
parent | 918bed5db00df194a317dc61f94c521340dab010 (diff) | |
parent | 4458ce0d9af2bb0a96506b7403ff60d4898b20cc (diff) |
Merge "Split ovn plugin and northd configuration"
Diffstat (limited to 'manifests/profile/base/neutron/agents/ovn.pp')
-rw-r--r-- | manifests/profile/base/neutron/agents/ovn.pp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/manifests/profile/base/neutron/agents/ovn.pp b/manifests/profile/base/neutron/agents/ovn.pp index 443b164..a593092 100644 --- a/manifests/profile/base/neutron/agents/ovn.pp +++ b/manifests/profile/base/neutron/agents/ovn.pp @@ -17,7 +17,12 @@ # OVN Neutron agent profile for tripleo # # [*ovn_db_host*] -# The IP-Address/Hostname where OVN DBs are deployed +# (Optional) The IP-Address where OVN DBs are listening. +# Defaults to hiera('ovn_dbs_vip') +# +# [*ovn_sbdb_port*] +# (Optional) Port number on which southbound database is listening +# Defaults to hiera('ovn::southbound::port') # # [*step*] # (Optional) The current step in deployment. See tripleo-heat-templates @@ -25,14 +30,13 @@ # Defaults to hiera('step') # class tripleo::profile::base::neutron::agents::ovn ( - $ovn_db_host, - $step = hiera('step') + $ovn_db_host = hiera('ovn_dbs_vip'), + $ovn_sbdb_port = hiera('ovn::southbound::port'), + $step = hiera('step') ) { if $step >= 4 { - $ovn_sbdb_port = hiera('ovn::southbound::port') class { '::ovn::controller': ovn_remote => "tcp:${ovn_db_host}:${ovn_sbdb_port}", - ovn_encap_type => hiera('ovn::southboud::encap_type') } } } |