Resource Type: quagga_static_route

Defined in:
lib/puppet/type/quagga_static_route.rb
Providers:
quagga

Overview

This type provides the capability to manage static routes within puppet.

Example:

  quagga_static_route {'172.16.2.0/24':
    ensure      => present,
    hexthop     => '192.168.1.10',
    distance    => 10,
  }

  quagga_static_route {'172.16.3.0/24':
    ensure      => present,
    hexthop     => 'null0',
    distance    => 10,
  }

Properties

  • distance (defaults to: absent)

    Specifies the distance value for this route.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • option (defaults to: absent)

    Sets reject or blackhole for this route.

    Supported values:
    • absent
    • blackhole
    • reject

Parameters

  • nexthop (defaults to: Null0)

    Specifies IP or the interface name of the nexthop router.

  • prefix

    IP destination prefix.

  • provider

    The specific backend to use for this ‘quagga_static_route` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.