Class: ConfigBuilder::Model::Provider::Libvirt
- Defined in:
- lib/config_builder/model/provider/libvirt.rb
Overview
Instance Attribute Summary collapse
-
#connect_via_ssh ⇒ String
If use ssh tunnel to connect to Libvirt.
-
#default_prefix ⇒ String
name).
-
#driver ⇒ String
A hypervisor name to access via Libvirt.
-
#host ⇒ String
The name of the server, where libvirtd is running.
-
#id_ssh_key_file ⇒ String
ID SSH key file.
-
#management_network_address ⇒ String
Libvirt default network address.
- #management_network_mac ⇒ String
- #management_network_mode ⇒ String
-
#management_network_name ⇒ String
Libvirt default network name.
-
#password ⇒ String
Password for Libvirt connection.
-
#random_hostname ⇒ String
Turn on to prevent hostname conflicts.
-
#socket ⇒ String
Path towards the libvirt socket.
-
#storage_pool_name ⇒ String
snapshots will be stored.
-
#uri ⇒ String
Manually specify URI.
-
#username ⇒ String
The username to access Libvirt.
Instance Method Summary collapse
Methods inherited from Base
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_ssh ⇒ String
Returns 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_prefix ⇒ String
name)
64 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 64 def_model_attribute :default_prefix |
#driver ⇒ String
Returns A hypervisor name to access via Libvirt.
10 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 10 def_model_attribute :driver |
#host ⇒ String
Returns 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_file ⇒ String
Returns ID SSH key file.
34 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 34 def_model_attribute :id_ssh_key_file |
#management_network_address ⇒ String
Returns Libvirt default network address.
51 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 51 def_model_attribute :management_network_address |
#management_network_mac ⇒ String
59 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 59 def_model_attribute :management_network_mac |
#management_network_mode ⇒ String
55 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 55 def_model_attribute :management_network_mode |
#management_network_name ⇒ String
Returns Libvirt default network name.
47 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 47 def_model_attribute :management_network_name |
#password ⇒ String
Returns Password for Libvirt connection.
30 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 30 def_model_attribute :password |
#random_hostname ⇒ String
Returns Turn on to prevent hostname conflicts.
43 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 43 def_model_attribute :random_hostname |
#socket ⇒ String
Returns Path towards the libvirt socket.
22 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 22 def_model_attribute :socket |
#storage_pool_name ⇒ String
snapshots will be stored.
39 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 39 def_model_attribute :storage_pool_name |
#uri ⇒ String
Returns Manually specify URI.
6 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 6 def_model_attribute :uri |
#username ⇒ String
Returns The username to access Libvirt.
26 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 26 def_model_attribute :username |
Instance Method Details
#instance_id ⇒ Object
97 98 99 |
# File 'lib/config_builder/model/provider/libvirt.rb', line 97 def instance_id 'libvirt' end |