/**
	 * @return
	 */
	function getImages() {
		$this->images = array();
		$images = $this->novaConnection->describe_images();
		$images = $images->body->imagesSet->item;
		foreach ( $images as $image ) {
			$image = new OpenStackNovaImage( $image );
			$imageId = $image->getImageId();
			$this->images["$imageId"] = $image;
		}
		return $this->images;
	}
 /**
  * @return array
  */
 function getImages()
 {
     $ret = $this->restCall('compute', '/images/detail', 'GET');
     $imagesarr = array();
     $images = self::_get_property($ret['body'], 'images');
     if (!$images) {
         return $imagesarr;
     }
     foreach ($images as $image) {
         $image = new OpenStackNovaImage($image);
         $imageId = $image->getImageId();
         $imagesarr[$imageId] = $image;
     }
     return $imagesarr;
 }