Class: Ansible::Ruby::Modules::Nxos_ip_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_ip_interface
- 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
-
#addr ⇒ String?
IPv4 or IPv6 Address.
-
#allow_secondary ⇒ :yes, ...
Allow to configure IPv4 secondary addresses on interface.
-
#dot1q ⇒ Integer?
Configures IEEE 802.1Q VLAN encapsulation on the subinterface.
-
#interface ⇒ String
Full name of interface, i.e.
-
#mask ⇒ Integer?
Subnet mask for IPv4 or IPv6 Address in decimal format.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#tag ⇒ Integer?
Route tag for IPv4 or IPv6 Address in integer format.
-
#version ⇒ :v4, ...
Version of IP address.
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
#addr ⇒ String?
Returns 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.
36 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ip_interface.rb', line 36 attribute :allow_secondary |
#dot1q ⇒ Integer?
Returns 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 |
#interface ⇒ String
Returns 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 |
#mask ⇒ Integer?
Returns 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.
40 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ip_interface.rb', line 40 attribute :state |
#tag ⇒ Integer?
Returns 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.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ip_interface.rb', line 20 attribute :version |