[openstack-dev] rpcapi enhancement for virt pollster (was: [ceilometer] importutils problem in import_object_ns)

Julien Danjou julien at danjou.info
Wed Nov 14 10:31:29 UTC 2012


On Wed, Nov 14 2012, Jiang, Yunhong wrote:

> Followed is the information we can got from get_diagnostics. Although
> it provide all the static information that's presented by current
> libvirt pollster, it does not include any information for the virtual
> block/nic devices ,like MAC, IP, filter, DHCPSERVER, while is provided
> by current libvirt pollster. Also I didn't find method to get such
> information, other than call nova libvirt driver directly.
>
> So my question is, should we create another rpcapi for this monitor specific
> purpose? I'd prefer to yes, since that will make life easier.

I'd say yes. The goal would be to add RPC functions to nova-compute in a
virt-driver agnostic manner, so all you have to do in your pollsters is
call something like `get_nic_info(instance)' over RPC and get everything
to emit counters.
Each virt driver in Nova would implement what it takes to get this
information and then send it back on the RPC wire.

-- 
Julien Danjou
// Free Software hacker & freelance
// http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121114/b318303c/attachment.pgp>


More information about the OpenStack-dev mailing list