Class: Ansible::Ruby::Modules::Cnos_bgp

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

Overview

This module allows you to work with Border Gateway Protocol (BGP) related configurations. The operators used are overloaded to ensure control over switch BGP configurations. This module is invoked using method with asNumber as one of its arguments. The first level of the BGP configuration allows to set up an AS number, with the following attributes going into various configuration operations under the context of BGP. After passing this level, there are eight BGP arguments that will perform further configurations. They are bgpArg1, bgpArg2, bgpArg3, bgpArg4, bgpArg5, bgpArg6, bgpArg7, and bgpArg8. For more details on how to use these arguments, see [Overloaded Variables]. This module uses SSH to manage network device configuration. The results of the operation will be placed in a directory named ‘results’ that must be created by the user in their local directory to where the playbook is run. For more information about this module from Lenovo and customizing it usage for your use cases, please visit U(systemx.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.switchmgt.ansible.doc%2Fcnos_bgp.html)

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

#asNumObject

Returns AS number.

Returns:

  • (Object)

    AS number



12
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 12

attribute :asNum

#bgpArg1:"address-family", ...

Returns This is an overloaded bgp first argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"address-family", :bestpath, :bgp, :"cluster-id", :confederation, :"enforce-first-as", :"fast-external-failover", :"graceful-restart", :"graceful-restart-helper", :"log-neighbor-changes", :"maxas-limit", :neighbor, :"router-id", :shutdown, :synchronization, :timers, :vrf)

    This is an overloaded bgp first argument. Usage of this argument can be found is the User Guide referenced above.



16
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 16

attribute :bgpArg1

#bgpArg2:"ipv4 or ipv6", ...

Returns This is an overloaded bgp second argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"ipv4 or ipv6", :"always-compare-med", :"compare-confed-aspath", :"compare-routerid", :"dont-compare-originator-id", :"tie-break-on-age", :"as-path", :med, :identifier, :peers, nil)

    This is an overloaded bgp second argument. Usage of this argument can be found is the User Guide referenced above.



20
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 20

attribute :bgpArg2

#bgpArg3:"aggregate-address", ...

Returns This is an overloaded bgp third argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"aggregate-address", :"client-to-client", :dampening, :distance, :"maximum-paths", :network, :nexthop, :redistribute, :save, :synchronization, :"ignore or multipath-relax", :"confed or missing-as-worst or non-deterministic or remove-recv-med or remove-send-med", nil)

    This is an overloaded bgp third argument. Usage of this argument can be found is the User Guide referenced above.



24
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 24

attribute :bgpArg3

#bgpArg4:"Aggregate prefix", ...

Returns This is an overloaded bgp fourth argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"Aggregate prefix", :"Reachability Half-life time", :"route-map", :"Distance for routes ext", :"ebgp or ibgp", :"IP prefix <network>", :"IP prefix <network>/<length>", :synchronization, :"Delay value", :direct, :ospf, :static, :memory, nil)

    This is an overloaded bgp fourth argument. Usage of this argument can be found is the User Guide referenced above.



28
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 28

attribute :bgpArg4

#bgpArg5:"as-set", ...

Returns This is an overloaded bgp fifth argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"as-set", :"summary-only", :"Value to start reusing a route", :"Distance for routes internal", :"Supported multipath numbers", :backdoor, :map, :"route-map", nil)

    This is an overloaded bgp fifth argument. Usage of this argument can be found is the User Guide referenced above.



32
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 32

attribute :bgpArg5

#bgpArg6:"summary-only", ...

Returns This is an overloaded bgp sixth argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"summary-only", :"as-set", :"route-map name", :"Value to start suppressing a route", :"Distance local routes", :"Network mask", :"Pointer to route-map entries", nil)

    This is an overloaded bgp sixth argument. Usage of this argument can be found is the User Guide referenced above.



36
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 36

attribute :bgpArg6

#bgpArg7:"Maximum duration to suppress a stable route(minutes)", ...

Returns This is an overloaded bgp seventh argument. Use of this argument can be found is the User Guide referenced above.

Returns:

  • (:"Maximum duration to suppress a stable route(minutes)", :backdoor, :"route-map", :"Name of the route map", nil)

    This is an overloaded bgp seventh argument. Use of this argument can be found is the User Guide referenced above.



40
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 40

attribute :bgpArg7

#bgpArg8:"Un-reachability Half-life time for the penalty(minutes)", ...

Returns This is an overloaded bgp eigth argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"Un-reachability Half-life time for the penalty(minutes)", :backdoor, nil)

    This is an overloaded bgp eigth argument. Usage of this argument can be found is the User Guide referenced above.



44
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 44

attribute :bgpArg8