Class: Ansible::Ruby::Modules::Nxos_ip_interface

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

Overview

Manages Layer 3 attributes for IPv4 and IPv6 interfaces

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#addrString?

Returns IPv4 or IPv6 Address.

Returns:

  • (String, nil)

    IPv4 or IPv6 Address



15
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 15

attribute :addr

#interfaceString

Returns Full name of interface, i.e. Ethernet1/1, vlan10.

Returns:

  • (String)

    Full name of interface, i.e. Ethernet1/1, vlan10



11
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 11

attribute :interface

#maskString?

Returns Subnet mask for IPv4 or IPv6 Address in decimal format.

Returns:

  • (String, nil)

    Subnet mask for IPv4 or IPv6 Address in decimal format



19
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 19

attribute :mask

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource



23
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 23

attribute :state