[Ryu-devel] to change time of BPDU

2015-05-25 Thread Hm Balarama
Hello, I'm a newbee in Ryu. I want to change time of BPDU. It takes 50 seconds by default. How can I change it? Please let me know source code? I wonder why Ryu using BPDU. I think it's very slow. Thank you, Tsogbayar. --

Re: [Ryu-devel] How the Link delete events is detected?

2015-05-25 Thread Yusuke Iwase
Hi Sakib, On 2015年05月26日 02:28, MD.Badruzzaman Shakib wrote: > Hello everyone, > > I want to get the port information from the link_add event. I couldn't find > any getter function for port number. > for the code below- > > @set_ev_cls(EventLinkAdd, MAIN_DISPATCHER) > def _link_add_handler(self

[Ryu-devel] [PATCH 4/4] test_parser_ofpstats: Add unit test for OFPStats class

2015-05-25 Thread Yusuke Iwase
Signed-off-by: IWASE Yusuke --- ryu/tests/unit/ofproto/test_parser_ofpstats.py | 203 + 1 file changed, 203 insertions(+) create mode 100644 ryu/tests/unit/ofproto/test_parser_ofpstats.py diff --git a/ryu/tests/unit/ofproto/test_parser_ofpstats.py b/ryu/tests/unit/ofpro

[Ryu-devel] [PATCH 3/4] ofproto_v1_5_parser: Add OPFStats parser for Flow Stats Structures

2015-05-25 Thread Yusuke Iwase
This patch adds OPFStats class which has simpler API with OFPMatch class. Signed-off-by: IWASE Yusuke --- ryu/ofproto/ofproto_v1_5_parser.py | 136 + 1 file changed, 136 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5

[Ryu-devel] [PATCH 2/4] test_oxs: Add unit test for oxs_fields.py

2015-05-25 Thread Yusuke Iwase
Signed-off-by: IWASE Yusuke --- ryu/tests/unit/ofproto/test_oxs.py | 116 + 1 file changed, 116 insertions(+) create mode 100644 ryu/tests/unit/ofproto/test_oxs.py diff --git a/ryu/tests/unit/ofproto/test_oxs.py b/ryu/tests/unit/ofproto/test_oxs.py new file

[Ryu-devel] [PATCH 1/4] oxs_fields: Add OXS class support

2015-05-25 Thread Yusuke Iwase
This patch adds OXS class parser for Extensible Flow Entry Statistics in OpenFlow Spec 1.5. note: This pacth has no implementation for specific OXS Experimenter classes as oxm_fields.py has. (eg. ONF Experimenter, Nicira Experimenter) Signed-off-by: IWASE Yusuke --- ryu/ofproto/ofproto_v1_5.py

[Ryu-devel] [PATCH 0/4] Related to 'B.18.3 Extensible Flow Entry Statistics' in OpenFlow 1.5

2015-05-25 Thread Yusuke Iwase
OpenFlow Spec 1.5 introduces OpenFlow eXtensible Statistics (OXS). These patches add OFStats class in order to support OXS class parse/serialization. TODO: - Implementation for specific OXS Experimenter classes support, if exist. (eg. ONF Experimenter, Nicira Experimenter) - To use OXS in al

[Ryu-devel] Question about Ryu apps

2015-05-25 Thread Liz
I can start at the same time rest_router and rest_firewall Ryu's aplication?  I started both with: ~/ryu $:./bin/ryu-manager ryu.app.rest_router ryu.app.rest_firewall I am using "Ryu  SDN Framework" book chapter 9 and 10, but when I made the router and firewalls configurations the host can't ping

Re: [Ryu-devel] How to send group table into openflow switch

2015-05-25 Thread Vinllen Chen
Thankyou Iwase On Tue, May 26, 2015 at 8:14 AM, Yusuke Iwase wrote: > Hi Vinllen, > > On 2015年05月25日 20:51, Vinllen Chen wrote: > > Hi, Dear all: > > > > I want to use the ofp_parser.OFPFlowMod the send the group table > into openflow switch to realize ecmp path, do you have any documents or

Re: [Ryu-devel] Help me, question about ryu and mininet

2015-05-25 Thread Yusuke Iwase
Hi, On 2015年05月25日 23:00, Lia Lia wrote: > I follow the steps described in "Ryu SDN fraework, release 1.0" chapter 9. > 1)build an environment on Mininet: > ryu@ryu-vm:~$ sudo mn --topo linear,3 --mac --switch ovsk --controller remote > -x > 2)Set the version of OpenFlow to be used in each router

Re: [Ryu-devel] How to send group table into openflow switch

2015-05-25 Thread Yusuke Iwase
Hi Vinllen, On 2015年05月25日 20:51, Vinllen Chen wrote: > Hi, Dear all: > > I want to use the ofp_parser.OFPFlowMod the send the group table into > openflow switch to realize ecmp path, do you have any documents or example > that i can follow ? If you want to install an group table entry

[Ryu-devel] How the link add/ link delete is detected?

2015-05-25 Thread MD.Badruzzaman Shakib
Hello , I used LinkAdd and LinkDelete handler in my application as follows- @set_ev_cls(EventLinkAdd, MAIN_DISPATCHER)     def _link_add_handler(self, ev): @set_ev_cls(EventLinkDelete, MAIN_DISPATCHER)     def _link_del_handler(self, ev) Now I want to evaluate the performance of this handlers(how m

[Ryu-devel] How the Link delete events is detected?

2015-05-25 Thread MD.Badruzzaman Shakib
Hello everyone, I want to get the port information from the link_add event. I couldn't find any getter function for port number. for the code below- @set_ev_cls(EventLinkAdd, MAIN_DISPATCHER) def _link_add_handler(self, ev):    link = ev.link     #print "type of links:", type(link)   

Re: [Ryu-devel] Help me, question about ryu and mininet

2015-05-25 Thread Lia Lia
I follow the steps described in "Ryu SDN fraework, release 1.0" chapter 9. 1)build an environment on Mininet: ryu@ryu-vm:~$ sudo mn --topo linear,3 --mac --switch ovsk --controller remote -x 2)Set the version of OpenFlow to be used in each router to 1.3. switch: s1 (root): root@ryu-vm:~# ovs-vsctl

[Ryu-devel] How to send group table into openflow switch

2015-05-25 Thread Vinllen Chen
Hi, Dear all: I want to use the ofp_parser.OFPFlowMod the send the group table into openflow switch to realize ecmp path, do you have any documents or example that i can follow ? Greate appreciate for anyone's reply. Best regards, Vinllen -