2 # This class contains the platform differences for ovsdpdk
3 # and environment not commonly configured stuff
5 class ovsdpdk::params {
7 case $::operatingsystem {
9 $qemu_kvm = '/usr/bin/kvm'
10 # we are not removing packages as of now
11 #$remove_packages = [ 'openvswitch-switch', 'openvswitch-datapath-dkms', 'openvswitch-common' ]
12 $install_packages = [ 'autoconf', 'libtool', 'screen' ]
13 $openvswitch_service_name = 'openvswitch-switch'
14 $openvswitch_service_file = 'openvswitch-switch.conf'
15 $openvswitch_service_path = '/etc/init'
16 $openvswitch_agent = 'neutron-plugin-openvswitch-agent'
19 $qemu_kvm = '/usr/libexec/qemu-kvm'
20 # we are not removing packages as of now
21 $remove_packages = [ 'openvswitch' ]
22 $install_packages = [ 'pciutils', 'autoconf', 'libtool', 'screen' ]
23 $openvswitch_service_name = 'openvswitch'
24 $openvswitch_service_file = 'openvswitch.service'
25 $openvswitch_service_path = '/usr/lib/systemd/system'
26 $openvswitch_agent = 'neutron-openvswitch-agent'
29 fail("Unsupported os ${::operatingsystem}")
33 $ovs_db_conf_dir = '/etc/openvswitch'
34 $ovs_db_socket_dir = '/var/run/openvswitch'
35 $ovs_db_socket = "${ovs_db_socket_dir}/db.sock"
36 $ovs_db_conf = "${ovs_db_conf_dir}/conf.db"
39 $plugin_dir = '/etc/fuel/plugins/fuel-plugin-ovsnfv-0.0/puppet/modules/ovsdpdk'
41 $nova_conf_dir = '/etc/nova'
42 $nova_conf = "${nova_conf_dir}/nova.conf"
43 $ml2_ovs_conf = '/etc/neutron/plugins/ml2/openvswitch_agent.ini'
44 $neutron_l3_conf = '/etc/neutron/l3_agent.ini'
47 $ovs_install_dir = '/usr'
48 $ovs_git_repo = 'https://github.com/openvswitch/ovs.git'
49 $ovs_dir = "${dest}/ovs"
50 $ovs_git_tag = '88058f19ed9aadb1b22d26d93e46b3fd5eb1ad32'
53 $ovs_dpdk_git_repo = 'http://dpdk.org/git/dpdk'
54 $ovs_dpdk_git_tag = 'v2.1.0'
55 $ovs_dpdk_dir = "${dest}/DPDK-${ovs_dpdk_git_tag}"
58 $networking_ovs_dpdk_dir = "${dest}/networking-ovs-dpdk"
59 $ovs_plugin_git_tag = 'master'