Hi, Markku
Thanks, I succeeded to reproduce your problem. The cause is that rest_pos.py does not support LLDP(ether_type: 88cc). The quick fix is making rest_qos.py to support LLDP, so: diff --git a/ryu/app/rest_qos.py b/ryu/app/rest_qos.py index 9fe72ed..6e750e6 100644 --- a/ryu/app/rest_qos.py +++ b/ryu/app/rest_qos.py @@ -211,6 +211,7 @@ REST_DL_TYPE = 'dl_type' REST_DL_TYPE_ARP = 'ARP' REST_DL_TYPE_IPV4 = 'IPv4' REST_DL_TYPE_IPV6 = 'IPv6' +REST_DL_TYPE_LLDP = 'lldp' REST_DL_VLAN = 'dl_vlan' REST_SRC_IP = 'nw_src' REST_DST_IP = 'nw_dst' @@ -946,7 +947,8 @@ class Match(object): _CONVERT = {REST_DL_TYPE: {REST_DL_TYPE_ARP: ether.ETH_TYPE_ARP, REST_DL_TYPE_IPV4: ether.ETH_TYPE_IP, - REST_DL_TYPE_IPV6: ether.ETH_TYPE_IPV6}, + REST_DL_TYPE_IPV6: ether.ETH_TYPE_IPV6, + REST_DL_TYPE_LLDP: ether.ETH_TYPE_LLDP}, REST_NW_PROTO: {REST_NW_PROTO_TCP: inet.IPPROTO_TCP, REST_NW_PROTO_UDP: inet.IPPROTO_UDP, Does this fix work for you? Thanks, Fujimoto On 2017年04月20日 16:13, Markku Savela wrote: > On 20/04/17 09:43, Fujimoto Satoshi wrote: >> I want to know the commands which you ran for OVS and Ryu, too. >> Could you tell me the commands which you ran in [c0, h1, h2, s1]? > The exact commands as shown on page > > https://osrg.github.io/ryu-book/en/html/rest_qos.html > > Except adding "--observe-links" and > "ryu.app.gui_topolology.gui_topology" to ryu-manager start, and started > out in directory cloned from the git repo. > > (OK, my gui_topology.py is modified, perhaps I should test it with the > stock variant from git repository). > > Then following (c0) gives the crash at "Verity the Setting" point... > > curl -X GET http://localhost:8080/qos/rules/0000000000000001 > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel