Re: [Openstack] Create tenant with RESTful api

2012-12-15 Thread Yogi Srikrishnan
: [Openstack] Create tenant with RESTful api Hi Everyone, Please, someone can give me information about how to create a tenant with a REST request. I am trying to develop a module to use my legacy billing software, so I need to create tenants, create a vm, terminate it and suspend it. I can achieve the

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Guillermo Alvarado
Ok, for me the best approach is to use the --debug command with the CLI.Now I dont need any documentation. thanks! 2012/12/14 Dolph Mathews > I'd first suggesting looking for an existing PHP binding (I'm not aware of > one). > > You can also simply try "keystone tenant-create" and emulate it'

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Dolph Mathews
I'd first suggesting looking for an existing PHP binding (I'm not aware of one). You can also simply try "keystone tenant-create" and emulate it's request if that's all you need. I's implementation is here: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/tenant

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Leandro Reox
Its easy to see what call keystone make to the api, if you run keystone --debug COMMAND you will see the hole requests, so you can use it on your php code best On Fri, Dec 14, 2012 at 4:05 PM, Guillermo Alvarado < guillermoalvarad...@gmail.com> wrote: > Because I am using PHP, so I am making th

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Matt Joyce
https://github.com/rackspace/php-opencloud might want to check that out. On Fri, Dec 14, 2012 at 11:05 AM, Guillermo Alvarado < guillermoalvarad...@gmail.com> wrote: > Because I am using PHP, so I am making the requests with REST. > > > 2012/12/14 Matt Joyce > >> Is there a reason you are not u

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Guillermo Alvarado
Because I am using PHP, so I am making the requests with REST. 2012/12/14 Matt Joyce > Is there a reason you are not using the keystone client api? > > On Fri, Dec 14, 2012 at 10:58 AM, Guillermo Alvarado < > guillermoalvarad...@gmail.com> wrote: > >> Hi Everyone, >> >> Please, someone can give

Re: [Openstack] Create tenant with RESTful api

2012-12-14 Thread Matt Joyce
Is there a reason you are not using the keystone client api? On Fri, Dec 14, 2012 at 10:58 AM, Guillermo Alvarado < guillermoalvarad...@gmail.com> wrote: > Hi Everyone, > > Please, someone can give me information about how to create a tenant with > a REST request. I am trying to develop a module

[Openstack] Create tenant with RESTful api

2012-12-14 Thread Guillermo Alvarado
Hi Everyone, Please, someone can give me information about how to create a tenant with a REST request. I am trying to develop a module to use my legacy billing software, so I need to create tenants, create a vm, terminate it and suspend it. I can achieve the later with the vm but I can not find ho