Vishal | 27 Jul 2012 23:22
Picon

Openflow on XEN

Whats the best/easiest way to achieve Openflow on XEN?

Also, Openvswitch has ovsctl as well as ofctl.

But, XEN comes with its own script using brctl.

- i could figure out using openvswitch as bridge but how to use it in a setting where it speaks to a nox controller  and set up flow rules based on that ?

Regards,
Vishal

<div><p>Whats the best/easiest way to achieve Openflow on XEN?<br><br>Also, Openvswitch has ovsctl as well as ofctl.<br><br>But, XEN comes with its own script using brctl.<br><br>- i could figure out using openvswitch as bridge but how to use it in a setting where it speaks to a nox controller&nbsp; and set up flow rules based on that ?<br><br>Regards,<br>Vishal<br></p></div>
Nicholas Bastin | 27 Jul 2012 23:25
Picon

Re: Openflow on XEN

On Fri, Jul 27, 2012 at 11:22 PM, Vishal <vishal.kr.singh@...> wrote:
> Whats the best/easiest way to achieve Openflow on XEN?
>
> Also, Openvswitch has ovsctl as well as ofctl.
>
> But, XEN comes with its own script using brctl.

In what environment?  XCP and XenServer both come with OVS and
ovs-vsctl.  If you are building your own XenSource-based solution,
obviously is incumbent upon you to provide OVS yourself.

--
Nick
Vishal | 30 Jul 2012 21:49
Picon

Re: Openflow on XEN

After installing XEN and few VM's running, I have following interfaces:

xenbr0, vif1.0...., and virbr0.

Now, I can compile openvswitch from tar ball.  From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?

Basically, I want to know - what is the next step to do after compiling openvswitch ?  I am able to run openvswitch with nox on linux with multiple physical ports.

Thanks a lot,
Vishal

On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <nick.bastin-Re5JQEeQqe8@public.gmane.orgm> wrote:
On Fri, Jul 27, 2012 at 11:22 PM, Vishal <vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Whats the best/easiest way to achieve Openflow on XEN?
>
> Also, Openvswitch has ovsctl as well as ofctl.
>
> But, XEN comes with its own script using brctl.

In what environment?  XCP and XenServer both come with OVS and
ovs-vsctl.  If you are building your own XenSource-based solution,
obviously is incumbent upon you to provide OVS yourself.

--
Nick

<div>
<p>After installing XEN and few VM's running, I have following interfaces: <br><br>xenbr0, vif1.0...., and virbr0.<br><br>Now, I can compile openvswitch from tar ball.&nbsp; From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?<br><br>Basically, I want to know - what is the next step to do after compiling openvswitch ?&nbsp; I am able to run openvswitch with nox on linux with multiple physical ports.<br><br>Thanks a lot,<br>Vishal<br><br></p>
<div class="gmail_quote">
On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <span dir="ltr">&lt;<a href="mailto:nick.bastin@..." target="_blank">nick.bastin@...m</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div class="im">On Fri, Jul 27, 2012 at 11:22 PM, Vishal &lt;<a href="mailto:vishal.kr.singh@...">vishal.kr.singh@...</a>&gt; wrote:<br>
&gt; Whats the best/easiest way to achieve Openflow on XEN?<br>
&gt;<br>
&gt; Also, Openvswitch has ovsctl as well as ofctl.<br>
&gt;<br>
&gt; But, XEN comes with its own script using brctl.<br><br>
</div>In what environment? &nbsp;XCP and XenServer both come with OVS and<br>
ovs-vsctl. &nbsp;If you are building your own XenSource-based solution,<br>
obviously is incumbent upon you to provide OVS yourself.<br><br>
--<br>
Nick<br>
</blockquote>
</div>
<br>
</div>
Vishal | 31 Jul 2012 21:20
Picon

Re: [openflow-discuss] Openflow on XEN

Hi All,

using XCP (Xen Cloud Platform) which comes with openvswitch - I was able to start 2 VM's and configure the openvswitch to speak to nox. I didn't need to uninstall the default bridge etc. just executed the commands ovs-vsctl set-controller /

Only issue is both the outbound traffic from VM's and control traffic to NOX goes on same eth0 (xenbr0).

Ideally, I would like to use eth0 (xenbr0) for openflow control traffic and eth1(xenbr1) connected directly to an software based openflow switch to send/recv vm's traffic. But, this is not working. 

Thanks a lot for your help.


Regards,
Vishal
(p.s., not really a NOX question, but just cross posting if someone has already solved openvswitch configuration for openflow on xen or xen cloud platform)

On Mon, Jul 30, 2012 at 3:49 PM, Vishal <vishal.kr.singh <at> gmail.com> wrote:
After installing XEN and few VM's running, I have following interfaces:

xenbr0, vif1.0...., and virbr0.

Now, I can compile openvswitch from tar ball.  From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?

Basically, I want to know - what is the next step to do after compiling openvswitch ?  I am able to run openvswitch with nox on linux with multiple physical ports.

Thanks a lot,
Vishal


On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <nick.bastin <at> gmail.com> wrote:
On Fri, Jul 27, 2012 at 11:22 PM, Vishal <vishal.kr.singh <at> gmail.com> wrote:
> Whats the best/easiest way to achieve Openflow on XEN?
>
> Also, Openvswitch has ovsctl as well as ofctl.
>
> But, XEN comes with its own script using brctl.

In what environment?  XCP and XenServer both come with OVS and
ovs-vsctl.  If you are building your own XenSource-based solution,
obviously is incumbent upon you to provide OVS yourself.

--
Nick


ibrahim menem | 31 Jul 2012 22:33
Picon
Favicon
Gravatar

