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

Public Instance Methods

_section() click to toggle source
# File lib/palo_alto/config.rb, line 306260
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 311387
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 311391
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 306580
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 306709
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 311403
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 311407
def ecmp_multi_as=(val)
        prop_set('ecmp-multi-as', val)
end
enable() click to toggle source
# File lib/palo_alto/config.rb, line 311356
def enable
        prop_get('enable')
end
enable=(val) click to toggle source
# File lib/palo_alto/config.rb, line 311359
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 311411
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 311415
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 306744
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 306257
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 311395
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 311399
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 311371
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 311375
def local_as=(val)
        prop_set('local-as', val)
end
peer_group() click to toggle source
# File lib/palo_alto/config.rb, line 307533
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 311046
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 311292
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 311379
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 311383
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 311363
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 311367
def router_id=(val)
        prop_set('router-id', val)
end
routing_options() click to toggle source
# File lib/palo_alto/config.rb, line 306530
def routing_options
        @subclasses['routing-options'] ||= RoutingOptions.new(parent_instance: self, create_children: @create_children)
end