1 heat_template_version: pike
4 Vpp service 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.
35 description: VPP main thread core pinning.
37 VppCpuCorelistWorkers:
39 description: List of cores for VPP worker thread pinning
41 MonitoringSubscriptionVpp:
42 default: 'overcloud-vpp'
47 description: Role data for the Vpp role.
50 monitoring_subscription: {get_param: MonitoringSubscriptionVpp}
52 fdio::vpp_cpu_main_core: {get_param: VppCpuMainCore}
53 fdio::vpp_cpu_corelist_workers: {get_param: VppCpuCorelistWorkers}
55 include ::tripleo::profile::base::vpp
57 - name: Check if vpp is deployed
58 command: systemctl is-enabled vpp
62 - name: "PreUpgrade step0,validation: Check service vpp is running"
63 shell: /usr/bin/systemctl show 'vpp' --property ActiveState | grep '\bactive\b'
64 when: vpp_enabled.rc == 0
65 tags: step0,validation
66 - name: Stop vpp service
68 when: vpp_enabled.rc == 0
69 service: name=vpp state=stopped