Class: Ansible::Ruby::Modules::Nxos_bgp

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb

Overview

Manages BGP configurations on NX-OS switches.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#asnInteger

Returns BGP autonomous system number. Valid values are String, Integer in ASPLAIN or ASDOT notation.

Returns:

  • (Integer)

    BGP autonomous system number. Valid values are String, Integer in ASPLAIN or ASDOT notation.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 12

attribute :asn

#bestpath_always_compare_medSymbol?

Returns Enable/Disable MED comparison on paths from different autonomous systems.

Returns:

  • (Symbol, nil)

    Enable/Disable MED comparison on paths from different autonomous systems.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 20

attribute :bestpath_always_compare_med

#bestpath_aspath_multipath_relaxSymbol?

Returns Enable/Disable load sharing across the providers with different (but equal-length) AS paths.

Returns:

  • (Symbol, nil)

    Enable/Disable load sharing across the providers with different (but equal-length) AS paths.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 24

attribute :bestpath_aspath_multipath_relax

#bestpath_compare_neighboridSymbol?

Returns Enable/Disable neighborid. Use this when more paths available than max path config.

Returns:

  • (Symbol, nil)

    Enable/Disable neighborid. Use this when more paths available than max path config.



32
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 32

attribute :bestpath_compare_neighborid

#bestpath_compare_routeridSymbol?

Returns Enable/Disable comparison of router IDs for identical eBGP paths.

Returns:

  • (Symbol, nil)

    Enable/Disable comparison of router IDs for identical eBGP paths.



28
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 28

attribute :bestpath_compare_routerid

#bestpath_cost_community_ignoreSymbol?

Returns Enable/Disable Ignores the cost community for BGP best-path calculations.

Returns:

  • (Symbol, nil)

    Enable/Disable Ignores the cost community for BGP best-path calculations.



36
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 36

attribute :bestpath_cost_community_ignore

#bestpath_med_confedSymbol?

Returns Enable/Disable enforcement of bestpath to do a MED comparison only between paths originated within a confederation.

Returns:

  • (Symbol, nil)

    Enable/Disable enforcement of bestpath to do a MED comparison only between paths originated within a confederation.



40
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 40

attribute :bestpath_med_confed

#bestpath_med_missing_as_worstSymbol?

Returns Enable/Disable assigns the value of infinity to received routes that do not carry the MED attribute, making these routes the least desirable.

Returns:

  • (Symbol, nil)

    Enable/Disable assigns the value of infinity to received routes that do not carry the MED attribute, making these routes the least desirable.



44
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 44

attribute :bestpath_med_missing_as_worst

#bestpath_med_non_deterministicSymbol?

Returns Enable/Disable deterministic selection of the best MED pat from among the paths from the same autonomous system.

Returns:

  • (Symbol, nil)

    Enable/Disable deterministic selection of the best MED pat from among the paths from the same autonomous system.



48
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 48

attribute :bestpath_med_non_deterministic

#cluster_idObject?

Returns Route Reflector Cluster-ID.

Returns:

  • (Object, nil)

    Route Reflector Cluster-ID.



52
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 52

attribute :cluster_id

#confederation_idObject?

Returns Routing domain confederation AS.

Returns:

  • (Object, nil)

    Routing domain confederation AS.



55
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 55

attribute :confederation_id

#confederation_peersObject?

Returns AS confederation parameters.

Returns:

  • (Object, nil)

    AS confederation parameters.



58
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 58

attribute :confederation_peers

#disable_policy_batchingSymbol?

Returns Enable/Disable the batching evaluation of prefix advertisement to all peers.

Returns:

  • (Symbol, nil)

    Enable/Disable the batching evaluation of prefix advertisement to all peers.



61
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 61

attribute :disable_policy_batching

#disable_policy_batching_ipv4_prefix_listObject?

Returns Enable/Disable the batching evaluation of prefix advertisements to all peers with prefix list.

Returns:

  • (Object, nil)

    Enable/Disable the batching evaluation of prefix advertisements to all peers with prefix list.



65
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 65

attribute :disable_policy_batching_ipv4_prefix_list

#disable_policy_batching_ipv6_prefix_listObject?

Returns Enable/Disable the batching evaluation of prefix advertisements to all peers with prefix list.

Returns:

  • (Object, nil)

    Enable/Disable the batching evaluation of prefix advertisements to all peers with prefix list.



68
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 68

attribute :disable_policy_batching_ipv6_prefix_list

#enforce_first_asSymbol?

Returns Enable/Disable enforces the neighbor autonomous system to be the first AS number listed in the AS path attribute for eBGP. On NX-OS, this property is only supported in the global BGP context.

Returns:

  • (Symbol, nil)

    Enable/Disable enforces the neighbor autonomous system to be the first AS number listed in the AS path attribute for eBGP. On NX-OS, this property is only supported in the global BGP context.



71
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 71

attribute :enforce_first_as

#event_history_cli:size_small, ...

Returns Enable/Disable cli event history buffer.

Returns:

  • (:size_small, :size_medium, :size_large, :size_disable, :default, nil)

    Enable/Disable cli event history buffer.



75
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 75

attribute :event_history_cli

#event_history_detail:size_small, ...

Returns Enable/Disable detail event history buffer.

Returns:

  • (:size_small, :size_medium, :size_large, :size_disable, :default, nil)

    Enable/Disable detail event history buffer.



79
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 79

attribute :event_history_detail

#event_history_events:size_small, ...

Returns Enable/Disable event history buffer.

