X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=fuel-plugin-ovsnfv%2Fdeployment_scripts%2Fpuppet%2Fmanifests%2Fovs-install-ovsnfv-compute.pp;h=d57002bf152ee80f1c345256c8885dec64fc2774;hb=6ec3a89b379eb7c8e463d2d3f3240ec50ef15a3f;hp=f95cbb8202442d09515200671f13849e693b3149;hpb=93f7683a2cd9b8020f8870dfc6b162b3d61c3fd2;p=ovsnfv.git diff --git a/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp b/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp index f95cbb8..d57002b 100644 --- a/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp +++ b/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp @@ -1,11 +1,13 @@ $fuel_settings = parseyaml(file('/etc/astute.yaml')) $master_ip = $::fuel_settings['master_ip'] +$ovs_ifname = $::fuel_settings[fuel-plugin-ovsnfv][fuel-plugin-ovsnfv_text] + if $operatingsystem == 'Ubuntu' { class { '::ovsdpdk': - ovs_bridge_mappings => 'default:br-eth3', - ovs_socket_mem => '512', - ovs_num_hugepages => '256', + ovs_bridge_mappings => "default:$ovs_ifname", + ovs_socket_mem => '512,512', + ovs_num_hugepages => '2048', compute => 'True', } } elsif $operatingsystem == 'CentOS' {