Class: Ansible::Ruby::Modules::Ovirt_network
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_network
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_networks.rb
Overview
Module to manage logical networks in oVirt/RHV
Instance Method Summary collapse
-
#clusters ⇒ Object?
List of dictionaries describing how the network is managed in specific cluster.,C(name) - Cluster name.,C(assigned) - I(true) if the network should be assigned to cluster.
-
#comment ⇒ Object?
Comment of the network.
-
#data_center ⇒ String?
Datacenter name where network reside.
-
#description ⇒ Object?
Description of the network.
-
#label ⇒ Object?
Name of the label to assign to the network.
-
#mtu ⇒ Object?
Maximum transmission unit (MTU) of the network.
-
#name ⇒ String
Name of the network to manage.
-
#state ⇒ :present, ...
Should the network be present or absent.
-
#vlan_tag ⇒ Integer?
Specify VLAN tag.
-
#vm_network ⇒ Symbol?
If I(True) network will be marked as network for VM.,VM network carries traffic relevant to the virtual machine.
Methods inherited from Base
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
#clusters ⇒ Object?
Returns List of dictionaries describing how the network is managed in specific cluster.,C(name) - Cluster name.,C(assigned) - I(true) if the network should be assigned to cluster. Default is I(true).,C(required) - I(true) if the network must remain operational for all hosts associated with this network.,C(display) - I(true) if the network should marked as display network.,C(migration) - I(true) if the network should marked as migration network.,C(gluster) - I(true) if the network should marked as gluster network.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 41 attribute :clusters |
#comment ⇒ Object?
Returns Comment of the network.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 27 attribute :comment |
#data_center ⇒ String?
Returns Datacenter name where network reside.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 20 attribute :data_center |
#description ⇒ Object?
Returns Description of the network.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 24 attribute :description |
#label ⇒ Object?
Returns Name of the label to assign to the network.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 44 attribute :label |
#mtu ⇒ Object?
Returns Maximum transmission unit (MTU) of the network.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 38 attribute :mtu |
#name ⇒ String
Returns Name of the network to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Should the network be present or absent.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 16 attribute :state |
#vlan_tag ⇒ Integer?
Returns Specify VLAN tag.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 30 attribute :vlan_tag |
#vm_network ⇒ Symbol?
Returns If I(True) network will be marked as network for VM.,VM network carries traffic relevant to the virtual machine.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 34 attribute :vm_network |