fuel-plugin-contrail/deployment_scripts/puppet/modules/contrail/templates/agent_param.erb

18 lines
647 B
Plaintext

LOG=/var/log/contrail.log
CONFIG=/etc/contrail/contrail-vrouter-agent.conf
prog=/usr/bin/contrail-vrouter-agent
<%- unless scope.lookupvar('contrail::compute_dpdk_enabled') == true then -%>
kmod=vrouter
<%- end -%>
pname=contrail-vrouter-agent
LIBDIR=/usr/lib64
DEVICE=vhost0
dev=<%= scope.lookupvar('contrail::phys_dev') %>
vgw_subnet_ip=__VGW_SUBNET_IP__
vgw_intf=__VGW_INTF_LIST__
LOGFILE=--log-file=/var/log/contrail/vrouter.log
<%- if scope.lookupvar('operatingsystem') == 'CentOS' then -%>
VHOST_CFG=<%= '/etc/sysconfig/network-scripts/ifcfg-vhost0' %>
kmod=/lib/modules/<%= scope.lookupvar('kernelrelease') %>/extra/vrouter.ko
<%- end -%>