From b719cbb990b1c6f56eefb08170fe7d36eb6fbee1 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Wed, 20 Sep 2017 07:50:44 -0400 Subject: Add startup exec commands support This patch adds support for configuring VPP startup exec commands. The commands specified will be appeneded to the exec file specified if the file already exists. JIRA: PUP-6 Change-Id: Ief8097041473573bfdb9c8460b99e14723eaa36d Signed-off-by: Feng Pan --- manifests/init.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 1f031e7..cdd9499 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,6 +8,15 @@ # Valid values are 'release', 'master' and stable branch like 'stable.1609'. # Defaults to 'release'. # +# [*vpp_exec_commands*] +# (optional) array of VPP startup exec commands +# Defaults to undef +# +# [*vpp_exec_file*] +# (optional) VPP startup exec file path. Existing config file will not be +# overwritten, vpp_exec_commands will be appended. +# Defaults to '/etc/vpp/vpp-exec' +# # [*vpp_dpdk_support*] # (optional) Enable DPDK support for VPP # Defaults to true @@ -76,6 +85,8 @@ # class fdio ( $repo_branch = $::fdio::params::repo_branch, + $vpp_exec_commands = $::fdio::params::vpp_exec_commands, + $vpp_exec_file = $::fdio::params::vpp_exec_file, $vpp_dpdk_support = $::fdio::params::vpp_dpdk_support, $vpp_dpdk_devs = $::fdio::params::vpp_dpdk_devs, $vpp_dpdk_uio_driver = $::fdio::params::vpp_dpdk_uio_driver, -- cgit 1.2.3-korg