summaryrefslogtreecommitdiffstats
path: root/manifests/config/vpp_devices.pp
blob: f36a66e341fbe5cf9da56db93db0dc42e9ea9d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# == Define: fdio::config::vpp_devices
#
# Defined type to configure device in VPP configuration file
#
# === Parameters:
# [*pci_address*]
# (required) The PCI address of the device.
#
define fdio::config::vpp_devices (
  $pci_address = $title
) {
  vpp_config {
    "dpdk/dev/${pci_address}": ensure => 'present';
  }
}