Hi Phani,
You seem to use tap.py (in sdnhub_apps), and it is not Ryu built-in module.
Do you use the SDN Hub VM image?
If so, how about contact with SDN Hub team?
Thanks,
Fujimoto
On 2017年04月07日 12:56, Phani Siriki wrote:
Hi All
When I am trying to run two REST applications - gui_topology.py and
tap_rest.py using ryu-manager, all REST API calls are failing.
ubuntu@sdnhubvm:~/ryu[20:46] (master)$ ./bin/ryu-manager
ryu/app/gui_topology/gui_topology.py ryu/app/sdnhub_apps/tap_rest.py
loading app ryu/app/gui_topology/gui_topology.py
loading app ryu/app/sdnhub_apps/tap_rest.py
loading app ryu.app.rest_topology
loading app ryu.app.ws_topology
loading app ryu.app.ofctl_rest
loading app ryu.controller.ofp_handler
instantiating app None of Switches
creating context switches
instantiating app None of DPSet
creating context dpset
creating context wsgi
instantiating app None of StarterTap
creating context tap
instantiating app ryu.controller.ofp_handler of OFPHandler
instantiating app ryu/app/gui_topology/gui_topology.py of GUIServerApp
instantiating app ryu.app.rest_topology of TopologyAPI
instantiating app ryu/app/sdnhub_apps/tap_rest.py of TapRestApi
instantiating app ryu.app.ofctl_rest of RestStatsApi
instantiating app ryu.app.ws_topology of WebSocketTopology
(3824) wsgi starting up on http://0.0.0.0:8080/
/home/ubuntu/ryu/ryu/topology/switches.py:478: UserWarning:
Datapath#ports is kept for compatibility with the previous openflow
versions (< 1.3). This not be updated by EventOFPPortStatus message.
If you want to be updated, you can use 'ryu.controller.dpset' or
'ryu.topology.switches'.
for port in dp.ports.values():
(3824) accepted ('127.0.0.1', 55477)
127.0.0.1 - - [06/Apr/2017 20:47:23] "GET /v1.0/topology/switches
HTTP/1.1" 404 352 0.014968
(3824) accepted ('127.0.0.1', 55478)
127.0.0.1 - - [06/Apr/2017 20:47:32] "GET /stats/switches HTTP/1.1"
404 344 0.002400
(3824) accepted ('127.0.0.1', 55479)
127.0.0.1 - - [06/Apr/2017 20:47:37] "POST /v1.0/tap/create HTTP/1.1"
404 345 0.001055
I have attached tap_rest.py file.
Can anyone help me on how to resolve this problem.
Best Regards
Phani
------------------------------------------------------------------------------
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