Puppet Class: profile::swift::performance
- Defined in:
- modules/profile/manifests/swift/performance.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'modules/profile/manifests/swift/performance.pp', line 2
class profile::swift::performance {
$iface_primary = $facts['interface_primary']
# RPS/RSS to spread network i/o evenly (for 10Gbps primary interface only)
if $facts['net_driver'][$iface_primary]['driver'] in ['bnxt_en', 'bnx2x', 'i40e'] {
interface::rps { 'primary':
interface => $iface_primary,
}
}
}
|