[openstack-dev] [zun][unit test] Any python utils can collect pci info?

2017-09-17 Thread Shunli Zhou
Hi all, For https://blueprints.launchpad.net/zun/+spec/support-pcipassthroughfilter this BP, Nova use the libvirt to collect the PCI device info. But for zun, libvirt seems is a heavy dependecies. Is there a python utils that can be used to collect the PCI device detail info? Such as the whether

[openstack-dev] [zun][unit test] Could anyone help one the unittest fail?

2017-07-25 Thread Shunli Zhou
Could anyone help on the unittest fail about the pecan api, refer to http://logs.openstack.org/31/486931/1/check/gate-zun-python27-ubuntu-xenial/c329b47/console.html#_2017-07-25_08_13_05_180414 I have two api, they are added in two patches. The first is HostController:get_all, which list all the

[openstack-dev] [zun][api version]Does anyone know the idea of default api version in the versioned API?

2017-07-25 Thread Shunli Zhou
Does anyone know the idea of default api version in versioned api? I'm not sure if we should bump the default api version everytime the api version bumped? Could anyone explain the policy of how to bump the default api version? Thanks. B.R.