Returns:

  • (:size_small, :size_medium, :size_large, :size_disable, :default, nil)

    Enable/Disable event history buffer.



83
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 83

attribute :event_history_events

#event_history_periodic:size_small, ...

Returns Enable/Disable periodic event history buffer.

Returns:

  • (:size_small, :size_medium, :size_large, :size_disable, :default, nil)

    Enable/Disable periodic event history buffer.



87
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 87

attribute :event_history_periodic

#fast_external_falloverSymbol?

Returns Enable/Disable immediately reset the session if the link to a directly connected BGP peer goes down. Only supported in the global BGP context.

Returns:

  • (Symbol, nil)

    Enable/Disable immediately reset the session if the link to a directly connected BGP peer goes down. Only supported in the global BGP context.



91
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 91

attribute :fast_external_fallover

#flush_routesSymbol?

Returns Enable/Disable flush routes in RIB upon controlled restart. On NX-OS, this property is only supported in the global BGP context.

Returns:

  • (Symbol, nil)

    Enable/Disable flush routes in RIB upon controlled restart. On NX-OS, this property is only supported in the global BGP context.



95
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 95

attribute :flush_routes

#graceful_restartSymbol?

Returns Enable/Disable graceful restart.

Returns:

  • (Symbol, nil)

    Enable/Disable graceful restart.



99
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 99

attribute :graceful_restart

#graceful_restart_helperSymbol?

Returns Enable/Disable graceful restart helper mode.

Returns:

  • (Symbol, nil)

    Enable/Disable graceful restart helper mode.



103
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 103

attribute :graceful_restart_helper

#graceful_restart_timers_restartObject?

Returns Set maximum time for a restart sent to the BGP peer.

Returns:

  • (Object, nil)

    Set maximum time for a restart sent to the BGP peer.



107
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 107

attribute :graceful_restart_timers_restart

#graceful_restart_timers_stalepath_timeObject?

Returns Set maximum time that BGP keeps the stale routes from the restarting BGP peer.

Returns:

  • (Object, nil)

    Set maximum time that BGP keeps the stale routes from the restarting BGP peer.



110
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 110

attribute :graceful_restart_timers_stalepath_time

#isolateSymbol?

Returns Enable/Disable isolate this router from BGP perspective.

Returns:

  • (Symbol, nil)

    Enable/Disable isolate this router from BGP perspective.



113
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 113

attribute :isolate

#local_asObject?

Returns Local AS number to be used within a VRF instance.

Returns:

  • (Object, nil)

    Local AS number to be used within a VRF instance.



117
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 117

attribute :local_as

#log_neighbor_changesSymbol?

Returns Enable/Disable message logging for neighbor up/down event.

Returns:

  • (Symbol, nil)

    Enable/Disable message logging for neighbor up/down event.



120
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 120

attribute :log_neighbor_changes

#maxas_limitObject?

Returns Specify Maximum number of AS numbers allowed in the AS-path attribute. Valid values are between 1 and 512.

Returns:

  • (Object, nil)

    Specify Maximum number of AS numbers allowed in the AS-path attribute. Valid values are between 1 and 512.



124
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 124

attribute :maxas_limit

#neighbor_down_fib_accelerateSymbol?

Returns Enable/Disable handle BGP neighbor down event, due to various reasons.

Returns:

  • (Symbol, nil)

    Enable/Disable handle BGP neighbor down event, due to various reasons.



127
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 127

attribute :neighbor_down_fib_accelerate

#reconnect_intervalObject?

Returns The BGP reconnection interval for dropped sessions. Valid values are between 1 and 60.

Returns:

  • (Object, nil)

    The BGP reconnection interval for dropped sessions. Valid values are between 1 and 60.



131
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 131

attribute :reconnect_interval

#router_idString?

Returns Router Identifier (ID) of the BGP router VRF instance.

Returns:

  • (String, nil)

    Router Identifier (ID) of the BGP router VRF instance.



134
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 134

attribute :router_id

#shutdownSymbol?

Returns Administratively shutdown the BGP protocol.

Returns:

  • (Symbol, nil)

    Administratively shutdown the BGP protocol.



138
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 138

attribute :shutdown

#state:present, ...

Returns Determines whether the config should be present or not on the device.

Returns:

  • (:present, :absent, nil)

    Determines whether the config should be present or not on the device.



155
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 155

attribute :state

#suppress_fib_pendingSymbol?

Returns Enable/Disable advertise only routes programmed in hardware to peers.

Returns:

  • (Symbol, nil)

    Enable/Disable advertise only routes programmed in hardware to peers.



142
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 142

attribute :suppress_fib_pending

#timer_bestpath_limitObject?

Returns Specify timeout for the first best path after a restart, in seconds.

Returns:

  • (Object, nil)

    Specify timeout for the first best path after a restart, in seconds.



146
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 146

attribute :timer_bestpath_limit

#timer_bgp_holdObject?

Returns Set BGP hold timer.

Returns:

  • (Object, nil)

    Set BGP hold timer.



149
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 149

attribute :timer_bgp_hold

#timer_bgp_keepaliveObject?

Returns Set BGP keepalive timer.

Returns:

  • (Object, nil)

    Set BGP keepalive timer.



152
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 152

attribute :timer_bgp_keepalive

#vrfString?

Returns Name of the VRF. The name ‘default’ is a valid VRF representing the global BGP.

Returns:

  • (String, nil)

    Name of the VRF. The name ‘default’ is a valid VRF representing the global BGP.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_bgp.rb', line 16

attribute :vrf