Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1678974A for ; Mon, 14 Nov 2011 15:08:59 +0000 (UTC) Received: (qmail 68322 invoked by uid 500); 14 Nov 2011 15:08:59 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 68300 invoked by uid 500); 14 Nov 2011 15:08:58 -0000 Mailing-List: contact deltacloud-dev-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-dev@incubator.apache.org Received: (qmail 68287 invoked by uid 99); 14 Nov 2011 15:08:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 15:08:58 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mfojtik@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 15:08:52 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAEF8VuC032043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 14 Nov 2011 10:08:31 -0500 Received: from dhcp-29-121.brq.redhat.com (dhcp-29-121.brq.redhat.com [10.34.29.121]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pAEF8Tcr026405 for ; Mon, 14 Nov 2011 10:08:30 -0500 From: mfojtik@redhat.com To: deltacloud-dev@incubator.apache.org Subject: More CIMI models Date: Mon, 14 Nov 2011 16:09:26 +0100 Message-Id: <1321283371-2298-1-git-send-email-mfojtik@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Hi, This patches should add MachineImage and MachineConfiguration to new CIMI object model. There are few 'todo' items: 1. The '.properties/.property' is not correctly parsed when importing from JSON 2. In CIMI specification there is no indication about how property value should be stored. I assume that there will be a key called 'value' in JSON hash 3. The 'memory' property is reported as Array in XML and as single item in JSON Also one issue which I didn't get: class MachineImage scalar :image_location end img.image_location[0]['href'].should == 'nfs://cimi.example.com/images/1.img' Is 'scalar' automatically being converted to an Array? Thanks, -- Michal