class PaloAlto::XML::Config::Devices::Entry::Template::Entry::Config::Devices::Entry::Network::VirtualRouter::Entry::Protocol::Bgp

Public Instance Methods

_section() click to toggle source
# File lib/palo_alto/config.rb, line 199697
def _section
        :'bgp'
end
allow_redist_default_route() click to toggle source

allow redistribute default route to BGP

# File lib/palo_alto/config.rb, line 204803
def allow_redist_default_route
        prop_get('allow-redist-default-route')
end
allow_redist_default_route=(val) click to toggle source

allow redistribute default route to BGP

# File lib/palo_alto/config.rb, line 204807
def allow_redist_default_route=(val)
        prop_set('allow-redist-default-route', val)
end
auth_profile() click to toggle source
# File lib/palo_alto/config.rb, line 200015
def auth_profile
        if @create_children
                @subclasses['auth-profile'] ||= AuthProfile.new(parent_instance: self, create_children: @create_children)
        else
                AuthProfile.new(parent_instance: self)
        end
end
dampening_profile() click to toggle source
# File lib/palo_alto/config.rb, line 200144
def dampening_profile
        if @create_children
                @subclasses['dampening-profile'] ||= DampeningProfile.new(parent_instance: self, create_children: @create_children)
        else
                DampeningProfile.new(parent_instance: self)
        end
end
ecmp_multi_as() click to toggle source

Support multiple AS in ECMP

# File lib/palo_alto/config.rb, line 204819
def ecmp_multi_as
        prop_get('ecmp-multi-as')
end
ecmp_multi_as=(val) click to toggle source

Support multiple AS in ECMP

# File lib/palo_alto/config.rb, line 204823
def ecmp_multi_as=(val)
        prop_set('ecmp-multi-as', val)
end
enable() click to toggle source
# File lib/palo_alto/config.rb, line 204772
def enable
        prop_get('enable')
end
enable=(val) click to toggle source
# File lib/palo_alto/config.rb, line 204775
def enable=(val)
        prop_set('enable', val)
end
enforce_first_as() click to toggle source

Enforce First AS for EBGP

# File lib/palo_alto/config.rb, line 204827
def enforce_first_as
        prop_get('enforce-first-as')
end
enforce_first_as=(val) click to toggle source

Enforce First AS for EBGP

# File lib/palo_alto/config.rb, line 204831
def enforce_first_as=(val)
        prop_set('enforce-first-as', val)
end
global_bfd() click to toggle source
# File lib/palo_alto/config.rb, line 200179
def global_bfd
        @subclasses['global-bfd'] ||= GlobalBfd.new(parent_instance: self, create_children: @create_children)
end
has_multiple_values?() click to toggle source
# File lib/palo_alto/config.rb, line 199694
def has_multiple_values?
        false
end
install_route() click to toggle source

Populate BGP learned route to global route table

# File lib/palo_alto/config.rb, line 204811
def install_route
        prop_get('install-route')
end
install_route=(val) click to toggle source

Populate BGP learned route to global route table

# File lib/palo_alto/config.rb, line 204815
def install_route=(val)
        prop_set('install-route', val)
end
local_as() click to toggle source

local AS number

# File lib/palo_alto/config.rb, line 204787
def local_as
        prop_get('local-as')
end
local_as=(val) click to toggle source

local AS number

# File lib/palo_alto/config.rb, line 204791
def local_as=(val)
        prop_set('local-as', val)
end
peer_group() click to toggle source
# File lib/palo_alto/config.rb, line 200967
def peer_group
        if @create_children
                @subclasses['peer-group'] ||= PeerGroup.new(parent_instance: self, create_children: @create_children)
        else
                PeerGroup.new(parent_instance: self)
        end
end
policy() click to toggle source
# File lib/palo_alto/config.rb, line 204464
def policy
        @subclasses['policy'] ||= Policy.new(parent_instance: self, create_children: @create_children)
end
redist_rules() click to toggle source
# File lib/palo_alto/config.rb, line 204710
def redist_rules
        if @create_children
                @subclasses['redist-rules'] ||= RedistRules.new(parent_instance: self, create_children: @create_children)
        else
                RedistRules.new(parent_instance: self)
        end
end
reject_default_route() click to toggle source

do not learn default route from BGP

# File lib/palo_alto/config.rb, line 204795
def reject_default_route
        prop_get('reject-default-route')
end
reject_default_route=(val) click to toggle source

do not learn default route from BGP

# File lib/palo_alto/config.rb, line 204799
def reject_default_route=(val)
        prop_set('reject-default-route', val)
end
router_id() click to toggle source

router id of this BGP instance

# File lib/palo_alto/config.rb, line 204779
def router_id
        prop_get('router-id')
end
router_id=(val) click to toggle source

router id of this BGP instance

# File lib/palo_alto/config.rb, line 204783
def router_id=(val)
        prop_set('router-id', val)
end
routing_options() click to toggle source
# File lib/palo_alto/config.rb, line 199965
def routing_options
        @subclasses['routing-options'] ||= RoutingOptions.new(parent_instance: self, create_children: @create_children)
end