Return-Path: X-Original-To: apmail-libcloud-dev-archive@www.apache.org Delivered-To: apmail-libcloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 218E5F995 for ; Thu, 21 Mar 2013 19:19:17 +0000 (UTC) Received: (qmail 39834 invoked by uid 500); 21 Mar 2013 19:19:17 -0000 Delivered-To: apmail-libcloud-dev-archive@libcloud.apache.org Received: (qmail 39669 invoked by uid 500); 21 Mar 2013 19:19:16 -0000 Mailing-List: contact dev-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list dev@libcloud.apache.org Received: (qmail 39437 invoked by uid 99); 21 Mar 2013 19:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 19:19:16 +0000 Date: Thu, 21 Mar 2013 19:19:16 +0000 (UTC) From: "Chris Psaltis (JIRA)" To: dev@libcloud.apache.org Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Subject: [dev] [jira] [Commented] (LIBCLOUD-305) list_locations() for new Rackspace provider [ https://issues.apache.org/jira/browse/LIBCLOUD-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609333#comment-13609333 ] Chris Psaltis commented on LIBCLOUD-305: ---------------------------------------- I see it as a uniformity issue. For example in RACKSPACE_FIRST_GEN, LINODE and EC2 drivers you can always do list_locations() and get a meaningful answer, even if there is only one location as in the case of RACKSPACE_FIRST_GEN. In the RACKSPACE_NOVA_* drivers list_locations() gets you a NodeLocation object containing only the driver name which is common on all RACKSPACE_* drivers. It is true that RACKSPACE_NOVA_* drivers have only one location/datacenter, but wouldn't be useful to return it with list_locations() so the interface is the same in all cases? > list_locations() for new Rackspace provider > ------------------------------------------- > > Key: LIBCLOUD-305 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-305 > Project: Libcloud > Issue Type: Improvement > Components: Compute > Reporter: Chris Psaltis > Priority: Minor > Attachments: rackspace_list_locations.patch > > > For the RACKSPACE_FIRST_GEN it is already there. For RACKSPACE it returns an empty NodeLocation object. Will post a patch imitating what is already there really soon. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira