[Openstack] Do these commands belong in the API or nova-manage?

2011-02-08 Thread Sandy Walsh
Quick question ... For multi-cluster/zones I have a bunch of commands that need to be exposed to administrators: 1. CRUD child zones 2. CRUD hosts to a zone 3. CRUD zone host capabilities to a zone Do you think these belong in the admin-only OpenStack API or only available via nova-manage?

Re: [Openstack] Do these commands belong in the API or nova-manage?

2011-02-08 Thread Jay Pipes
On Tue, Feb 8, 2011 at 5:09 PM, Sandy Walsh sandy.wa...@rackspace.com wrote: Quick question ... For multi-cluster/zones I have a bunch of commands that need to be exposed to administrators: 1. CRUD child zones 2. CRUD hosts to a zone 3. CRUD zone host capabilities to a zone Do you think

Re: [Openstack] Do these commands belong in the API or nova-manage?

2011-02-08 Thread Devin Carlen
Only place for it to go now is the ec2 admin extension api (nova/api/ec2/admin.py). Until we get the OpenStack API out in the open, we can't add anything to it. The goal is to move the admin functions to the OpenStack API when that becomes an option, but I'm guessing that won't be until

Re: [Openstack] Do these commands belong in the API or nova-manage?

2011-02-08 Thread Jay Pipes
I think you are confusing the EC2 admin API with what Sandy was talking about, which is the OpenStack admin API commands, which has been in Nova for months now. See /nova/api/openstack/__init__.py, lines 74 through 81. -jay On Tue, Feb 8, 2011 at 5:58 PM, Devin Carlen devin.car...@gmail.com

Re: [Openstack] Do these commands belong in the API or nova-manage?

2011-02-08 Thread Devin Carlen
Yep, you're right. I misread. There is still a longer conversation to be had about admin API in general. All the functions in the ec2 admin api will need to be available in the openstack admin api at some point. On Feb 8, 2011, at 5:01 PM, Jay Pipes wrote: I think you are confusing the EC2