Class: Ansible::Ruby::Modules::Ce_ospf

Inherits:
Base show all
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

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

#addrObject?

Returns Specifies the address of the network segment where the interface resides. The value is in dotted decimal notation.

Returns:

  • (Object, nil)

    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

#areaObject?

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.

Returns:

  • (Object, nil)

    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_idObject?

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:none, :"hmac-sha256", :md5, :"hmac-md5", :simple, nil)

    Specifies the authentication type.



25
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ospf.rb', line 25

attribute :auth_mode

#auth_text_md5Object?

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.

Returns:

  • (Object, nil)

    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_simpleObject?

Returns Specifies a password for simple authentication. The value is a string of 1 to 8 characters.

Returns:

  • (Object, nil)

    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

#maskObject?

Returns IP network wildcard bits in decimal format between 0 and 32.

Returns:

  • (Object, nil)

    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_balanceObject?

Returns The maximum number of paths for forward packets over multiple paths. Valid value is an integer in the range from 1 to 64.

Returns:

  • (Object, nil)

    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_addrObject?

Returns IPv4 address for configure next-hop address’s weight. Valid values are a string, formatted as an IP address.

Returns:

  • (Object, nil)

    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_weightObject?

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.

Returns:

  • (Object, nil)

    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_idObject

Returns Specifies a process ID. The value is an integer ranging from 1 to 4294967295.

Returns:

  • (Object)

    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.

Returns:

  • (:present, :absent, nil)

    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