Home Forums Solution suite Ryu SDN starter kit Problem with Ryu SDN starter kit

This topic contains 0 replies, has 1 voice, and was last updated by  Xu Yicheng 2 years, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1203

    Xu Yicheng
    Participant

    hello, I`m a newbie in Ryu. Here is the problem, when I first run “run_sdnhub_app.sh”, everything is fine. Then I create the topo by using “sudo mn –controller=remote,ip=192.168.56.130,port=6633 –topo single,3 –mac –switch omsk,protocols=OpenFlow13″, something is wrong.
    root@ryu-vm:/home/ryu/ryu# ./ryu/app/sdnhub_apps/run_sdnhub_apps.sh
    loading app ryu.app.sdnhub_apps.fileserver
    loading app ryu.app.sdnhub_apps.host_tracker_rest
    loading app ryu.app.rest_topology
    loading app ryu.app.sdnhub_apps.stateless_lb_rest
    loading app ryu.app.sdnhub_apps.tap_rest
    loading app ryu.app.ofctl_rest
    loading app ryu.controller.ofp_handler
    creating context dpset
    creating context wsgi
    creating context tap
    creating context stateless_lb
    creating context host_tracker
    creating context learning_switch
    instantiating app ryu.app.sdnhub_apps.stateless_lb_rest
    instantiating app ryu.controller.ofp_handler
    instantiating app ryu.app.sdnhub_apps.tap_rest
    instantiating app ryu.app.rest_topology
    instantiating app ryu.app.ofctl_rest
    instantiating app ryu.app.sdnhub_apps.host_tracker_rest
    instantiating app ryu.app.sdnhub_apps.fileserver
    (2799) wsgi starting up on http://0.0.0.0:8080/
    hub: uncaught exception: Traceback (most recent call last):
    File “/home/ryu/ryu/ryu/lib/hub.py”, line 48, in _launch
    func(*args, **kwargs)
    File “/home/ryu/ryu/ryu/base/app_manager.py”, line 110, in _event_loop
    handler(ev)
    File “/home/ryu/ryu/ryu/app/sdnhub_apps/tap.py”, line 70, in switch_features_handler
    out_port=ofproto.OFPP_ANY,out_group=ofproto.OFPG_ANY)
    AttributeError: ‘module’ object has no attribute ‘OFPP_ANY’

    hub: uncaught exception: Traceback (most recent call last):
    File “/home/ryu/ryu/ryu/lib/hub.py”, line 48, in _launch
    func(*args, **kwargs)
    File “/home/ryu/ryu/ryu/base/app_manager.py”, line 110, in _event_loop
    handler(ev)
    File “/home/ryu/ryu/ryu/app/sdnhub_apps/learning_switch.py”, line 156, in state_change_handler
    actions = [ofp_parser.OFPActionOutput(ofp.OFPP_CONTROLLER, ofp.OFPCML_NO_BUFFER)]
    AttributeError: ‘module’ object has no attribute ‘OFPCML_NO_BUFFER’

    How can I fix it?
    Thank you!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Login with: