lib/openstack/compute/server.rb in openstack-3.3.7 vs lib/openstack/compute/server.rb in openstack-3.3.8

- old
+ new

@@ -5,10 +5,11 @@ require 'openstack/compute/metadata' attr_reader :id attr_reader :name attr_reader :libvirt_id + attr_reader :fault attr_reader :status attr_reader :progress attr_reader :accessipv4 attr_reader :accessipv6 attr_reader :addresses @@ -57,9 +58,10 @@ data = JSON.parse(response.body)["server"] end @id = data["id"] || data["uuid"] @name = data["name"] @libvirt_id = data["OS-EXT-SRV-ATTR:instance_name"] + @fault = data["fault"] @status = data["status"] @progress = data["progress"] @addresses = get_addresses(data["addresses"]) @metadata = OpenStack::Compute::Metadata.new(@compute, path, data["metadata"]) @hostId = data["hostId"]