Hi All,
If there are no comments, I would go ahead and send the patches.

On 08/25/2016 12:11 PM, Suresh Babu Angadi wrote:
Current Implementation:
URI: /plugins/kimchi/interfaces
Methods:
* GET: Retrieve a summarized list of current Interfaces

Retrieves list of host interfaces, which are  not in use by libvirt networks.

Proposal:
URI: /plugins/kimchi/interfaces
Methods:
* GET: Retrieve summarized list of all host Interfaces  
    * Parameters: _inuse:  true | false

if no filter mentioned then API lists all host interfaces
if inuse =“true" then API lists all host interfaces which are in use by libvirt networks
if inuse=“false” then API lists available host interfaces, which are  not in use by libvirt networks.

From UI point of view, current API call should be changed to /plugins/kimchi/interfaces?_inuse='false' to keep the current functionality unaffected.
-- 
Regards,
Suresh Babu Angadi


_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-- 
Regards,
Suresh Babu Angadi