Class: Ansible::Ruby::Modules::Ce_ospf
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_ospf
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb
Overview
Manages configuration of an OSPF instance on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#addr ⇒ Object?
Specifies the address of the network segment where the interface resides.
-
#area ⇒ Object?
Specifies the area ID.
-
#auth_key_id ⇒ Object?
Authentication key id when C(auth_mode) is ‘hmac-sha256’, ‘md5’ or ‘hmac-md5.
-
#auth_mode ⇒ :none, ...
Specifies the authentication type.
-
#auth_text_md5 ⇒ Object?
Specifies a password for MD5, HMAC-MD5, or HMAC-SHA256 authentication.
-
#auth_text_simple ⇒ Object?
Specifies a password for simple authentication.
-
#mask ⇒ Object?
IP network wildcard bits in decimal format between 0 and 32.
-
#max_load_balance ⇒ Object?
The maximum number of paths for forward packets over multiple paths.
-
#nexthop_addr ⇒ Object?
IPv4 address for configure next-hop address’s weight.
-
#nexthop_weight ⇒ Object?
Indicates the weight of the next hop.
-
#process_id ⇒ Object
Specifies a process ID.
-
#state ⇒ :present, ...
Determines whether the config should be present or not on the device.
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
#addr ⇒ Object?
Returns Specifies the address of the network segment where the interface resides. The value is in dotted decimal notation.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 19 attribute :addr |
#area ⇒ Object?
Returns Specifies the area ID. The area with the area-id being 0 is a backbone area. Valid values are a string, formatted as an IP address (i.e. “0.0.0.0”) or as an integer between 1 and 4294967295.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 16 attribute :area |
#auth_key_id ⇒ Object?
Returns Authentication key id when C(auth_mode) is ‘hmac-sha256’, ‘md5’ or ‘hmac-md5. Valid value is an integer is in the range from 1 to 255.
32 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 32 attribute :auth_key_id |
#auth_mode ⇒ :none, ...
Returns Specifies the authentication type.
25 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 25 attribute :auth_mode |
#auth_text_md5 ⇒ Object?
Returns Specifies a password for MD5, HMAC-MD5, or HMAC-SHA256 authentication. The value is a string of 1 to 255 case-sensitive characters, spaces not supported.
35 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 35 attribute :auth_text_md5 |
#auth_text_simple ⇒ Object?
Returns Specifies a password for simple authentication. The value is a string of 1 to 8 characters.
29 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 29 attribute :auth_text_simple |
#mask ⇒ Object?
Returns IP network wildcard bits in decimal format between 0 and 32.
22 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 22 attribute :mask |
#max_load_balance ⇒ Object?
Returns The maximum number of paths for forward packets over multiple paths. Valid value is an integer in the range from 1 to 64.
44 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 44 attribute :max_load_balance |
#nexthop_addr ⇒ Object?
Returns IPv4 address for configure next-hop address’s weight. Valid values are a string, formatted as an IP address.
38 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 38 attribute :nexthop_addr |
#nexthop_weight ⇒ Object?
Returns Indicates the weight of the next hop. The smaller the value is, the higher the preference of the route is. It is an integer that ranges from 1 to 254.
41 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 41 attribute :nexthop_weight |
#process_id ⇒ Object
Returns Specifies a process ID. The value is an integer ranging from 1 to 4294967295.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 12 attribute :process_id |
#state ⇒ :present, ...
Returns Determines whether the config should be present or not on the device.
47 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 47 attribute :state |