Class: ConfigBuilder::Model::Provider::Libvirt

Inherits:
Base
  • Object
show all
Defined in:
lib/config_builder/model/provider/libvirt.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#eval_overrides, #to_proc

Methods inherited from Base

#attr, #attrs=, #call, #configure!, def_model_attribute, def_model_delegator, def_model_id, def_model_option, #eval_models, #instance_options, model_attributes, model_delegators, #model_delegators, model_options, new_from_hash, #to_proc, #with_attr

Instance Attribute Details

#connect_via_sshString

Returns If use ssh tunnel to connect to Libvirt.

Returns:

  • (String)

    If use ssh tunnel to connect to Libvirt.



18
# File 'lib/config_builder/model/provider/libvirt.rb', line 18

def_model_attribute :connect_via_ssh

#default_prefixString

name)

Returns:

  • (String)

    Default host prefix (alternative to use project folder



64
# File 'lib/config_builder/model/provider/libvirt.rb', line 64

def_model_attribute :default_prefix

#driverString

Returns A hypervisor name to access via Libvirt.

Returns:

  • (String)

    A hypervisor name to access via Libvirt.



10
# File 'lib/config_builder/model/provider/libvirt.rb', line 10

def_model_attribute :driver

#hostString

Returns The name of the server, where libvirtd is running.

Returns:

  • (String)

    The name of the server, where libvirtd is running.



14
# File 'lib/config_builder/model/provider/libvirt.rb', line 14

def_model_attribute :host

#id_ssh_key_fileString

Returns ID SSH key file.

Returns:

  • (String)

    ID SSH key file



34
# File 'lib/config_builder/model/provider/libvirt.rb', line 34

def_model_attribute :id_ssh_key_file

#management_network_addressString

Returns Libvirt default network address.

Returns:

  • (String)

    Libvirt default network address



51
# File 'lib/config_builder/model/provider/libvirt.rb', line 51

def_model_attribute :management_network_address

#management_network_macString

Returns:

  • (String)


59
# File 'lib/config_builder/model/provider/libvirt.rb', line 59

def_model_attribute :management_network_mac

#management_network_modeString

Returns:

  • (String)


55
# File 'lib/config_builder/model/provider/libvirt.rb', line 55

def_model_attribute :management_network_mode

#management_network_nameString

Returns Libvirt default network name.

Returns:

  • (String)

    Libvirt default network name



47
# File 'lib/config_builder/model/provider/libvirt.rb', line 47

def_model_attribute :management_network_name

#passwordString

Returns Password for Libvirt connection.

Returns:

  • (String)

    Password for Libvirt connection.



30
# File 'lib/config_builder/model/provider/libvirt.rb', line 30

def_model_attribute :password

#random_hostnameString

Returns Turn on to prevent hostname conflicts.

Returns:

  • (String)

    Turn on to prevent hostname conflicts



43
# File 'lib/config_builder/model/provider/libvirt.rb', line 43

def_model_attribute :random_hostname

#socketString

Returns Path towards the libvirt socket.

Returns:

  • (String)

    Path towards the libvirt socket



22
# File 'lib/config_builder/model/provider/libvirt.rb', line 22

def_model_attribute :socket

#storage_pool_nameString

snapshots will be stored.

Returns:

  • (String)

    Libvirt storage pool name, where box image and instance



39
# File 'lib/config_builder/model/provider/libvirt.rb', line 39

def_model_attribute :storage_pool_name

#uriString

Returns Manually specify URI.

Returns:

  • (String)

    Manually specify URI



6
# File 'lib/config_builder/model/provider/libvirt.rb', line 6

def_model_attribute :uri

#usernameString

Returns The username to access Libvirt.

Returns:

  • (String)

    The username to access Libvirt.



26
# File 'lib/config_builder/model/provider/libvirt.rb', line 26

def_model_attribute :username

Instance Method Details

#instance_idObject



97
98
99
# File 'lib/config_builder/model/provider/libvirt.rb', line 97

def instance_id
  'libvirt'
end