Class: Ansible::Ruby::Modules::Nxos_hsrp

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

Overview

Manages HSRP configuration on NX-OS 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

#auth_stringString?

Returns Authentication string. If this needs to be hidden(for md5 type), the string should be 7 followed by the key string. Otherwise, it can be 0 followed by key string or just key string (for backward compatibility). For text type, this should be just be a key string. if this is ‘default’, authentication is removed.

Returns:

  • (String, nil)

    Authentication string. If this needs to be hidden(for md5 type), the string should be 7 followed by the key string. Otherwise, it can be 0 followed by key string or just key string (for backward compatibility). For text type, this should be just be a key string. if this is ‘default’, authentication is removed.



36
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 36

attribute :auth_string

#auth_type:text, ...

Returns Authentication type.

Returns:

  • (:text, :md5, nil)

    Authentication type.



40
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 40

attribute :auth_type

#groupInteger

Returns HSRP group number.

Returns:

  • (Integer)

    HSRP group number.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 12

attribute :group

#interfaceString

Returns Full name of interface that is being managed for HSRP.

Returns:

  • (String)

    Full name of interface that is being managed for HSRP.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 16

attribute :interface

#preempt:enabled, ...

Returns Enable/Disable preempt.

Returns:

  • (:enabled, :disabled, nil)

    Enable/Disable preempt.



28
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 28

attribute :preempt

#priorityInteger?

Returns HSRP priority or keyword ‘default’.

Returns:

  • (Integer, nil)

    HSRP priority or keyword ‘default’.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 24

attribute :priority

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



44
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 44

attribute :state

#version1, ...

Returns HSRP version.

Returns:

  • (1, 2, nil)

    HSRP version.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 20

attribute :version

#vipString?

Returns HSRP virtual IP address or keyword ‘default’.

Returns:

  • (String, nil)

    HSRP virtual IP address or keyword ‘default’



32
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 32

attribute :vip