1 heat_template_version: pike
4 OVN databases configured with puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
33 OVNNorthboundServerPort:
34 description: Port of the OVN Northbound DB server
37 OVNSouthboundServerPort:
38 description: Port of the OVN Southbound DB server
44 description: Role data for the OVN northd service
48 ovn::northbound::port: {get_param: OVNNorthboundServerPort}
49 ovn::southbound::port: {get_param: OVNSouthboundServerPort}
50 ovn::northd::dbs_listen_ip: {get_param: [ServiceNetMap, OvnDbsNetwork]}
51 tripleo::haproxy::ovn_dbs_manage_lb: true
52 tripleo.ovn_dbs.firewall_rules:
53 '121 OVN DB server ports':
56 - {get_param: OVNNorthboundServerPort}
57 - {get_param: OVNSouthboundServerPort}
59 include ::tripleo::profile::base::neutron::ovn_northd
61 - name: Check if ovn_northd is deployed
62 command: systemctl is-enabled ovn-northd
65 register: ovn_northd_enabled
66 - name: "PreUpgrade step0,validation: Check service ovn-northd is running"
67 shell: /usr/bin/systemctl show 'ovn-northd' --property ActiveState | grep '\bactive\b'
68 when: ovn_northd_enabled.rc == 0
69 tags: step0,validation
70 - name: Stop ovn-northd service
72 when: ovn_northd_enabled.rc == 0
73 service: name=ovn-northd state=stopped