Re: [Ryu-devel] Where can I get the documents about RYU events (thecomprehensive list and the meanings of them).

2015-12-04 Thread muzixing.com
There are mainly two types of event in Ryu:created form OpenFlow packets and created from network states. For instance, EventOFPSwitchFeatures is generated from OFPSwitchFeatures, while the EventOFPStateChange is generated from a trigger of network state changed. You can find some information in

[Ryu-devel] ?????? Rest_QoS unknown behavior

2015-10-29 Thread muzixing.com
I think you should attach some pictures or text to show the error information. -- Distance _ School of Information and Communication Engineering Beijing University of Posts and Telecommunications Beijing 100876, PR China ?

[Ryu-devel] ?????? utils module has not attribute bytearray_to_hex

2015-09-01 Thread muzixing.com
-mail: 350959...@qq.com licheng185...@gmail.com Homepage: http://www.muzixing.com -- -- ??: "muzixing.com";<15116983...@qq.com>; : 2015??9??2??(??) 10:59 ??: "ryu-devel"; : [Ryu-devel] util

[Ryu-devel] utils module has not attribute bytearray_to_hex

2015-09-01 Thread muzixing.com
If errors occur when parsing a packet, Ryu will raise a except, which will call utils.bytearray_to_hex method. Unfortunately, it will raise an attribute ERROR: 'module' utils has not attribute 'bytearray_to_hex' but I still can find the bytearray_to_hex method in utils.py Why? Related co

[Ryu-devel] ?????? How to get data from other module.

2015-08-27 Thread muzixing.com
?? _ Mobile Phone: (+86) 151-1698-3550 Beijing E-mail: 350959...@qq.com licheng185...@gmail.com Homepage: http://www.muzixing.com -- -- ??: "Yusuke Iwase";; : 2015??8??27??(??) 10:21 ??: &qu

[Ryu-devel] How to get data from other module.

2015-08-25 Thread muzixing.com
Hi, all. If I want to get some data from other module of app, what should I do? I know we can use CONTEXT to get the app as a service, and then we can get the data in that app. But, the logic of these two app is not about producer and consumer. The second method to get this data

[Ryu-devel] ?????? ?????? ????: Re: LLDP packet parse error: LLDPUnknownFormat

2015-08-25 Thread muzixing.com
___ Mobile Phone: (+86) 151-1698-3550 Beijing E-mail: 350959...@qq.com licheng185...@gmail.com Homepage: http://www.muzixing.com -- -- ??: "Yusuke Iwase";; : 2015??8??25??(??) 4:12 ?

[Ryu-devel] ?????? ????: Re: LLDP packet parse error: LLDPUnknownFormat

2015-08-25 Thread muzixing.com
ke Iwase";; : 2015??8??25??(??) 1:55 ??: "muzixing.com"<15116983...@qq.com>; : "ryu-devel"; : Re: [Ryu-devel] : Re: LLDP packet parse error: LLDPUnknownFormat Hi, On 2015??08??25?? 14:18, muzixing.com wrote: > I do not mean to send the s

[Ryu-devel] ?????? ????: Re: LLDP packet parse error: LLDPUnknownFormat

2015-08-25 Thread muzixing.com
___ Mobile Phone: (+86) 151-1698-3550 Beijing E-mail: 350959...@qq.com licheng185...@gmail.com Homepage: http://www.muzixing.com -- -- ??: "Yusuke Iwase";; : 2015??8??25??(??) 1:55 ??: "muzixing.com"<

[Ryu-devel] ????: Re: LLDP packet parse error: LLDPUnknownFormat

2015-08-24 Thread muzixing.com
uot;Yusuke Iwase" :2015??8??25?? ?? 1:2 ??:"15116983550"<15116983...@qq.com> :"ryu-devel" :Re: [Ryu-devel] LLDP packet parse error: LLDPUnknownFormat Hi, On 2015??08??25?? 12:52, muzixing.com wrote: > Hi all, >I built an Packet_in

[Ryu-devel] LLDP packet parse error: LLDPUnknownFormat

2015-08-24 Thread muzixing.com
Hi all, I built an Packet_in packet with LLDP, and send it from a controller to another controller. When I parse the packet, I can get PacketIn packet with data. But the data is Not LLDP packet. When parse data ,I get LLDPUnknownFormat exception. The packet information show below. {'total_l

[Ryu-devel] ?????? How to register observes for self-defined event?

2015-07-31 Thread muzixing.com
qq.com licheng185...@gmail.com Homepage: http://www.muzixing.com -- ???? -- ??: "muzixing.com";<15116983...@qq.com>; : 2015??8??1??(??) 11:42 ??: "ryu-devel"; : [Ryu-devel] How to register obse

[Ryu-devel] How to register observes for self-defined event?

2015-07-31 Thread muzixing.com
To whom it may concern, I try to generate a self-defined event in Ryu. What I have done shows below, 1. define a xxx_event.py and define a Event in this file. 2. In a Ryu app, import xxx_event. Call the self.send_event_to_observers(ev, self.state) 3. In another Ryu

[Ryu-devel] Links bug of topology discovery

2015-05-19 Thread muzixing.com
Hi all, I might find a bug about get_links of topology discovery. I really want to know the reason. First of all, I start ryu by: ryu-manager --observe-links app/simple_switch_13.py ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest Then , I start Mininet by :

[Ryu-devel] Links bug of topology discovery

2015-05-19 Thread muzixing.com
Hi all, I might find a bug about get_links of topology discovery. I really want to know the reason. First of all, I start ryu by: ryu-manager --observe-links app/simple_switch_13.py ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest Then , I start Mininet by :

[Ryu-devel] AttributeError when pip install ryu in virtualenv

2015-05-14 Thread muzixing.com
Hi all, I met a problem of ryu installation through pip install ryu. The message shows below: (container)root@muzi-OptiPlex-390:/home/muzi/python/container# pip install ryu Downloading/unpacking ryu Downloading ryu-3.20.2.tar.gz (1.2MB): 1.2MB downloaded Running setup.py egg_info for

[Ryu-devel] ?????? How to run ryu by pypy.

2015-05-05 Thread muzixing.com
g";; : 2015??5??5??(??) 9:08 ??: "muzixing.com"<15116983...@qq.com>; : "ryu-devel"; : Re: [Ryu-devel] How to run ryu by pypy. pypy seems not found the "ryu" module in its default library path when it runs "import ryu ba

[Ryu-devel] How to run ryu by pypy.

2015-05-05 Thread muzixing.com
Hi all, How can I run ryu by pypy? I try :pypy -c ryu-manager , but return an error:NameError: global name 'ryu' is not defined. I have install pypy, but when I start python, the message shows that: root@muzi-OptiPlex-390:~/ryu# python Python 2.7.3 (default, Feb 27 201

Re: [Ryu-devel] ryu topology

2015-04-27 Thread muzixing.com
I believe my blog may help you:http://www.muzixing.com/pages/2015/04/21/ryu316-guian-zhuang-yu-topologymo-kuai-fen-xi.html You can find more helpful information from my homepage. -- Li Cheng _ School of Information and Comm

Re: [Ryu-devel] Installing openvswitch that support openflow13

2015-03-14 Thread muzixing.com
you can find some help at http://www.muzixing.com/pages/2014/11/02/openvswitch230-and-mininet-install.html about how to install OVS2.3.0, also, you can find how to install ryu in my blog, or git clone a ryuinstallhelper repository from github. -- Li Cheng ___