Class: Ansible::Ruby::Modules::Dladm_vnic
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Dladm_vnic
- Defined in:
- lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb
Overview
Create or delete VNICs on Solaris/illumos systems.
Instance Method Summary collapse
-
#link ⇒ String
VNIC underlying link name.
-
#mac ⇒ Boolean?
Sets the VNIC’s MAC address.
-
#name ⇒ String
VNIC name.
-
#state ⇒ :present, ...
Create or delete Solaris/illumos VNIC.
-
#temporary ⇒ Symbol?
Specifies that the VNIC is temporary.
-
#vlan ⇒ Boolean?
Enable VLAN tagging for this VNIC.
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
#link ⇒ String
Returns VNIC underlying link name.
16 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 16 attribute :link |
#mac ⇒ Boolean?
Returns Sets the VNIC’s MAC address. Must be valid unicast MAC address.
24 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 24 attribute :mac |
#name ⇒ String
Returns VNIC name.
12 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Create or delete Solaris/illumos VNIC.
32 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 32 attribute :state |
#temporary ⇒ Symbol?
Returns Specifies that the VNIC is temporary. Temporary VNICs do not persist across reboots.
20 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 20 attribute :temporary |
#vlan ⇒ Boolean?
Returns Enable VLAN tagging for this VNIC. The VLAN tag will have id I(vlan).
28 |
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vnic.rb', line 28 attribute :vlan |