tripleo-heat-templates/puppet/services/vpp.yaml
Feng Pan 0ea941a615 Add VPP composable service
Vector Packet Processing (VPP) is a high performance packet processing
stack that runs in user space in Linux. VPP is used as an alternative to
kernel networking stack for accelerated network data path. This patch
adds VPP as a composable service. Note that NIC binding related configs
for VPP are handled in os-net-config.

Depends-on: I70a68a204a8b9d533fc2fa4fc33c39c3b1c366bf

Change-Id: I5e4b1903dc87cb16259eeb05db585678acadbc6b
Implements: blueprint fdio-integration-tripleo
2017-02-26 16:43:26 -05:00

48 lines
1.4 KiB
YAML

heat_template_version: ocata
description: >
Vpp service 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
VppCpuMainCore:
default: ''
description: VPP main thread core pinning.
type: string
VppCpuCorelistWorkers:
default: ''
description: List of cores for VPP worker thread pinning
type: string
MonitoringSubscriptionVpp:
default: 'overcloud-vpp'
type: string
outputs:
role_data:
description: Role data for the Vpp role.
value:
service_name: vpp
monitoring_subscription: {get_param: MonitoringSubscriptionVpp}
config_settings:
fdio::vpp_cpu_main_core: {get_param: VppCpuMainCore}
fdio::vpp_cpu_corelist_workers: {get_param: VppCpuCorelistWorkers}
step_config: |
include ::tripleo::profile::base::vpp
upgrade_tasks:
- name: Stop vpp service
tags: step2
service: name=vpp state=stopped