On 04/01/2014 07:36 AM, Yaguang Tang wrote:
Thanks Jamie,

then the following question is do we intend to move other services client library V3 identity support to python-openstackclient? AFAIK it's poorly supported for Nova Cinder Neutron client library, and I am working on add v3 support for those libraries[1], just
want to make sure that is the correct direction.

[1] https://review.openstack.org/#/c/81749/
https://review.openstack.org/#/c/81767/


Sort of. The Keystone client should be responsible for all fo the service catalog manipulations throughout openstack. So the Cinder client should use the Keystone client.

To see the idea, read Jamie's blog post:

http://www.jamielennox.net/blog/2014/02/24/client-session-objects/

The main idea is that Keystone will handle the HTTP session setup, so that we have a single place to focus attention on for HTTP network security issues. And you should not need to parse the service catalog at all.







2014-04-01 12:08 GMT+08:00 Jamie Lennox <jamielen...@redhat.com <mailto:jamielen...@redhat.com>>:

    On Tue, 2014-04-01 at 11:53 +0800, Yaguang Tang wrote:
    > Hi all,
    >
    >
    > I am sorry if this has been discussed before, the question is
    will we
    > support keystone v3 operation
    > in python-keystoneclient? I know most of the v3 functionality have
    > been implemented in python-openstackclient, but from the
    > python-openstackclient wiki says, it's primarily a wrapper of
    > python-*client, and provides unified interface to user. The end user
    > uses python-keystoneclient to manage
    > user, tenant, service before, if we don't intend to support v3
    > functionality in keystoneclient, then
    > it means we force end user to change from keystoneclient to
    > openstackclient, is this what we want to
    > do?
    >

    It depends what you mean by python-keystoneclient.

    If you mean the python library then yes it supports the V3 API
    already.

    If you mean the keystone CLI that is currently bundled as part of the
    python-keystoneclient then yes that is deprecated in favour of
    python-openstackclient.

    We will maintain the CLI application in keystoneclient however
    even for
    V2 API calls I recommend that you use the openstack CLI tool.

    Jamie

    >
    > --
    > Tang Yaguang
    >
    >
    > Canonical Ltd. | www.ubuntu.com <http://www.ubuntu.com> |
    www.canonical.com <http://www.canonical.com>
    > Mobile: +86 152 1094 6968 <tel:%2B86%20152%201094%206968>
    > gpg key: 0x187F664F
    >
    > _______________________________________________
    > OpenStack-dev mailing list
    > OpenStack-dev@lists.openstack.org
    <mailto:OpenStack-dev@lists.openstack.org>
    > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




    _______________________________________________
    OpenStack-dev mailing list
    OpenStack-dev@lists.openstack.org
    <mailto:OpenStack-dev@lists.openstack.org>
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




--
Tang Yaguang

Canonical Ltd. | www.ubuntu.com <http://www.ubuntu.com/> | www.canonical.com <http://www.canonical.com/>
Mobile:  +86 152 1094 6968
gpg key: 0x187F664F


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to