[Kimchi-devel] [ginger-dev-list] Re: Fwd: [RFC] listing of ovs bridges
Suresh Babu Angadi
sureshab at linux.vnet.ibm.com
Wed Aug 31 07:43:36 UTC 2016
On 08/30/2016 04:49 PM, Daniel Henrique Barboza wrote:
> Hi Suresh,
>
> Do you need only the listing of ovsbridges? Because there is a Gingerbase
> function that does that:
>
Hi Daniel,
I think we can go with this approach. Currently kimchi requires only ovs
bridge names.
So the API would remain the same, however backend implementation will
use ovs_bridges() method of netinfo.py.
> netinfo.py 183:
>
> def ovs_bridges():
> """Get the OVS Bridges of the host.
>
> In some distributions, like Fedora, the files bridge and brif are
> not created under /sys/class/net/<ovsbridge> for OVS bridges.
> These specific functions allows one to differentiate OVS bridges
> from other types of bridges.
>
> Returns:
> List[str]: a list with the OVS bridges found.
>
> """
>
>
>
> On 08/30/2016 03:18 AM, Suresh Babu Angadi wrote:
>> Hi All,
>> If there are no comments, I would go ahead and send patches.
>>
>> On 08/30/2016 11:46 AM, Suresh Babu Angadi wrote:
>>>
>>> Adding ginger mailing list, since it requires modifications in
>>> Ginger code.
>>>
>>> -------- Forwarded Message --------
>>> Subject: [Kimchi-devel] [RFC] listing of ovs bridges
>>> Date: Thu, 25 Aug 2016 16:33:39 +0530
>>> From: Suresh Babu Angadi <sureshab at linux.vnet.ibm.com>
>>> To: Kimchi Devel <kimchi-devel at ovirt.org>
>>>
>>>
>>>
>>> New API:
>>> SimpleCollection: OVSBridges
>>>
>>> URI: /plugins/kimchi/ovsbridges
>>>
>>> Methods:
>>>
>>> GET: Retrieve list of OVS bridges of the host
>>>
>>>
>>> Back end changes:
>>> Currently ginger plugin has full fledged ovs functionality. So best bet
>>> would be to have listing of ovs bridges to gingerbase which can be used
>>> by kimchi and ginger apis.
>>>
>>> --
>>> 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
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Ginger Development Mailing List" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to ginger-dev-list+unsubscribe at googlegroups.com
>> <mailto:ginger-dev-list+unsubscribe at googlegroups.com>.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ginger Development Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ginger-dev-list+unsubscribe at googlegroups.com
> <mailto:ginger-dev-list+unsubscribe at googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Regards,
Suresh Babu Angadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160831/1f18331e/attachment.html>
More information about the Kimchi-devel
mailing list