Class/Module Index [+]

Quicksearch

Fog::Ecloud::MockDataClasses::MockVdc

Public Instance Methods

catalog() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 253
def catalog
  @catalog ||= MockCatalog.new({}, self)
end
cpu_allocated() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 245
def cpu_allocated
  self[:cpu_allocated] || 10000
end
firewall_acls() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 278
def firewall_acls
  @firewall_acls ||= MockFirewallAcls.new({}, self)
end
internet_service_collection() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 274
def internet_service_collection
  @internet_service_collection ||= MockVdcInternetServices.new({}, self)
end
memory_allocated() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 249
def memory_allocated
  self[:memory_allocated] || 20480
end
name() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 233
def name
  self[:name]
end
networks() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 257
def networks
  @networks ||= []
end
public_ip_collection() click to toggle source

for TM eCloud, should probably be subclassed

# File lib/fog/ecloud/mock_data_classes.rb, line 270
def public_ip_collection
  @public_ip_collection ||= MockPublicIps.new({}, self)
end
storage_allocated() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 237
def storage_allocated
  self[:storage_allocated] || 200
end
storage_used() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 241
def storage_used
  self[:storage_used] || 105
end
task_list() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 265
def task_list
  @task_list ||= MockTaskList.new({}, self)
end
virtual_machines() click to toggle source
# File lib/fog/ecloud/mock_data_classes.rb, line 261
def virtual_machines
  @virtual_machines ||= []
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.