Class: Ansible::Ruby::Modules::Ovirt_nic
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_nic
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nics.rb
Overview
Module to manage network interfaces of Virtual Machines in oVirt/RHV.
Instance Method Summary collapse
-
#interface ⇒ String?
Type of the network interface.
-
#mac_address ⇒ String?
Custom MAC address of the network interface, by default it’s obtained from MAC pool.
-
#name ⇒ String
Name of the network interface to manage.
-
#network ⇒ String?
Logical network to which the VM network interface should use, by default Empty network is used if network is not specified.
-
#profile ⇒ String?
Virtual network interface profile to be attached to VM network interface.
-
#state ⇒ :absent, ...
Should the Virtual Machine NIC be present/absent/plugged/unplugged.
-
#template ⇒ String?
Name of the template to manage.,You must provide either C(vm) parameter or C(template) parameter.
-
#vm ⇒ String?
Name of the Virtual Machine to manage.,You must provide either C(vm) parameter or C(template) parameter.
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
#interface ⇒ String?
Returns Type of the network interface. For example e1000, pci_passthrough, rtl8139, rtl8139_virtio, spapr_vlan or virtio.,It’s required parameter when creating the new NIC.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 36 attribute :interface |
#mac_address ⇒ String?
Returns Custom MAC address of the network interface, by default it’s obtained from MAC pool.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 40 attribute :mac_address |
#name ⇒ String
Returns Name of the network interface to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 12 attribute :name |
#network ⇒ String?
Returns Logical network to which the VM network interface should use, by default Empty network is used if network is not specified.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 28 attribute :network |
#profile ⇒ String?
Returns Virtual network interface profile to be attached to VM network interface.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 32 attribute :profile |
#state ⇒ :absent, ...
Returns Should the Virtual Machine NIC be present/absent/plugged/unplugged.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 24 attribute :state |
#template ⇒ String?
Returns Name of the template to manage.,You must provide either C(vm) parameter or C(template) parameter.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 20 attribute :template |
#vm ⇒ String?
Returns Name of the Virtual Machine to manage.,You must provide either C(vm) parameter or C(template) parameter.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic.rb', line 16 attribute :vm |