summaryrefslogtreecommitdiffstats
path: root/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-compute.pp
blob: 693883a319d432c8ff7e2be89914e7c4ec830743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$fuel_settings = parseyaml(file('/etc/astute.yaml'))
$master_ip = $::fuel_settings['master_ip']

$adminrc_access = $::fuel_settings['access']
$adminrc_user = $adminrc_access['user']
$adminrc_password = $adminrc_access['password']
$adminrc_tenant = $adminrc_access['tenant']
$adminrc_public_ssl = $::fuel_settings['public_ssl']
$adminrc_hostname = $adminrc_public_ssl['hostname']

if $operatingsystem == 'Ubuntu' {
  class { '::ovsdpdk':
    ovs_bridge_mappings => '0000:05:00.1#eth3',
    ovs_socket_mem      => '512,512',
    ovs_num_hugepages   => '2048',
    compute             => 'True',
  }
} elsif $operatingsystem == 'CentOS' {
}