Class: Ansible::Ruby::Modules::Cnos_bgp
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cnos_bgp
- 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
-
#asNum ⇒ Object
AS number.
-
#bgpArg1 ⇒ :"address-family", ...
This is an overloaded bgp first argument.
-
#bgpArg2 ⇒ :"ipv4 or ipv6", ...
This is an overloaded bgp second argument.
-
#bgpArg3 ⇒ :"aggregate-address", ...
This is an overloaded bgp third argument.
-
#bgpArg4 ⇒ :"Aggregate prefix", ...
This is an overloaded bgp fourth argument.
-
#bgpArg5 ⇒ :"as-set", ...
This is an overloaded bgp fifth argument.
-
#bgpArg6 ⇒ :"summary-only", ...
This is an overloaded bgp sixth argument.
-
#bgpArg7 ⇒ :"Maximum duration to suppress a stable route(minutes)", ...
This is an overloaded bgp seventh argument.
-
#bgpArg8 ⇒ :"Un-reachability Half-life time for the penalty(minutes)", ...
This is an overloaded bgp eigth argument.
Methods inherited from Base
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
#asNum ⇒ Object
Returns 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.
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.
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.
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.
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.
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.
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.
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.
44 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_bgp.rb', line 44 attribute :bgpArg8 |