1 heat_template_version: pike
4 OpenStack OVN Controller agent
9 description: Mapping of service endpoint -> protocol. Typically set
10 via parameter_defaults in the resource registry.
17 description: Role name on which the service is applied
21 description: Parameters specific to the role
25 description: Dictionary packing service data
29 description: Mapping of service_name -> network name. Typically set
30 via parameter_defaults in the resource registry. This
31 mapping overrides those in ServiceNetMapDefaults.
33 OVNSouthboundServerPort:
34 description: Port of the Southbound DB Server
38 description: Tunnel encapsulation type
41 NeutronBridgeMappings:
43 The OVS logical->physical bridge mappings to use. See the Neutron
44 documentation for details. Defaults to mapping br-ex - the external
45 bridge on hosts - to a physical name 'datacentre' which can be used
46 to create provider networks (and we use this for the default floating
47 network) - if changing this either use different post-install network
48 scripts or be sure to keep 'datacentre' as a mapping network name.
49 type: comma_delimited_list
50 default: "datacentre:br-ex"
55 description: Role data for the OVN Controller agent
57 service_name: ovn_controller
59 ovn::southbound::port: {get_param: OVNSouthboundServerPort}
60 ovn::controller::ovn_encap_type: {get_param: OVNTunnelEncapType}
61 ovn::controller::ovn_encap_ip: {get_param: [ServiceNetMap, NeutronApiNetwork]}
62 ovn::controller::ovn_bridge_mappings: {get_param: NeutronBridgeMappings}
63 nova::compute::force_config_drive: true
64 tripleo.ovn_controller.firewall_rules:
65 '118 neutron vxlan networks':
68 '119 neutron geneve networks':
72 include ::tripleo::profile::base::neutron::agents::ovn
74 - name: Check if ovn_controller is deployed
75 command: systemctl is-enabled ovn-controller
78 register: ovn_controller_enabled
79 - name: "PreUpgrade step0,validation: Check service ovn-controller is running"
80 shell: /usr/bin/systemctl show 'ovn-controller' --property ActiveState | grep '\bactive\b'
81 when: ovn_controller_enabled.rc == 0
82 tags: step0,validation
83 - name: Stop ovn-controller service
85 when: ovn_controller_enabled.rc == 0
86 service: name=ovn-controller state=stopped