<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 08/30/2016 04:49 PM, Daniel Henrique
Barboza wrote:<br>
</div>
<blockquote
cite="mid:22a53e1a-eb60-fe38-f9f9-ea0a349adaf6@gmail.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Hi Suresh,<br>
<br>
Do you need only the listing of ovsbridges? Because there is a
Gingerbase<br>
function that does that:<br>
<br>
</blockquote>
Hi Daniel,<br>
I think we can go with this approach. Currently kimchi requires only
ovs bridge names.<br>
So the API would remain the same, however backend implementation
will use ovs_bridges() method of netinfo.py. <br>
<blockquote
cite="mid:22a53e1a-eb60-fe38-f9f9-ea0a349adaf6@gmail.com"
type="cite"> netinfo.py 183:<br>
<br>
def ovs_bridges():<br>
"""Get the OVS Bridges of the host.<br>
<br>
In some distributions, like Fedora, the files bridge and brif
are<br>
not created under /sys/class/net/<ovsbridge> for OVS
bridges.<br>
These specific functions allows one to differentiate OVS
bridges<br>
from other types of bridges.<br>
<br>
Returns:<br>
List[str]: a list with the OVS bridges found.<br>
<br>
"""<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/30/2016 03:18 AM, Suresh Babu
Angadi wrote:<br>
</div>
<blockquote cite="mid:57C52539.5080703@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
Hi All,<br>
If there are no comments, I would go ahead and send patches.<br>
<br>
<div class="moz-cite-prefix">On 08/30/2016 11:46 AM, Suresh Babu
Angadi wrote:<br>
</div>
<blockquote cite="mid:57C524A6.8090802@linux.vnet.ibm.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<br>
<div class="moz-forward-container">Adding ginger mailing list,
since it requires modifications in Ginger code.<br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>[Kimchi-devel] [RFC] listing of ovs bridges</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date:
</th>
<td>Thu, 25 Aug 2016 16:33:39 +0530</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From:
</th>
<td>Suresh Babu Angadi <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sureshab@linux.vnet.ibm.com"><sureshab@linux.vnet.ibm.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To:
</th>
<td>Kimchi Devel <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:kimchi-devel@ovirt.org"><kimchi-devel@ovirt.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
</pre>
<br>
</div>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Suresh Babu Angadi</pre>
-- <br>
You received this message because you are subscribed to the
Google Groups "Ginger Development Mailing List" group.<br>
To unsubscribe from this group and stop receiving emails from
it, send an email to <a moz-do-not-send="true"
href="mailto:ginger-dev-list+unsubscribe@googlegroups.com">ginger-dev-list+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a moz-do-not-send="true"
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br>
</blockquote>
<br>
-- <br>
You received this message because you are subscribed to the Google
Groups "Ginger Development Mailing List" group.<br>
To unsubscribe from this group and stop receiving emails from it,
send an email to <a moz-do-not-send="true"
href="mailto:ginger-dev-list+unsubscribe@googlegroups.com">ginger-dev-list+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a moz-do-not-send="true"
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Suresh Babu Angadi</pre>
</body>
</html>