Return-Path: Delivered-To: apmail-incubator-deltacloud-commits-archive@minotaur.apache.org Received: (qmail 3117 invoked from network); 19 Jan 2011 00:35:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 00:35:32 -0000 Received: (qmail 86577 invoked by uid 500); 19 Jan 2011 00:35:32 -0000 Delivered-To: apmail-incubator-deltacloud-commits-archive@incubator.apache.org Received: (qmail 86553 invoked by uid 500); 19 Jan 2011 00:35:32 -0000 Mailing-List: contact deltacloud-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-commits@incubator.apache.org Received: (qmail 86546 invoked by uid 99); 19 Jan 2011 00:35:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 00:35:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 00:35:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 433782388900; Wed, 19 Jan 2011 00:35:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1060636 - /incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml Date: Wed, 19 Jan 2011 00:35:09 -0000 To: deltacloud-commits@incubator.apache.org From: lutter@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110119003509.433782388900@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lutter Date: Wed Jan 19 00:35:08 2011 New Revision: 1060636 URL: http://svn.apache.org/viewvc?rev=1060636&view=rev Log: Include storage volume realm and state in xml output. The realm_id and state were in the view before, but we lost them with the RHEV-M patches. Modified: incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml Modified: incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml?rev=1060636&r1=1060635&r2=1060636&view=diff ============================================================================== --- incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml (original) +++ incubator/deltacloud/trunk/server/views/storage_volumes/show.xml.haml Wed Jan 19 00:35:08 2011 @@ -15,6 +15,13 @@ - if @storage_volume.device %device = @storage_volume.device + - if @storage_volume.realm_id + %realm_id< + = @storage_volume.realm_id + - if @storage_volume.state + %state< + = @storage_volume.state + - unless @storage_volume.instance_id.nil? %mount %instance{:href => @storage_volume.instance_id, :id => @storage_volume.instance_id}