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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.



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

attribute :addr

#allow_secondary:yes, ...

Returns Allow to configure IPv4 secondary addresses on interface.

Returns:

  • (:yes, :no, nil)

    Allow to configure IPv4 secondary addresses on interface.



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

attribute :allow_secondary

#dot1qInteger?

Returns Configures IEEE 802.1Q VLAN encapsulation on the subinterface. The range is from 2 to 4093.

Returns:

  • (Integer, nil)

    Configures IEEE 802.1Q VLAN encapsulation on the subinterface. The range is from 2 to 4093.



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

attribute :dot1q

#interfaceString

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

Returns:

  • (String)

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



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

attribute :interface

#maskInteger?

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

Returns:

  • (Integer, nil)

    Subnet mask for IPv4 or IPv6 Address in decimal format.



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

attribute :mask

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



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

attribute :state

#tagInteger?

Returns Route tag for IPv4 or IPv6 Address in integer format.

Returns:

  • (Integer, nil)

    Route tag for IPv4 or IPv6 Address in integer format.



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

attribute :tag

#version:v4, ...

Returns Version of IP address. If the IP address is IPV4 version should be v4. If the IP address is IPV6 version should be v6.

Returns:

  • (:v4, :v6, nil)

    Version of IP address. If the IP address is IPV4 version should be v4. If the IP address is IPV6 version should be v6.



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

attribute :version