Puppet Class: profile::ping_offload

Defined in:
modules/profile/manifests/ping_offload.pp

Overview

sets up the ping offload servers - T190090

Parameters:

target_ips

IPs or AnyIP subnets to configure on the host's loopback interface. In order to reply to ICMP requests messages. Default: None

Parameters:

  • target_ips (Hash[String, Stdlib::Compat::Ip_address]) (defaults to: hiera('profile::ping_offload::target_ips', undef))


7
8
9
10
11
12
13
14
15
16
17
# File 'modules/profile/manifests/ping_offload.pp', line 7

class profile::ping_offload(
  Hash[String, Stdlib::Compat::Ip_address] $target_ips = hiera('profile::ping_offload::target_ips', undef),
  ) {
  $target_ips.each |$ip_descr, $iface_ip| {
    interface::ip { $ip_descr:
      address   => $iface_ip,
      interface => 'lo',
      options   => 'label lo:ping_offload'
    }
  }
}