Class: Ansible::Ruby::Modules::Ovirt_network

Inherits:
Base show all
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

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

#clustersObject?

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.

Returns:

  • (Object, nil)

    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

#commentObject?

Returns Comment of the network.

Returns:

  • (Object, nil)

    Comment of the network.



27
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 27

attribute :comment

#data_centerString?

Returns Datacenter name where network reside.

Returns:

  • (String, nil)

    Datacenter name where network reside.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 20

attribute :data_center

#descriptionObject?

Returns Description of the network.

Returns:

  • (Object, nil)

    Description of the network.



24
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 24

attribute :description

#labelObject?

Returns Name of the label to assign to the network.

Returns:

  • (Object, nil)

    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

#mtuObject?

Returns Maximum transmission unit (MTU) of the network.

Returns:

  • (Object, nil)

    Maximum transmission unit (MTU) of the network.



38
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 38

attribute :mtu

#nameString

Returns Name of the network to manage.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    Should the network be present or absent



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 16

attribute :state

#vlan_tagInteger?

Returns Specify VLAN tag.

Returns:

  • (Integer, nil)

    Specify VLAN tag.



30
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_network.rb', line 30

attribute :vlan_tag

#vm_networkSymbol?

Returns If I(True) network will be marked as network for VM.,VM network carries traffic relevant to the virtual machine.

Returns:

  • (Symbol, nil)

    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