Re: Openflow on XEN

Hi,

First, check the routes on each bridge, it is recommended to put data and control in a different subnets, then check how virtual interfaces are connected, by default each VM will have a virtual interface connected to each bridge, so if you use xenbr0 for control be sure to use eth1 (which is connected to xenbr1) on each VM for data traffic.

Hope that helps,

Ibrahim


Date: Tue, 31 Jul 2012 15:20:40 -0400
From: vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: nick.bastin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; nox-dev-l/puERxW6IFAfugRpC6u6w@public.gmane.org
CC: openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org
Subject: Re: [openflow-discuss] Openflow on XEN

Hi All,

using XCP (Xen Cloud Platform) which comes with openvswitch - I was able to start 2 VM's and configure the openvswitch to speak to nox. I didn't need to uninstall the default bridge etc. just executed the commands ovs-vsctl set-controller /

Only issue is both the outbound traffic from VM's and control traffic to NOX goes on same eth0 (xenbr0).

Ideally, I would like to use eth0 (xenbr0) for openflow control traffic and eth1(xenbr1) connected directly to an software based openflow switch to send/recv vm's traffic. But, this is not working. 

Thanks a lot for your help.


Regards,
Vishal
(p.s., not really a NOX question, but just cross posting if someone has already solved openvswitch configuration for openflow on xen or xen cloud platform)

On Mon, Jul 30, 2012 at 3:49 PM, Vishal <vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
After installing XEN and few VM's running, I have following interfaces:

xenbr0, vif1.0...., and virbr0.

Now, I can compile openvswitch from tar ball.  From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?

Basically, I want to know - what is the next step to do after compiling openvswitch ?  I am able to run openvswitch with nox on linux with multiple physical ports.

Thanks a lot,
Vishal


On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <nick.bastin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Fri, Jul 27, 2012 at 11:22 PM, Vishal <vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Whats the best/easiest way to achieve Openflow on XEN?
>
> Also, Openvswitch has ovsctl as well as ofctl.
>
> But, XEN comes with its own script using brctl.

In what environment?  XCP and XenServer both come with OVS and
ovs-vsctl.  If you are building your own XenSource-based solution,
obviously is incumbent upon you to provide OVS yourself.

--
Nick



_______________________________________________ openflow-discuss mailing list openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
<div><div dir="ltr">

<div dir="ltr">Hi,<br><br>
First, check the routes on each bridge, it is recommended to put data
 and control in a different subnets, then check how virtual interfaces 
are connected, by default each VM will have a virtual interface 
connected to each bridge, so if you use xenbr0 for control be sure to 
use eth1 (which is connected to xenbr1) on each VM for data traffic.<br><br>Hope that helps,<br><br>Ibrahim<br><br><br><div>
<div></div>Date: Tue, 31 Jul 2012 15:20:40 -0400<br>From: vishal.kr.singh@...<br>To: nick.bastin@...; nox-dev@...<br>CC: openflow-discuss@...<br>Subject: Re: [openflow-discuss] Openflow on XEN<br><br>Hi All,<br><br>using XCP (Xen Cloud Platform) which comes with openvswitch - I was able to start 2 VM's and configure the openvswitch to speak to nox. I didn't need to uninstall the default bridge etc. just executed the commands ovs-vsctl set-controller / <br><br>Only issue is both the outbound traffic from VM's and control traffic to NOX goes on same eth0 (xenbr0).<br><br>Ideally, I would like to use eth0 (xenbr0) for openflow control traffic and eth1(xenbr1) connected directly to an software based openflow switch to send/recv vm's traffic. But, this is not working.&nbsp; <br><br>Thanks a lot for your help. <br><br><br>Regards,<br>Vishal<br>(p.s., not really a NOX question, but just cross posting if someone has already solved openvswitch configuration for openflow on xen or xen cloud platform)<br><br><div class="ecxgmail_quote">On Mon, Jul 30, 2012 at 3:49 PM, Vishal <span dir="ltr">&lt;<a href="mailto:vishal.kr.singh@...">vishal.kr.singh@...</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote">
After installing XEN and few VM's running, I have following interfaces: <br><br>xenbr0, vif1.0...., and virbr0.<br><br>Now, I can compile openvswitch from tar ball.&nbsp; From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?<br><br>Basically, I want to know - what is the next step to do after compiling openvswitch ?&nbsp; I am able to run openvswitch with nox on linux with multiple physical ports.<br><br>Thanks a lot,<br>Vishal<div class="ecxHOEnZb"><div class="h5">
<br><br><div class="ecxgmail_quote">
On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <span dir="ltr">&lt;<a href="mailto:nick.bastin@...">nick.bastin@...</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote">

<div>On Fri, Jul 27, 2012 at 11:22 PM, Vishal &lt;<a href="mailto:vishal.kr.singh@...">vishal.kr.singh@...</a>&gt; wrote:<br>
&gt; Whats the best/easiest way to achieve Openflow on XEN?<br>
&gt;<br>
&gt; Also, Openvswitch has ovsctl as well as ofctl.<br>
&gt;<br>
&gt; But, XEN comes with its own script using brctl.<br><br>
</div>In what environment? &nbsp;XCP and XenServer both come with OVS and<br>
ovs-vsctl. &nbsp;If you are building your own XenSource-based solution,<br>
obviously is incumbent upon you to provide OVS yourself.<br><br>
--<br>
Nick<br>
</blockquote>
</div>
<br>
</div></div>
</blockquote>
</div>
<br><br>_______________________________________________
openflow-discuss mailing list
openflow-discuss@...
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss</div>
</div>
 		 	   		  </div></div>

Gmane