Module: Vagrant::Smartos::Zones::Action

Defined in:
lib/vagrant/smartos/zones/action.rb,
lib/vagrant/smartos/zones/action/helper.rb,
lib/vagrant/smartos/zones/action/zone/stop.rb,
lib/vagrant/smartos/zones/action/zone/start.rb,
lib/vagrant/smartos/zones/action/zone/create.rb,
lib/vagrant/smartos/zones/action/imgadm_import.rb,
lib/vagrant/smartos/zones/action/create_gz_vnic.rb,
lib/vagrant/smartos/zones/action/forward_gz_ports.rb,
lib/vagrant/smartos/zones/action/zone_gate/enable.rb,
lib/vagrant/smartos/zones/action/zone_gate/install.rb,
lib/vagrant/smartos/zones/action/virtualbox/platform_iso.rb,
lib/vagrant/smartos/zones/action/configure_zone_synced_folders.rb

Defined Under Namespace

Modules: Helper, VirtualBox, Zone, ZoneGate Classes: ConfigureZoneSyncedFolders, CreateGZVnic, ForwardGZPorts, ImgadmImport

Class Method Summary collapse

Class Method Details

.configure_zone_synced_foldersObject



17
18
19
20
21
# File 'lib/vagrant/smartos/zones/action.rb', line 17

def configure_zone_synced_folders
  @configure_zone_synced_folders ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::ConfigureZoneSyncedFolders
  end
end

.create_gz_vnicObject



23
24
25
26
27
# File 'lib/vagrant/smartos/zones/action.rb', line 23

def create_gz_vnic
  @configure_zone_synced_folders ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::CreateGZVnic
  end
end

.enable_zone_gateObject



29
30
31
32
33
# File 'lib/vagrant/smartos/zones/action.rb', line 29

def enable_zone_gate
  @enable_zone_gate ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::ZoneGate::Enable
  end
end

.forward_gz_portsObject



35
36
37
38
39
# File 'lib/vagrant/smartos/zones/action.rb', line 35

def forward_gz_ports
  @forward_gz_ports ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::ForwardGZPorts
  end
end

.install_zone_gateObject



41
42
43
44
45
# File 'lib/vagrant/smartos/zones/action.rb', line 41

def install_zone_gate
  @install_zone_gate ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::ZoneGate::Install
  end
end

.virtualbox_platform_isoObject



47
48
49
50
51
# File 'lib/vagrant/smartos/zones/action.rb', line 47

def virtualbox_platform_iso
  @virtualbox_platform_iso ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::VirtualBox::PlatformISO
  end
end

.zone_createObject



53
54
55
56
57
58
# File 'lib/vagrant/smartos/zones/action.rb', line 53

def zone_create
  @zone_create ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::Zone::Create
    b.use Vagrant::Smartos::Zones::Action::ImgadmImport
  end
end

.zone_startObject



60
61
62
63
64
# File 'lib/vagrant/smartos/zones/action.rb', line 60

def zone_start
  @zone_start ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::Zone::Start
  end
end

.zone_stopObject



66
67
68
69
70
# File 'lib/vagrant/smartos/zones/action.rb', line 66

def zone_stop
  @zone_stop ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use Vagrant::Smartos::Zones::Action::Zone::Stop
  end
end