> First, I do not know how to set up virtual port with openvswitch and ryu
> controller.
> I wish I handle header manipulation with virtual port.
> Is there anyone who had experience??

OpenFlow protocol doesn't support such. You need to use OVS specific
protocol (OVS JSON DB). Ryu has handy libries for that:

ryu/lib/ovs/

Q1) Is it way of creating virtual port??
# ovs-vsctl add-port br0 vi0 -- set Interface vi0 type=internal
You mean I can create virtual port with ryu/lib/ovs/vsctl.py,
Is it right?


> Second, I would like to handle tunneling protocol in openvswitch.
> In my knowledge, I first add the code to openvswitch and ryu controller to
> set rules.
> Is it right?
> Is there any way of encapsulating and decapsulating packet?

I don't know what 'add the code to openvswitch' means. But if you use
tunneling protocols that OVS supports (e.g. GRE), then what you need
to do is creating a virtual tunneling port. Then you can use OpenFlow
tunnel_id action and match via Ryu.

Q2) I would like to support GTP in openvswitch and manage it via Ryu.
Could you explain more tunnel_id action and match via Ryu?

Thanks.


2013/11/25 FUJITA Tomonori <[email protected]>

> On Mon, 25 Nov 2013 03:39:42 -0700
> Junguk Cho <[email protected]> wrote:
>
> > First, I do not know how to set up virtual port with openvswitch and ryu
> > controller.
> > I wish I handle header manipulation with virtual port.
> > Is there anyone who had experience??
>
> OpenFlow protocol doesn't support such. You need to use OVS specific
> protocol (OVS JSON DB). Ryu has handy libries for that:
>
> ryu/lib/ovs/
>
> > Second, I would like to handle tunneling protocol in openvswitch.
> > In my knowledge, I first add the code to openvswitch and ryu controller
> to
> > set rules.
> > Is it right?
> > Is there any way of encapsulating and decapsulating packet?
>
> I don't know what 'add the code to openvswitch' means. But if you use
> tunneling protocols that OVS supports (e.g. GRE), then what you need
> to do is creating a virtual tunneling port. Then you can use OpenFlow
> tunnel_id action and match via Ryu.
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to