Forge Home

quagga

quagga configuration

9,817 downloads

9,817 latest version

4.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Sep 17th 2014
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'kernel23-quagga', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kernel23-quagga
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kernel23-quagga --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: bgp, bgpd, quagga

Documentation

kernel23/quagga — version 0.1.0 Sep 17th 2014

puppet-quagga

A puppet module for quagga. Contributions welcome!

Example for BGP (Work in progress)

class {'quagga':
    asn=> "65001",
    zebra=> true,
    bgpd=> true,
    hostname=> "host.bgp.me",
    password=> "password",
    enable=> "strong_password",
    network=>[
        "192.168.1.0/25",
        "192.168.1.128/25"
    ],
    router_id=> "10.0.0.1",
    bgp_neighbors =>{
        "bgp1"=>{
            neighbor_ip   => "10.0.0.2",
            neighbor_as   => "65002",
            description   => "AS-002",
            route_map_in  => "med-100",
            route_map_out => "med-100"
        },
        "bgp2"=>{
            neighbor_ip => "10.0.0.3",
            neighbor_as => "65003",
            description => "AS-003",
            next_hop_self => true
        },
    },
    ip_prefix_list =>{
        "line1"=>{
            name => "ALL",
            description => "TEST-DESC"
        },
        "line2"=>{
            name => "ALL",
            num => "10",
            action => "deny",
            prefix => "10.0.0.0/8"
        }
    },
    route_map =>{
        "MED"=> {
            action => "permit",
            order => "5",
            metric => "100",
            as_path_prepend => "65002 65002",
        }
    },
}