Class: Ansible::Ruby::Modules::Nxos_hsrp
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_hsrp
- Defined in:
- lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb
Overview
Manages HSRP configuration on NX-OS switches.
Instance Method Summary collapse
-
#auth_string ⇒ String?
Authentication string.
-
#auth_type ⇒ :text, ...
Authentication type.
-
#group ⇒ Integer
HSRP group number.
-
#interface ⇒ String
Full name of interface that is being managed for HSRP.
-
#preempt ⇒ :enabled, ...
Enable/Disable preempt.
-
#priority ⇒ Integer?
HSRP priority or keyword ‘default’.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#version ⇒ 1, ...
HSRP version.
-
#vip ⇒ String?
HSRP virtual IP address or keyword ‘default’.
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
#auth_string ⇒ String?
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.
36 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 36 attribute :auth_string |
#auth_type ⇒ :text, ...
Returns Authentication type.
40 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 40 attribute :auth_type |
#group ⇒ Integer
Returns HSRP group number.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 12 attribute :group |
#interface ⇒ String
Returns 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.
28 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 28 attribute :preempt |
#priority ⇒ Integer?
Returns 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.
44 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 44 attribute :state |
#version ⇒ 1, ...
Returns HSRP version.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 20 attribute :version |
#vip ⇒ String?
Returns HSRP virtual IP address or keyword ‘default’.
32 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_hsrp.rb', line 32 attribute :vip |