1 heat_template_version: ocata
4 OpenDaylight OVS Configuration.
9 description: Set opendaylight service port
13 description: The username for the opendaylight server.
18 description: The password for the opendaylight server.
20 OpenDaylightConnectionProtocol:
21 description: L7 protocol used for REST access
25 description: URL postfix to verify ODL has finished starting up
27 default: 'restconf/operational/network-topology:network-topology/topology/netvirt:1'
28 OpenDaylightApiVirtualIP:
31 OpenDaylightProviderMappings:
32 description: Mappings between logical networks and physical interfaces.
33 Required for VLAN deployments. For example physnet1 -> eth1.
34 type: comma_delimited_list
35 default: "datacentre:br-ex"
38 description: Mapping of service endpoint -> protocol. Typically set
39 via parameter_defaults in the resource registry.
43 description: Mapping of service_name -> network name. Typically set
44 via parameter_defaults in the resource registry. This
45 mapping overrides those in ServiceNetMapDefaults.
53 description: Role data for the OpenDaylight service.
55 service_name: opendaylight_ovs
57 opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
58 opendaylight::username: {get_param: OpenDaylightUsername}
59 opendaylight::password: {get_param: OpenDaylightPassword}
60 opendaylight_check_url: {get_param: OpenDaylightCheckURL}
61 opendaylight::nb_connection_protocol: {get_param: OpenDaylightConnectionProtocol}
62 neutron::agents::ml2::ovs::local_ip: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
63 neutron::plugins::ovs::opendaylight::provider_mappings: {get_param: OpenDaylightProviderMappings}
64 tripleo.opendaylight_ovs.firewall_rules:
65 '118 neutron vxlan networks':
68 '136 neutron gre networks':
71 include tripleo::profile::base::neutron::plugins::ovs::opendaylight
73 - name: Check if openvswitch is deployed
74 command: systemctl is-enabled openvswitch
77 register: openvswitch_enabled
78 - name: "PreUpgrade step0,validation: Check service openvswitch is running"
79 shell: /usr/bin/systemctl show 'openvswitch' --property ActiveState | grep '\bactive\b'
80 when: openvswitch_enabled.rc == 0
81 tags: step0,validation
82 - name: Stop openvswitch service
84 when: openvswitch_enabled.rc == 0
85 service: name=openvswitch state=stopped