Class: Ansible::Ruby::Modules::Ce_interface_ospf

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

Overview

Manages configuration of an OSPF interface instanceon 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

#areaObject

Returns Ospf area associated with this ospf process. 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)

    Ospf area associated with this ospf process. Valid values are a string, formatted as an IP address (i.e. “0.0.0.0”) or as an integer between 1 and 4294967295.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 20

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.



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

attribute :auth_key_id

#auth_mode:none, ...

Returns Specifies the authentication type.

Returns:

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

    Specifies the authentication type.



37
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 37

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.



47
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 47

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.



41
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 41

attribute :auth_text_simple

#costObject?

Returns The cost associated with this interface. Valid values are an integer in the range from 1 to 65535.

Returns:

  • (Object, nil)

    The cost associated with this interface. Valid values are an integer in the range from 1 to 65535.



24
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 24

attribute :cost

#dead_intervalObject?

Returns Time interval an ospf neighbor waits for a hello packet before tearing down adjacencies. Valid values are an integer in the range from 1 to 235926000.

Returns:

  • (Object, nil)

    Time interval an ospf neighbor waits for a hello packet before tearing down adjacencies. Valid values are an integer in the range from 1 to 235926000.



30
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 30

attribute :dead_interval

#hello_intervalObject?

Returns Time between sending successive hello packets. Valid values are an integer in the range from 1 to 65535.

Returns:

  • (Object, nil)

    Time between sending successive hello packets. Valid values are an integer in the range from 1 to 65535.



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 27

attribute :hello_interval

#interfaceObject

Returns Full name of interface, i.e. 40GE1/0/10.

Returns:

  • (Object)

    Full name of interface, i.e. 40GE1/0/10.



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

attribute :interface

#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.



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

attribute :process_id

#silent_interface:yes, ...

Returns Setting to true will prevent this interface from receiving HELLO packets. Valid values are ‘true’ and ‘false’.

Returns:

  • (:yes, :no, nil)

    Setting to true will prevent this interface from receiving HELLO packets. Valid values are ‘true’ and ‘false’.



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

attribute :silent_interface

#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.



50
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface_ospf.rb', line 50

attribute :state