Resource Type: cisco_ospf_area

Defined in:
lib/puppet/type/cisco_ospf_area.rb
Providers:
cisco

Overview

Manages an area for an OSPF router.

cisco_ospf_area <vrf> <area>":

..attributes..

<ospf> is the name of the ospf router instance. <vrf> is the name of the ospf vrf. <area> is the name of the ospf area instance.

Examples: cisco_ospf_area vrf1 1.1.1.1’:

ensure                  => 'present',
authentication          => 'md5',
default_cost            => 1000,
filter_list_in          => 'fin',
filter_list_out         => 'fout',
range                   => [['10.3.0.0/16', true, '23'],
                            ['10.3.3.0/24', false, '450']],
stub_no_summary         => true,

cisco_ospf_area vrf2 2002’:

ensure                  => 'present',
nssa                    => true,
nssa_default_originate  => true,
nssa_no_redistribution  => true,
nssa_no_summary         => true,
nssa_route_map          => 'rmap',
nssa_translate_type7    => 'always_supress_fa',

Properties

  • authentication

    Enable authentication for the area.

    Supported values:
    • cleartext
    • md5
    • default
  • default_cost

    default_cost for default summary Link-State Advertisement (LSA). Valid values are integer, keyword ‘default’.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • filter_list_in

    This is a route-map for filtering networks sent to this area. Valid values are string, keyword ‘default’.

  • filter_list_out

    This is a route-map for filtering networks sent from this area. Valid values are string, keyword ‘default’.

  • nssa

    Defines the area as NSSA (not so stubby area). This is mutually exclusive with stub and stub_no_summary.

    Supported values:
    • true
    • false
    • default
  • nssa_default_originate

    Generates an NSSA External (type 7) LSA for use as a default route to the external autonomous system.

    Supported values:
    • true
    • false
    • default
  • nssa_no_redistribution

    Disable redistribution within the NSSA.

    Supported values:
    • true
    • false
    • default
  • nssa_no_summary

    Disables summary LSA flooding within the NSSA.

    Supported values:
    • true
    • false
    • default
  • nssa_route_map

    Controls distribution of the default route. This property can only be used when the ‘nssa_default_originate` property is set to true. Valid values are string, keyword ’default’.

  • nssa_translate_type7

    Translates NSSA external (type 7) LSAs to standard external (type 5) LSAs for use outside the NSSA.

    Supported values:
    • always
    • always_supress_fa
    • never
    • supress_fa
    • default
  • range
  • stub

    Defines the area as a stub area. This property is not necessary when the ‘stub_no_summary` property is set to true, which also defines the area as a stub area. This is mutually exclusive with nssa

    Supported values:
    • true
    • false
    • default
  • stub_no_summary

    Stub areas flood summary LSAs. This property disables summary flooding into the area. This property can be used in place of the ‘stub` property or in conjunction with it. This is mutually exclusive with nssa

    Supported values:
    • true
    • false
    • default

Parameters

  • area

    Name of the resource instance. Valid values are string.

  • name (namevar)

    Name of cisco_ospf_area, not used, but needed for puppet

  • ospf

    Name of the ospf instance. Valid values are string.

  • provider

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

  • vrf

    Name of the vrf instance. Valid values are string. The name ‘default’ is a valid VRF.