Re: [Ryu-devel] [ryu-dev] creating my first application

2014-11-30 Thread Vilius Palubinskas
Hi Goutam, Try run this in ryu folder: PYTHONPATH=. ./bin/ryu-manager ryu/app/app1.py,app2.py Regards, Vilius. From: Gautam Pathak [mailto:[email protected]] Sent: Monday, December 1, 2014 5:51 AM To: [email protected] Cc: Gautam Pathak Subject: [Ryu-devel] [ryu-dev] crea

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-30 Thread Yusuke Iwase
Hi, On 2014年11月29日 02:04, Clément Rault wrote: > Hi, > > On 28 November 2014 at 02:23, Yusuke Iwase wrote: >> Hi, >> >> >> OpenFlow1.3 Spec describes watch_port/watch_group as follows. >> >> /* Bucket for use in groups. */ >> struct ofp_bucket { >> ... >> uint32_t watch_port; /* Po

Re: [Ryu-devel] [ryu-dev] creating my first application

2014-11-30 Thread Satoshi KOBAYASHI
Hi Gautam, You don't have to input '%' with ryu-manager. ryu-manager ~/l2.py And two lines which continue are output by ryu-manager. IOW, you don't have to input the lines. Regards, Satoshi 2014-12-01 12:57 GMT+09:00 Gautam Pathak : > I am getting the following errors: > > mininet@mininet-Vir

Re: [Ryu-devel] [ryu-dev] creating my first application

2014-11-30 Thread Gautam Pathak
I am getting the following errors: mininet@mininet-VirtualBox:~$ % ryu-manager ~/l2.py bash: fg: %: no such job mininet@mininet-VirtualBox:~$ loading app /home/mininet/l2.py loading: command not found mininet@mininet-VirtualBox:~$ instantiating app /home/mininet/l2.py instantiating: command not fo

[Ryu-devel] [ryu-dev] creating my first application

2014-11-30 Thread Gautam Pathak
Hi, I am creating my 1st application(l2.py) using ryu-documentation. from ryu.base import app_manager class L2Switch(app_manager.RyuApp): def __init__(self, *args, **kwargs): super(L2Switch, self).__init__(*args, **kwargs) To run the application: following 3 are not executing. % ryu-manager ~/l

Re: [Ryu-devel] Logs are printed twice

2014-11-30 Thread Satoshi KOBAYASHI
2014-11-30 22:36 GMT+09:00 FUJITA Tomonori : > On Fri, 28 Nov 2014 16:14:30 -0500 > Aravindhan Dhanasekaran wrote: > > > Hello, > > > > I'm new to Python/Ryu and I've a question regarding printing logs in Ryu > (more > > of Python, actually). > > > > I followed some existing Ryu examples and Pyth

Re: [Ryu-devel] Bidirectional Forwarding Detection

2014-11-30 Thread FUJITA Tomonori
On Thu, 27 Nov 2014 22:02:15 -0500 Sai Sindhur Malleni wrote: > I am trying to write an app on the RYU controller which changes the flows > in switches to a new path on the event of a link failure along one path. I > believe I have to make use of the group tables and action buckets concept > to a

Re: [Ryu-devel] Problems with vlan_pcp match field

2014-11-30 Thread FUJITA Tomonori
On Fri, 28 Nov 2014 12:28:21 -0200 Ricardo Balbinot wrote: > CODE A > match = parser.OFPMatch(vlan_pcp=0, vlan_vid=id_grupo) > actions = [parser.OFPActionGroup(group_id=id_grupo)] > resp = self.add_flow(datapath,32768,match,actions) > > ADD_FLOW is this code: > ofproto = datapath.ofproto > parse

Re: [Ryu-devel] Copying an existing ethernet payload(only) into a new packet

2014-11-30 Thread FUJITA Tomonori
On Thu, 27 Nov 2014 20:12:23 -0200 Ricardo Balbinot wrote: > I am trying to create a new packet that changes some fields from an > existing (received via packet_in) ethernet packet, adds a new vlan header > and then sends back (via packet_out) the packet to the switch, with the > same original et

[Ryu-devel] [PATCH] Add_simple_arp_proxy_13

2014-11-30 Thread ????
From: muzixing <[email protected]> Hi,FUJITA, First of all, I have to make a apologize for my mistake sincerely. Last time is my first time to send a PATCH to a maillist, and I did not know you have mentioned some problems among the content of mail, so I just missed the message until my fr

Re: [Ryu-devel] HP 2920 1.3OF

2014-11-30 Thread FUJITA Tomonori
On Fri, 28 Nov 2014 09:33:28 +0200 "Vilius Palubinskas" wrote: > Thank you, the patch works without crashes. Thanks, I've applied the patch. > How to create drop rule for flow? I tried using this e.g. > [http://sourceforge.net/p/ryu/mailman/message/31977966/]: > >datapath = ev.m

Re: [Ryu-devel] Logs are printed twice

2014-11-30 Thread FUJITA Tomonori
On Fri, 28 Nov 2014 16:14:30 -0500 Aravindhan Dhanasekaran wrote: > Hello, > > I'm new to Python/Ryu and I've a question regarding printing logs in Ryu (more > of Python, actually). > > I followed some existing Ryu examples and Python documentation to create a > simple logging infra for my proj

Re: [Ryu-devel] [PATCH] bmp: bug fix of peer bgp ID in BMP Message

2014-11-30 Thread FUJITA Tomonori
On Fri, 28 Nov 2014 17:18:46 +0900 Yuji Oshima wrote: > Ryu BGP sets self-BGP ID as Peer BGP ID in BMP Message. > > Signed-off-by: Yuji Oshima > --- > ryu/services/protocols/bgp/bmp.py |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Looks good. Applied, thanks! -

Re: [Ryu-devel] [PATCH 1/2] ofctl_v1_2/3: Fully support the match combinations for VLAN ID

2014-11-30 Thread FUJITA Tomonori
On Fri, 28 Nov 2014 16:47:02 +0900 Minoru TAKAHASHI wrote: > Currently, when VLAN ID match field is specified, > ofctl_v1_[23] is compatible with only match combination 1) of > the following three match combinations. > This patch makes it possible to set the all three combinations. > > Match c