Module: VagrantPlugins::Openstack
- Defined in:
- lib/vagrant-openstack-provider.rb,
lib/vagrant-openstack-provider/utils.rb,
lib/vagrant-openstack-provider/action.rb,
lib/vagrant-openstack-provider/config.rb,
lib/vagrant-openstack-provider/errors.rb,
lib/vagrant-openstack-provider/plugin.rb,
lib/vagrant-openstack-provider/logging.rb,
lib/vagrant-openstack-provider/version.rb,
lib/vagrant-openstack-provider/provider.rb,
lib/vagrant-openstack-provider/client/heat.rb,
lib/vagrant-openstack-provider/client/nova.rb,
lib/vagrant-openstack-provider/command/main.rb,
lib/vagrant-openstack-provider/action/resume.rb,
lib/vagrant-openstack-provider/client/cinder.rb,
lib/vagrant-openstack-provider/client/domain.rb,
lib/vagrant-openstack-provider/client/glance.rb,
lib/vagrant-openstack-provider/command/reset.rb,
lib/vagrant-openstack-provider/command/utils.rb,
lib/vagrant-openstack-provider/action/message.rb,
lib/vagrant-openstack-provider/action/suspend.rb,
lib/vagrant-openstack-provider/client/neutron.rb,
lib/vagrant-openstack-provider/client/keystone.rb,
lib/vagrant-openstack-provider/config_resolver.rb,
lib/vagrant-openstack-provider/action/wait_stop.rb,
lib/vagrant-openstack-provider/client/openstack.rb,
lib/vagrant-openstack-provider/action/read_state.rb,
lib/vagrant-openstack-provider/client/http_utils.rb,
lib/vagrant-openstack-provider/action/stop_server.rb,
lib/vagrant-openstack-provider/action/wait_active.rb,
lib/vagrant-openstack-provider/command/image_list.rb,
lib/vagrant-openstack-provider/action/create_stack.rb,
lib/vagrant-openstack-provider/action/delete_stack.rb,
lib/vagrant-openstack-provider/action/start_server.rb,
lib/vagrant-openstack-provider/action/sync_folders.rb,
lib/vagrant-openstack-provider/command/flavor_list.rb,
lib/vagrant-openstack-provider/command/subnet_list.rb,
lib/vagrant-openstack-provider/command/volume_list.rb,
lib/vagrant-openstack-provider/action/create_server.rb,
lib/vagrant-openstack-provider/action/delete_server.rb,
lib/vagrant-openstack-provider/action/read_ssh_info.rb,
lib/vagrant-openstack-provider/command/network_list.rb,
lib/vagrant-openstack-provider/client/request_logger.rb,
lib/vagrant-openstack-provider/action/abstract_action.rb,
lib/vagrant-openstack-provider/action/wait_accessible.rb,
lib/vagrant-openstack-provider/command/floatingip_list.rb,
lib/vagrant-openstack-provider/action/connect_openstack.rb,
lib/vagrant-openstack-provider/command/abstract_command.rb,
lib/vagrant-openstack-provider/catalog/openstack_catalog.rb
Defined Under Namespace
Modules: Action, Catalog, Command, Domain, Errors, HttpUtils, Logging
Classes: CinderClient, Config, ConfigResolver, GlanceClient, HeatClient, KeystoneClient, NeutronClient, NovaClient, Plugin, Provider, Session, Utils
Constant Summary
collapse
- VERSION =
'0.6.0'
Class Method Summary
collapse
Class Method Details
.cinder ⇒ Object
52
53
54
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 52
def self.cinder
Openstack::CinderClient.instance
end
|
.glance ⇒ Object
56
57
58
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 56
def self.glance
Openstack::GlanceClient.instance
end
|
.heat ⇒ Object
44
45
46
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 44
def self.heat
Openstack::HeatClient.instance
end
|
.init_i18n ⇒ Object
This initializes the i18n load path so that the plugin-specific translations work.
13
14
15
16
|
# File 'lib/vagrant-openstack-provider.rb', line 13
def self.init_i18n
I18n.load_path << File.expand_path('locales/en.yml', source_root)
I18n.reload!
end
|
.init_logging ⇒ Object
18
19
20
|
# File 'lib/vagrant-openstack-provider.rb', line 18
def self.init_logging
Logging.init
end
|
.keystone ⇒ Object
36
37
38
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 36
def self.keystone
Openstack::KeystoneClient.instance
end
|
.neutron ⇒ Object
48
49
50
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 48
def self.neutron
Openstack::NeutronClient.instance
end
|
.nova ⇒ Object
40
41
42
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 40
def self.nova
Openstack::NovaClient.instance
end
|
.session ⇒ Object
32
33
34
|
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 32
def self.session
Session.instance
end
|
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
25
26
27
|
# File 'lib/vagrant-openstack-provider.rb', line 25
def self.source_root
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end
|