[Kimchi-devel] [RFC] changes to /plugins/kimchi/interfaces

Suresh Babu Angadi sureshab at linux.vnet.ibm.com
Tue Aug 30 06:16:25 UTC 2016


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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-- 
Regards,
Suresh Babu Angadi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160830/34ebbd38/attachment.html>


More information about the Kimchi-devel mailing list