Re: [Ryu-devel] REST router and firewall running together

2016-09-27 Thread renanrb
Well, I'm working on my Master's degree research, which is about  
migrating to SDN. I need to run
services/protocols such as routing(static and OSPF), ACLs and/or NAT  
using OpenFlow switches, same as
traditional routers would do. I don't need REST (as I'm using  
configuration files to set the data), but
do need to use multiple tables in an application. I already have a  
model of the tables and rules,
just struggling with the implementation.

[]s
Renan R.


From: Luis Z?rate 

Hi,  I agree with renanrb,  I am trying to implement L3 service as a
service without ryu openstack agent so I have the same problem, I need to
run firewall, router, nat in the same datapath manage by rest API.

So how I can run all services with precedence order ?  renanrb are you
interested in implement a rest_router_firewall public?


--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] REST router and firewall running together

2016-09-23 Thread Luis Zárate
Hi,  I agree with renanrb,  I am trying to implement L3 service as a
service without ryu openstack agent so I have the same problem, I need to
run firewall, router, nat in the same datapath manage by rest API.

So how I can run all services with precedence order ?  renanrb are you
interested in implement a rest_router_firewall public?



2016-09-19 23:04 GMT-06:00 Iwase Yusuke :

> Hi,
>
> On 2016年09月14日 22:33, rena...@ime.usp.br wrote:
> >
> > Hello,
> >
> > I have tried to run rest_router and rest_firewall at the same time, so
> > my ovs could act as both. However, I promptly realized the need to put
> > the firewall rules in a flow table and the routing stuff in a
> > subsequent one.
> >
> > 1. How can I change the tables where the rules go?
>
> rest_router and rest_firewall install the flow entry to the table 0.
> Because the both applications does not specify any "table_id" field,
> so the default table_id=0 should be used.
>
> For example,
> - rest_router:
>https://github.com/osrg/ryu/blob/master/ryu/app/rest_
> router.py#L1767-L1769
>
> - rest_firewall:
>https://github.com/osrg/ryu/blob/master/ryu/app/rest_firewall.py#L730
>
> >
> > 2. Besides that, how is routing implemented overall in rest_router?
> > Understanding the idea would help me writing my own router-firewall
> > without using the already existing applications.
>
> Sorry, I don't know further, I can't explain it.
>
> Thanks,
> Iwase
>
>
> >
> > Thanks in advance,
> >
> > []s
> > Renan R.
> >
> >
> > 
> --
> > ___
> > Ryu-devel mailing list
> > Ryu-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> >
>
> 
> --
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>



-- 
"La utopía sirve para caminar" Fernando Birri
--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] REST router and firewall running together

2016-09-19 Thread Iwase Yusuke
Hi,

On 2016年09月14日 22:33, rena...@ime.usp.br wrote:
>
> Hello,
>
> I have tried to run rest_router and rest_firewall at the same time, so
> my ovs could act as both. However, I promptly realized the need to put
> the firewall rules in a flow table and the routing stuff in a
> subsequent one.
>
> 1. How can I change the tables where the rules go?

rest_router and rest_firewall install the flow entry to the table 0.
Because the both applications does not specify any "table_id" field,
so the default table_id=0 should be used.

For example,
- rest_router:
   https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L1767-L1769

- rest_firewall:
   https://github.com/osrg/ryu/blob/master/ryu/app/rest_firewall.py#L730

>
> 2. Besides that, how is routing implemented overall in rest_router?
> Understanding the idea would help me writing my own router-firewall
> without using the already existing applications.

Sorry, I don't know further, I can't explain it.

Thanks,
Iwase


>
> Thanks in advance,
>
> []s
> Renan R.
>
>
> --
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] REST router and firewall running together

2016-09-14 Thread renanrb

Hello,

I have tried to run rest_router and rest_firewall at the same time, so  
my ovs could act as both. However, I promptly realized the need to put  
the firewall rules in a flow table and the routing stuff in a  
subsequent one.

1. How can I change the tables where the rules go?

2. Besides that, how is routing implemented overall in rest_router?  
Understanding the idea would help me writing my own router-firewall  
without using the already existing applications.

Thanks in advance,

[]s
Renan R.


--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel