[openstack-dev] [ironic] [nova] get_all_bw_counters in the Ironic virt driver

Brad Morgan brad at morgabra.com
Fri Jul 29 00:40:03 UTC 2016


I'd like to solicit some advice about potentially implementing
get_all_bw_counters() in the Ironic virt driver.

https://github.com/openstack/nova/blob/master/nova/virt/driver.py#L438
Example Implementation:
https://github.com/openstack/nova/blob/master/nova/virt/xenapi/driver.py#L320

I'm ignoring the obvious question about how this data will actually be
collected/fetched as that's probably it's own topic (involving neutron),
but I have a few questions about the Nova -> Ironic interaction:

Nova
* Is get_all_bw_counters() going to stick around for the foreseeable
future? If not, what (if anything) is the replacement?

Ironic
* I assume Ironic would be responsible for knowing how to fetch bandwidth
counters for a given instance - correct?
* If so, what would this look like? (I'm assuming some Ironic API endpoint
Nova simply calls for counters - but any specific guidance here would be
great.)

I appreciate any tips/suggestions, thank you.

-- 
Brad Morgan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160728/490c5e62/attachment.html>


More information about the OpenStack-dev mailing list