<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi George,
<div><br>
</div>
<div>I’m working on a blueprint to implement OVS flows for security groups. <a href="https://blueprints.launchpad.net/neutron/+spec/ovs-firewall-driver">https://blueprints.launchpad.net/neutron/+spec/ovs-firewall-driver</a> Currently, neutron only implements
 security groups with iptables even when Open vSwitch is used.</div>
<div><br>
</div>
<div>Amir</div>
<div><br>
<div>
<div>On Nov 27, 2013, at 1:29 PM, George Shuklin <<a href="mailto:george.shuklin@gmail.com">george.shuklin@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<p dir="ltr">Thank you for reply!</p>
<p dir="ltr">Few more question: </p>
<p dir="ltr">AFAIK bridge tools is not very fast (compare to OVS), so adding them between OVS and tap (instead of yet another OVS switch) is kinda slow everything down. Why just not use yet another openvswitch switch to connect tap to veth devices?</p>
<p dir="ltr">Why iptables, not internal openvswitch flow rules? Those rules allows to filter packets on L2-L4 headers and operates very fast. Is some iptables-only features used in ovs-agent?</p>
<p dir="ltr">Thanks.</p>
<div class="gmail_quote">27.11.2013 20:55 ïîëüçîâàòåëü "Lorin Hochstein" <<a href="mailto:lorin@nimbisservices.com">lorin@nimbisservices.com</a>> íàïèñàë:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi George:<br>
<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Nov 27, 2013 at 1:45 PM, George Shuklin <span dir="ltr">
<<a href="mailto:george.shuklin@gmail.com" target="_blank">george.shuklin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Good day.<br>
<br>
I looking at the internals of bridge layout of openvswitch agent at <a href="http://docs.openstack.org/network-admin/admin/content/figures/2/figures/under-the-hood-scenario-1-ovs-compute.png" target="_blank">
http://docs.openstack.org/<u></u>network-admin/admin/content/<u></u>figures/2/figures/under-the-<u></u>hood-scenario-1-ovs-compute.<u></u>png</a><br>
and wondering, why this scheme is so complicated and why it use linux bridge and vethes with openvswitch together? Why no just plug tap device directly to openvswitch bridge without intermediate brctl bridge?<br>
<br>
I guess that was caused by some important consideration, but I unable to find any documents about this.<br>
<br>
If someone know reasons for that complex construction with different bridges, please response.<br>
<br>
</blockquote>
<div><br>
</div>
<div>If you look a little further down on the page with that figure, the documentation reads<br>
<br>
Ideally, the TAP device vnet0 would be connected directly to the integration bridge, br-int. Unfortunately, this isn't possible because of how OpenStack security groups are currently implemented. OpenStack uses iptables rules on the TAP devices such as vnet0
 to implement security groups, and Open vSwitch is not compatible with iptables rules that are applied directly on TAP devices that are connected to an Open vSwitch port.<br>
</div>
<div><br>
<br>
</div>
<div>Take care,<br>
<br>
Lorin<br>
</div>
<br>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Lorin Hochstein<br>
<div>Lead Architect - Cloud Services</div>
<div>Nimbis Services, Inc.</div>
<div><a href="http://www.nimbisservices.com/" target="_blank">www.nimbisservices.com</a></div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>