Sha256: 8f5d0cd7b37ea51ada2d24652b78a87dbfbaf5640e5ce7274fabdf3bf9c85e92

Contents?: true

Size: 2 KB

Versions: 3

Compression:

Stored size: 2 KB

Contents

# @see https://github.com/ggiamarchi/vagrant-openstack-provider
class ConfigBuilder::Model::Provider::Openstack < ConfigBuilder::Model::Provider::Base

  # Credentials
  def_model_attribute :username
  def_model_attribute :password
  def_model_attribute :tenant_name
  def_model_attribute :region
  def_model_attribute :openstack_auth_url
  def_model_attribute :openstack_compute_url
  def_model_attribute :openstack_network_url
  def_model_attribute :openstack_volume_url
  def_model_attribute :openstack_image_url
  def_model_attribute :openstack_orchestration_url
  def_model_attribute :endpoint_type

  # VM Configuration
  def_model_attribute :server_name
  def_model_attribute :flavor
  def_model_attribute :image
  def_model_attribute :availability_zone
  def_model_attribute :security_groups
  def_model_attribute :user_data
  def_model_attribute :metadata
  def_model_attribute :scheduler_hints

  # Floating IPs
  def_model_attribute :floating_ip
  def_model_attribute :floating_ip_pool
  def_model_attribute :floating_ip_pool_always_allocate

  # Networks
  def_model_attribute :networks

  # Volumes
  def_model_attribute :volumes
  def_model_attribute :volume_boot

  # Orchestration Stacks
  def_model_attribute :stacks
  def_model_attribute :stack_create_timeout
  def_model_attribute :stack_delete_timeout

  # SSH authentication
  def_model_attribute :keypair_name
  def_model_attribute :public_key_path
  def_model_attribute :ssh_username
  def_model_attribute :ssh_disabled
  def_model_attribute :ssh_timeout

  # Synced folders
  def_model_attribute :sync_method
  def_model_attribute :rsync_includes
  def_model_attribute :rsync_ignore_files

  # Timeouts
  def_model_attribute :server_create_timeout
  def_model_attribute :server_active_timeout
  def_model_attribute :server_stop_timeout
  def_model_attribute :server_delete_timeout
  def_model_attribute :http_open_timeout
  def_model_attribute :http_read_timeout

  def instance_id
    'openstack'
  end

  ConfigBuilder::Model::Provider.register('openstack', self)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-config_builder-1.1.0 lib/config_builder/model/provider/openstack.rb
vagrant-config_builder-1.0.0 lib/config_builder/model/provider/openstack.rb
vagrant-config_builder-1.0.0.rc1 lib/config_builder/model/provider/openstack.rb