Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52BE2C720 for ; Wed, 11 Jul 2012 18:40:11 +0000 (UTC) Received: (qmail 94742 invoked by uid 500); 11 Jul 2012 18:40:11 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 94720 invoked by uid 500); 11 Jul 2012 18:40:11 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 94711 invoked by uid 99); 11 Jul 2012 18:40:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 18:40:11 +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 (nike.apache.org: domain of Ahmad.Emneina@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 18:40:05 +0000 X-IronPort-AV: E=Sophos;i="4.77,569,1336363200"; d="scan'208";a="31165496" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/RC4-MD5; 11 Jul 2012 14:39:43 -0400 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Wed, 11 Jul 2012 11:39:42 -0700 From: Ahmad Emneina To: "cloudstack-users@incubator.apache.org" Date: Wed, 11 Jul 2012 11:39:47 -0700 Subject: Re: Template Distribution Thread-Topic: Template Distribution Thread-Index: Ac1flIlSTpslEtQgRy6VPegRicOIwg== Message-ID: In-Reply-To: <81A73678E76EA642801C8F2E4823AD21DAA0CBD7D4@LONPMAILBOX01.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.0.0.100825 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On 7/11/12 6:02 AM, "Donal Lafferty" wrote: >Does anyone have experience using the "details" optional parameter of >RegisterTemplate? I'm wondering what the limits are to the 'Details' >optional field. >The background is that I've run into a couple of instances where people >want to spin up VMs in CloudStack from a template that does not change >from CloudStack to CloudStack. E.g the VM is either their product, or a >cloud-based VM that the product relies on. Unfortunately, template Ids >vary from CloudStack to CloudStack even when the image is the same. >However, the RegisterTemplate API call allows templates to be tagged with >additional details. I'd like to use these as the means of discovering >the template, but there does not seem much detail on how the field works. > >Can anyone give me quick example of how to add key/value pairs to the >details parameter? (Knowing the field size limits would be useful as >well) > > I've seen users standardize on names and deploy based on that. Outside logic will poll for templates, match on name, then deploy using the id associated with the name. --=20 =C6