Resource Type: quagga_bgp_peer
- Defined in:
- lib/puppet/type/quagga_bgp_peer.rb
- Providers:
-
quagga
Overview
This type provides the capability to manage bgp neighbor within puppet.
Examples:
quagga_bgp_peer { '192.168.1.1':
ensure => present,
peer_group => 'internal_peers',
password => 'QWRF$345!
Properties
-
ebgp_multihop
(defaults to: absent)
Number of allowed hops to remote BGP peer
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
local_as
(defaults to: absent)
Specify a local-as number.
-
passive
(defaults to: false)
Don't send open messages to this neighbor.
Supported values:- false
- true
-
password
(defaults to: absent)
Set a password
-
peer_group
Member of the peer-group.
Supported values:- false
- true
- %r{\A[[:alpha:]]\w+\Z}
-
remote_as
(defaults to: absent)
Specify a BGP neighbor AS.
-
shutdown
(defaults to: false)
Administratively shut down this neighbor.
Supported values:- false
- true
-
update_source
(defaults to: absent)
Source of routing updates.
Supported values:- absent
- %r{\A#{block}\.#{block}\.#{block}\.#{block}\Z}
- %r{\A\h+:[\h:]+\Z}
- %r{\A#{interface}\Z}
Parameters
-
name (namevar)
The neighbor IP address or a peer-group name.
Supported values:- %r{\A(\d{,2}|1\d{2}|2[0-4]\d|25[0-5])\.(\d{,2}|1\d{2}|2[0-4]\d|25[0-5])\.(\d{,2}|1\d{2}|2[0-4]\d|25[0-5])\.(\d{,2}|1\d{2}|2[0-4]\d|25[0-5])\Z}
- %r{\A[\h:]+\Z}
- %r{\A\w+\Z}
-
provider
The specific backend to use for this ‘quagga_bgp_peer` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.