aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/ovn-dbs.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2016-10-18 12:15:56 +0100
committerNuman Siddique <nusiddiq@redhat.com>2016-12-19 12:30:21 +0530
commitd169989598bd0db13b5944821d7ee3599267211d (patch)
treebbf7f5f0d38dbba0f291cc7892ba6de737967509 /puppet/services/ovn-dbs.yaml
parentd78e6c28221b1940ce21532860d8d67833aa5502 (diff)
Split OVN northd and ml2 plugin
This allows us to take advantage of the composable roles hiera settings to connect the plugin to the northd/ovndb API without needing to hard-code the IP of the node running the service. Change-Id: I2508d48f81c1819ae3521fff271c0bdc50724604 Depends-On: I9af7bd837c340c3df016fc7ad4238b2941ba7a95 Closes-Bug: #1634171
Diffstat (limited to 'puppet/services/ovn-dbs.yaml')
-rw-r--r--puppet/services/ovn-dbs.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/puppet/services/ovn-dbs.yaml b/puppet/services/ovn-dbs.yaml
new file mode 100644
index 0000000..302628d
--- /dev/null
+++ b/puppet/services/ovn-dbs.yaml
@@ -0,0 +1,40 @@
+heat_template_version: 2016-04-08
+
+description: >
+ OVN databases configured with puppet
+
+parameters:
+ ServiceNetMap:
+ default: {}
+ description: Mapping of service_name -> network name. Typically set
+ via parameter_defaults in the resource registry. This
+ mapping overrides those in ServiceNetMapDefaults.
+ type: json
+ DefaultPasswords:
+ default: {}
+ type: json
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ OVNNorthboundServerPort:
+ description: Port of the OVN Northbound DB server
+ type: number
+ default: 6641
+ OVNSouthboundServerPort:
+ description: Port of the OVN Southbound DB server
+ type: number
+ default: 6642
+
+outputs:
+ role_data:
+ description: Role data for the OVN northd service
+ value:
+ service_name: ovn_dbs
+ config_settings:
+ ovn::northbound::port: {get_param: OVNNorthboundServerPort}
+ ovn::southbound::port: {get_param: OVNSouthboundServerPort}
+ ovn::northd::dbs_listen_ip: {get_param: [ServiceNetMap, OvnDbsNetwork]}
+ step_config: |
+ include ::tripleo::profile::base::neutron::ovn_northd