From ac2d7693e02a11d80879ccd80dc33a4f213295e6 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Sun, 19 Feb 2017 15:14:40 -0500 Subject: Add support for inline config changes This patch changes VPP configuration from file template to inline change directly. This prevents issue with overwriting existing VPP config. Change-Id: I4133be8ebe689d9288e3a8e64cca43afd7e42e64 Signed-off-by: Feng Pan --- templates/startup.conf.erb | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 templates/startup.conf.erb (limited to 'templates') diff --git a/templates/startup.conf.erb b/templates/startup.conf.erb deleted file mode 100644 index 46894d0..0000000 --- a/templates/startup.conf.erb +++ /dev/null @@ -1,25 +0,0 @@ -unix { - nodaemon - log /tmp/vpp.log - full-coredump -} - -dpdk { - <% if scope['fdio::vpp_dpdk_devs'].is_a? Array -%><% scope['fdio::vpp_dpdk_devs'].each do |n| -%> - dev <%=n-%> <% if scope['fdio::vpp_vlan_enabled'] && system("lspci -s #{n} | grep VIC") -%> {vlan-strip-offload off}<%end%> - <% end -%><% end -%> - uio-driver <%=scope['fdio::vpp_dpdk_uio_driver']%> -} - -cpu { - <% if scope['fdio::vpp_cpu_main_core'] -%>main-core <%=scope['fdio::vpp_cpu_main_core']%> <%end%> - <% if scope['fdio::vpp_cpu_corelist_workers'] -%>corelist-workers <%=scope['fdio::vpp_cpu_corelist_workers']%> <%end%> -} - -api-trace { - on -} - -api-segment { - gid vpp -} -- cgit 1.2.3-korg