<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="" dir="auto">> I don't see any reason why it wouldn't work with VXLAN.<div class=""><br class=""></div><div class="">Well with the current approach in your code you would have to basically re-implement all of the logic in the openvswitch agent that sets up VXLAN tunnels and isolation of nodes on different VXLAN networks (either via flows or local VLANs). That will be quite a bit of work.<br class=""><div class=""><br class=""></div><div class="">We can already leverage the L2 agent’s logic if, instead of setting VLANs/VXLANs directly in your driver, we just wire up a patch port to br-int using the correct name that the L2 agent expects for the Neutron port the bare metal VM has. Then the L2 agent does its normal logic to get the traffic onto the right VLAN/VXLAN/GRE/whatever.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 26, 2015, at 2:56 AM, Vasyl Saienko <<a href="mailto:vsaienko@mirantis.com" class="">vsaienko@mirantis.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class="">Hello Kevin,<br class=""><br class=""></div><div class=""></div><div class="">I've added some pictures that illustrates how it works with HW switch and with VMs on devstack.<span class="Apple-converted-space"> </span></div><br class=""><div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Nov 25, 2015 at 10:53 PM, Kevin Benton<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:blak111@gmail.com" target="_blank" class="">blak111@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class="">This is cool. I didn't know you were working on an OVS driver for testing in CI as well. :)<div class=""><br class=""></div><div class="">Does this work by getting the port wired into OVS so the agent recognizes it like a regular port so it can be put into VXLAN/VLAN or whatever the node is configured with? From what I can tell it looks like it's on a completely different bridge so they wouldn't have connectivity to the rest of the network.</div><div class=""><br class=""></div></div></blockquote><div class="">Driver works with VLAN at the moment, I don't see any reason why it wouldn't work with VXLAN.<br class=""></div><div class=""><div class="">Ironic VMs are created on devstack by [0]. They are not registered in Nova/Neutron so neutron-ovs-agent doesn't know anything about them.<br class=""></div>In single node devstack you can't launch regular nova VM instances since compute_driver=ironic doesn't allow this. They would have connectivity to rest of network via 'br-int'.<br class=""><br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""></div><div class="">I have some POC code[1] for 'baremetal' support directly in the OVS agent so ports get treated just like VM ports. However, it requires upstream changes so if yours accomplishes the same thing without any upstream changes, that will be the best way to go.</div><div class=""><br class=""></div></div></blockquote><div class=""> </div><div class="">In real setup neutron will plug baremetal server to specific network via ML2 driver.</div><div class="">We should keep as much closer to real ironic use-case scenario in testing model. That is why we should have ML2 that allows us to interact with OVS.<br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""></div><div class="">Perhaps we can merge your approach (config via ssh) with mine (getting the 'baremetal' ports wired up for real connectivity) so we don't need upstream changes.</div><div class=""><br class=""></div><div class="">1. <a href="https://review.openstack.org/#/c/249265/" target="_blank" class="">https://review.openstack.org/#/c/249265/</a></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Kevin Benton</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">On Wed, Nov 25, 2015 at 7:27 AM, Vasyl Saienko<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:vsaienko@mirantis.com" target="_blank" class="">vsaienko@mirantis.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=""><div class="h5"><div dir="ltr" class=""><div class=""><div class=""><div class="">Hello Community,<br class=""><br class=""></div><div class="">As you know Ironic/Neutron integration is planned in Mitaka. And at the moment we don't have any CI that will test it. Unfortunately we can't test Ironic/Neutron integration on HW as we don't have it.<br class="">So probably the best way is to develop ML2 driver that will work with OVS.<br class=""><br class=""></div><div class="">At the moment we have a PoC [1] of ML2 driver that works with Cisco and OVS on linux.<br class=""></div><div class="">Also we have some patches to devstack that allows to try Ironic/Neutron integration on VM and real HW. And quick guide how to test it locally [0]<br class=""><br class=""><a href="https://review.openstack.org/#/c/247513/" target="_blank" class="">https://review.openstack.org/#/c/247513/</a><br class=""><a href="https://review.openstack.org/#/c/248048/" target="_blank" class="">https://review.openstack.org/#/c/248048/</a><br class=""><a href="https://review.openstack.org/#/c/249717/" target="_blank" class="">https://review.openstack.org/#/c/249717/</a><br class=""><a href="https://review.openstack.org/#/c/248074/" target="_blank" class="">https://review.openstack.org/#/c/248074/</a><br class=""> <br class=""></div><div class="">I'm interested in Neutron/Ironic integration. It would be great if we have it in Mitaka.<br class=""></div><div class="">I'm asking Community to check [0] and [1] and share your thoughts.<br class=""><br class=""> Also I would like to request a repo on<span class="Apple-converted-space"> </span><a href="http://openstack.org/" target="_blank" class="">openstack.org</a><span class="Apple-converted-space"> </span>for [1]<br class=""></div><div class=""><br class=""></div><br class="">[0]<span class="Apple-converted-space"> </span><a href="https://github.com/jumpojoy/ironic-neutron/blob/master/devstack/examples/ironic-neutron-vm.md" target="_blank" class="">https://github.com/jumpojoy/ironic-neutron/blob/master/devstack/examples/ironic-neutron-vm.md</a><br class="">[1]<span class="Apple-converted-space"> </span><a href="https://github.com/jumpojoy/generic_switch" target="_blank" class="">https://github.com/jumpojoy/generic_switch</a><br class=""><br class="">--<br class=""></div>Sincerely<span class=""><font color="#888888" class=""><br class=""></font></span></div><span class=""><font color="#888888" class="">Vasyl Saienko<br class=""></font></span></div><br class=""></div></div>__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe:<span class="Apple-converted-space"> </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""><br class=""></blockquote></div><span class=""><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class=""><div class="">Kevin Benton</div></div></font></span></div><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe:<span class="Apple-converted-space"> </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""><br class=""></blockquote></div><br class="">[0]<span class="Apple-converted-space"> </span><a href="https://github.com/openstack-dev/devstack/blob/master/tools/ironic/scripts/create-node" class="">https://github.com/openstack-dev/devstack/blob/master/tools/ironic/scripts/create-node</a><br class="">[1]<span class="Apple-converted-space"> </span><a href="https://review.openstack.org/#/c/249717/" class="">https://review.openstack.org/#/c/249717</a><br class=""><br class="">--<br class=""></div><div class="gmail_extra">Sincerely<br class=""></div><div class="gmail_extra">Vasyl Saienko<br class=""></div><div class="gmail_extra"><br class=""></div></div></div></div></div><span id="cid:2592AA3B-A240-43DA-AC2B-6B66D9ECDE64"><dev-ironic-neutron-vm.png></span><span id="cid:A7E3011E-03D2-4A80-9405-E564F5B767FD"><dev-ironic-neutron-hw1.png></span><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">__________________________________________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack Development Mailing List (not for usage questions)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Unsubscribe:<span class="Apple-converted-space"> </span></span><a href="mailto:OpenStack-dev-request@lists.openstack.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-dev-request@lists.openstack.org</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">?subject:unsubscribe</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></blockquote></div><br class=""></div></div></body></html>