Class VagrantPlugins::ProviderLibvirt::Provider
In: lib/vagrant-libvirt/provider.rb
Parent: Vagrant.plugin('2', :provider)

This is the base class for a provider for the V2 API. A provider is responsible for creating compute resources to match the needs of a Vagrant-configured system.

Methods

Public Class methods

Public Instance methods

This should return an action callable for the given name.

This method is called if the underying machine ID changes. Providers can use this method to load in new data for the actual backing machine or to realize that the machine is now gone (the ID can become `nil`).

This should return a hash of information that explains how to SSH into the machine. If the machine is not at a point where SSH is even possible, then `nil` should be returned.

This should return the state of the machine within this provider. The state must be an instance of {MachineState}.

[Validate]