Resource Type: cisco_interface_ospf

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

Overview

Manages configuration of an OSPF interface instance

cisco_interface_ospf <ospf>":

..attributes..

<interface> is the name of the interface where the ospf interface config is to be applied. <ospf> is the name of the ospf router instance.

Example:

cisco_interface_ospf {\"Ethernet1/8 green\":
  ensure                         => present,
  area                           => \"0.0.0.0\",
  bfd                            => true,
  cost                           => 10,
  hello_interval                 => 10,
  dead_interval                  => 40,
  passive_interface              => true,
  message_digest                 => true,
  message_digest_key_id          => 5,
  message_digest_algorithm_type  => md5,
  message_digest_encryption_type => \"clear\",
  message_digest_password        => \"xxxxx\",
  mtu_ignore                     => true,
  network_type                   => 'p2p',
  priority                       => 100,
  shutdown                       => true,
  transmit_delay                 => 300,
}

Properties

  • area

    Ospf area associated with this cisco_interface_ospf instance. Valid values are string, formatted as an IP address i.e. "0.0.0.0" or as an integer. Mandatory parameter.

  • bfd

    Enable bfd on this interface.

    Supported values:
    • true
    • false
    • default
  • cost

    The cost associated with this cisco_interface_ospf instance. Valid values are integer, keyword ‘default’

  • dead_interval

    The dead_interval associated with the cisco_interface_ospf instance. Time interval an ospf neighbor waits for a hello packet before tearing down adjacencies. Valid values are integer, keyword ‘default’.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • hello_interval

    The hello_interval associated with this cisco_interface_ospf instance. Time between sending successive hello packets. Valid values are integer, keyword ‘default’.

  • message_digest

    Enables or disables the usage of message digest authentication.

    Supported values:
    • true
    • false
    • default
  • message_digest_algorithm_type

    Algorithm used for authentication among neighboring routers within an area. Keyword: ‘default’

    Supported values:
    • md5
    • default
  • message_digest_encryption_type

    Specifies the scheme used for encrypting message_digest_password. Valid values are ‘cleartext’, ‘3des’ or ‘cisco_type_7’ encryption, and ‘default’, which defaults to ‘cleartext’.

    Supported values:
    • clear
    • cleartext
    • 3des
    • cisco_type_7
    • encrypted
    • default
  • message_digest_key_id

    md5 authentication key-id associated with the cisco_interface_ospf instance. If this is present in the manifest, message_digest_encryption_type, message_digest_algorithm_type and message_digest_password are mandatory. Valid values are integer.

  • message_digest_password

    Specifies the message_digest password. Valid values are string.

  • mtu_ignore

    Disables OSPF MTU mismatch detection.

    Supported values:
    • true
    • false
    • default
  • network_type

    Network type of this interface.

    Supported values:
    • broadcast
    • p2p
    • default
  • passive_interface

    Passive interface associated with the cisco_interface_ospf instance. Setting to true will prevent this interface from receiving HELLO packets.

    Supported values:
    • true
    • false
    • default
  • priority

    The router priority associated with this cisco_interface_ospf instance. Valid values are integer, keyword ‘default’.

  • shutdown

    Shuts down ospf on this interface.

    Supported values:
    • true
    • false
    • default
  • transmit_delay

    Packet transmission delay in seconds. Valid values are integer, keyword ‘default’.

Parameters

  • interface

    Name of this cisco_interface resource. Valid values are string.

  • name (namevar)

    dummy paramenter to support puppet resource command

  • ospf

    Name of the cisco_ospf resource. Valid values are string.

  • provider

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