Sha256: 1fa54549b6701df0e11eb3513b1c854e27652e53bb0f75e335069fe4e77e02c3
Contents?: true
Size: 1.59 KB
Versions: 3
Compression:
Stored size: 1.59 KB
Contents
!!! XML %instance{:href => instance_url(@instance.id), :id => @instance.id} %name< =@instance.name %owner_id< =@instance.owner_id %image{:href => image_url(@instance.image_id), :id => @instance.image_id } %realm{:href => realm_url(@instance.realm_id), :id => @instance.realm_id } %state< =@instance.state - haml_tag :"hardware_profile", {:id => @instance.instance_profile.id, :href => hardware_profile_url(@instance.instance_profile.id)} do - @instance.instance_profile.overrides.each do |p, v| %property{:kind => 'fixed', :name => p, :value => v, :unit => Deltacloud::HardwareProfile::unit(p)} %actions - @instance.actions.compact.each do |instance_action| %link{:rel => instance_action, :method => instance_action_method(instance_action), :href => self.send("#{instance_action}_instance_url", @instance.id)} - if @instance.instance_variables.include?("@launch_time") %launch_time< =@instance.launch_time %public_addresses - @instance.public_addresses.each do |address| %address< =address %private_addresses - @instance.private_addresses.each do |address| %address< =address - if driver_has_auth_features? %authentication{ :type => driver_auth_feature_name } - if @instance.authn_feature_failed? %error #{@instance.authn_error} - else - if driver_auth_feature_name == 'password' %login %username #{@instance.username} %password #{@instance.password} - if driver_auth_feature_name == 'key' %login %keyname #{@instance.keyname}
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
deltacloud-core-0.0.4 | views/instances/show.xml.haml |
bbrowning-deltacloud-core-0.0.3.1 | views/instances/show.xml.haml |
deltacloud-core-0.0.3 | views/instances/show.xml.haml |