Module: VagrantPlugins::OVirtProvider
- Defined in:
- lib/vagrant-ovirt.rb,
lib/vagrant-ovirt/util.rb,
lib/vagrant-ovirt/action.rb,
lib/vagrant-ovirt/config.rb,
lib/vagrant-ovirt/errors.rb,
lib/vagrant-ovirt/plugin.rb,
lib/vagrant-ovirt/version.rb,
lib/vagrant-ovirt/provider.rb,
lib/vagrant-ovirt/util/timer.rb,
lib/vagrant-ovirt/action/start_vm.rb,
lib/vagrant-ovirt/util/collection.rb,
lib/vagrant-ovirt/action/create_vm.rb,
lib/vagrant-ovirt/action/destroy_vm.rb,
lib/vagrant-ovirt/action/is_created.rb,
lib/vagrant-ovirt/action/read_state.rb,
lib/vagrant-ovirt/action/sync_folders.rb,
lib/vagrant-ovirt/action/wait_till_up.rb,
lib/vagrant-ovirt/action/connect_ovirt.rb,
lib/vagrant-ovirt/action/read_ssh_info.rb,
lib/vagrant-ovirt/action/timed_provision.rb,
lib/vagrant-ovirt/action/set_name_of_domain.rb,
lib/vagrant-ovirt/action/message_not_created.rb,
lib/vagrant-ovirt/action/message_already_created.rb,
lib/vagrant-ovirt/action/create_network_interfaces.rb
Defined Under Namespace
Modules: Action, Errors, Util
Classes: Config, Plugin, Provider
Constant Summary
collapse
- VERSION =
'0.0.2'
- @@ovirt_connection =
Hold connection handler so there is no need to connect more times than one. This can be annoying when there are more machines to create, or when doing state action first and then some other.
TODO Don’t sure if this is the best solution
nil
- @@ovirt_client =
nil
Class Method Summary
collapse
Class Method Details
.ovirt_client ⇒ Object
26
27
28
|
# File 'lib/vagrant-ovirt.rb', line 26
def self.ovirt_client
@@ovirt_client
end
|
.ovirt_client=(conn) ⇒ Object
30
31
32
|
# File 'lib/vagrant-ovirt.rb', line 30
def self.ovirt_client=(conn)
@@ovirt_client = conn
end
|
.ovirt_connection ⇒ Object
18
19
20
|
# File 'lib/vagrant-ovirt.rb', line 18
def self.ovirt_connection
@@ovirt_connection
end
|
.ovirt_connection=(conn) ⇒ Object
22
23
24
|
# File 'lib/vagrant-ovirt.rb', line 22
def self.ovirt_connection=(conn)
@@ovirt_connection = conn
end
|
.source_root ⇒ Object
35
36
37
|
# File 'lib/vagrant-ovirt.rb', line 35
def self.source_root
@source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end
|