Class: Ansible::Ruby::Modules::Ce_bgp

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

Overview

Manages BGP configurations on HUAWEI CloudEngine 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

#as_numberObject?

Returns Local AS number. The value is a string of 1 to 11 characters.

Returns:

  • (Object, nil)

    Local AS number. The value is a string of 1 to 11 characters.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 16

attribute :as_number

#as_path_limitObject?

Returns Maximum number of AS numbers in the AS_Path attribute. The default value is 255.

Returns:

  • (Object, nil)

    Maximum number of AS numbers in the AS_Path attribute. The default value is 255.



26
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 26

attribute :as_path_limit

#bgp_rid_auto_sel:no_use, ...

Returns The function to automatically select router IDs for all VPN BGP instances is enabled.

Returns:

  • (:no_use, :true, :false, nil)

    The function to automatically select router IDs for all VPN BGP instances is enabled.



40
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 40

attribute :bgp_rid_auto_sel

#check_first_as:no_use, ...

Returns Check the first AS in the AS_Path of the update messages from EBGP peers.

Returns:

  • (:no_use, :true, :false, nil)

    Check the first AS in the AS_Path of the update messages from EBGP peers.



29
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 29

attribute :check_first_as

#clear_intervalObject?

Returns Clear interval.

Returns:

  • (Object, nil)

    Clear interval.



66
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 66

attribute :clear_interval

#confed_id_numberObject?

Returns Confederation ID. The value is a string of 1 to 11 characters.

Returns:

  • (Object, nil)

    Confederation ID. The value is a string of 1 to 11 characters.



33
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 33

attribute :confed_id_number

#confed_nonstanded:no_use, ...

Returns Configure the device to be compatible with devices in a nonstandard confederation.

Returns:

  • (:no_use, :true, :false, nil)

    Configure the device to be compatible with devices in a nonstandard confederation.



36
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 36

attribute :confed_nonstanded

#confed_peer_as_numObject?

Returns Confederation AS number, in two-byte or four-byte format. The value is a string of 1 to 11 characters.

Returns:

  • (Object, nil)

    Confederation AS number, in two-byte or four-byte format. The value is a string of 1 to 11 characters.



69
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 69

attribute :confed_peer_as_num

#conn_retry_timeObject?

Returns ConnectRetry interval. The value is an integer, in seconds. The default value is 32s.

Returns:

  • (Object, nil)

    ConnectRetry interval. The value is an integer, in seconds. The default value is 32s.



91
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 91

attribute :conn_retry_time

#default_af_type:ipv4uni, ...

Returns Type of a created address family, which can be IPv4 unicast or IPv6 unicast. The default type is IPv4 unicast.

Returns:

  • (:ipv4uni, :ipv6uni, nil)

    Type of a created address family, which can be IPv4 unicast or IPv6 unicast. The default type is IPv4 unicast.



98
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 98

attribute :default_af_type

#ebgp_if_sensitive:no_use, ...

Returns If the value is true, After the fast EBGP interface awareness function is enabled, EBGP sessions on an interface are deleted immediately when the interface goes Down. If the value is false, After the fast EBGP interface awareness function is enabled, EBGP sessions on an interface are not deleted immediately when the interface goes Down.

Returns:

  • (:no_use, :true, :false, nil)

    If the value is true, After the fast EBGP interface awareness function is enabled, EBGP sessions on an interface are deleted immediately when the interface goes Down. If the value is false, After the fast EBGP interface awareness function is enabled, EBGP sessions on an interface are not deleted immediately when the interface goes Down.



94
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 94

attribute :ebgp_if_sensitive

#gr_peer_reset:no_use, ...

Returns Peer disconnection through GR.

Returns:

  • (:no_use, :true, :false, nil)

    Peer disconnection through GR.



52
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 52

attribute :gr_peer_reset

#graceful_restart:no_use, ...

Returns Enable GR of the BGP speaker in the specified address family, peer address, or peer group.

Returns:

  • (:no_use, :true, :false, nil)

    Enable GR of the BGP speaker in the specified address family, peer address, or peer group.



19
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 19

attribute :graceful_restart

#hold_intervalObject?

Returns Hold interval.

Returns:

  • (Object, nil)

    Hold interval.



63
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 63

attribute :hold_interval

#hold_timeObject?

Returns Hold time, in seconds. The value of the hold time can be 0 or range from 3 to 65535.

Returns:

  • (Object, nil)

    Hold time, in seconds. The value of the hold time can be 0 or range from 3 to 65535.



85
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 85

attribute :hold_time

#is_shutdown:no_use, ...

Returns Interrupt BGP all neighbor.

Returns:

  • (:no_use, :true, :false, nil)

    Interrupt BGP all neighbor.



56
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 56

attribute :is_shutdown

#keep_all_routes:no_use, ...

Returns If the value is true, the system stores all route update messages received from all peers (groups) after BGP connection setup. If the value is false, the system stores only BGP update messages that are received from peers and pass the configured import policy.

Returns:

  • (:no_use, :true, :false, nil)

    If the value is true, the system stores all route update messages received from all peers (groups) after BGP connection setup. If the value is false, the system stores only BGP update messages that are received from peers and pass the configured import policy.



44
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 44

attribute :keep_all_routes

#keepalive_timeObject?

Returns If the value of a timer changes, the BGP peer relationship between the routers is disconnected. The value is an integer ranging from 0 to 21845. The default value is 60.

Returns:

  • (Object, nil)

    If the value of a timer changes, the BGP peer relationship between the routers is disconnected. The value is an integer ranging from 0 to 21845. The default value is 60.



82
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 82

attribute :keepalive_time

#memory_limit:no_use, ...

Returns Support BGP RIB memory protection.

Returns:

  • (:no_use, :true, :false, nil)

    Support BGP RIB memory protection.



48
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 48

attribute :memory_limit

#min_hold_timeObject?

Returns Min hold time, in seconds. The value of the hold time can be 0 or range from 20 to 65535.

Returns:

  • (Object, nil)

    Min hold time, in seconds. The value of the hold time can be 0 or range from 20 to 65535.



88
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 88

attribute :min_hold_time

#router_idObject?

Returns ID of a router that is in IPv4 address format.

Returns:

  • (Object, nil)

    ID of a router that is in IPv4 address format.



79
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 79

attribute :router_id

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 12

attribute :state

#suppress_intervalObject?

Returns Suppress interval.

Returns:

  • (Object, nil)

    Suppress interval.



60
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 60

attribute :suppress_interval

#time_wait_for_ribObject?

Returns Period of waiting for the End-Of-RIB flag. The value is an integer ranging from 3 to 3000. The default value is 600.

Returns:

  • (Object, nil)

    Period of waiting for the End-Of-RIB flag. The value is an integer ranging from 3 to 3000. The default value is 600.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 23

attribute :time_wait_for_rib

#vrf_nameObject?

Returns Name of a BGP instance. The name is a case-sensitive string of characters.

Returns:

  • (Object, nil)

    Name of a BGP instance. The name is a case-sensitive string of characters.



72
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 72

attribute :vrf_name

#vrf_rid_auto_sel:no_use, ...

Returns If the value is true, VPN BGP instances are enabled to automatically select router IDs. If the value is false, VPN BGP instances are disabled from automatically selecting router IDs.

Returns:

  • (:no_use, :true, :false, nil)

    If the value is true, VPN BGP instances are enabled to automatically select router IDs. If the value is false, VPN BGP instances are disabled from automatically selecting router IDs.



75
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_bgp.rb', line 75

attribute :vrf_rid_auto_sel