Please confirm you've ran your apps with "--observe-links" option.
Without this, host detection won't work.
please tell me commands you ran to run your apps and to make ping.
Post by Mahmoud ElzoghbiIt is a great analysis, but after enable switch as a firewall and make
ping to make arp request to catch hosts mac by rest topology.py
It return empty list also
On Jun 21, 2017 4:33 AM, "Fujimoto Satoshi"
Hi, Mahmoud
First, rest_topology.py can find hosts only after the controller
catch the packet from hosts.
OTOH, by the default, rest_firewall.py drops all packets at the switch.
So, rest_topology.py could not find any hosts, because it catch no
packet from hosts.
* enable the switch in order not to drop all packets
https://osrg.github.io/ryu-book/en/html/rest_firewall.html#changing-in-the-initial-state
<https://osrg.github.io/ryu-book/en/html/rest_firewall.html#changing-in-the-initial-state>
* send packets from hosts in order to notify the host exists
Thanks,
Fujimoto
Post by Mahmoud ElzoghbiIt responses with empty list
On Jun 21, 2017 3:12 AM, "Fujimoto Satoshi"
Hi, Mahmoud
Sorry, but I can't solve your problem without more information.
I want to know how you ran apps, it is needed to reproduce your problem.
So, could you tell me the command which you ran?
And, what "doesn't work" means?
It replies with empty list, or responds with 404?
It is helpful for me to tell me the response from
rest_topology.py.
Thanks,
Fujimoto
Post by Mahmoud ElzoghbiRest_topology.py module help me to get all hosts ' s mac
address and ipv4 address by using rest request
(http:/localhost:8080/v1.0/topology/hosts
<http:/localhost:8080/v1.0/topology/hosts>).
My problem is when i run Rest_topology.py with
simple_switch.py it works fine and get all hosts' s mac
address but when I run Rest_topology.py with
rest_firewall.py It doesn't work.
On Jun 20, 2017 6:21 AM, "Fujimoto Satoshi"
Hi, Mahmoud
Sorry, I couldn't reproduce your problem...
* The command which you ran
* Log messages of Ryu with '--verbose' option
* Diff of rest_firewall.py, if you modified
rest_firewall.py
Thanks,
Fujimoto
Post by Mahmoud Elzoghbiwhen i run rest_firewall.py with rest_topology,py , i
use Rest request
(http:://localhost:8080/v1.0/topology/hosts) to get all
hosts that connect with the switch but these request
doesn't work (no response from this request).
do you have any idea for this problem..
------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/ryu-devel
<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
https://lists.sourceforge.net/lists/listinfo/ryu-devel
<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
https://lists.sourceforge.net/lists/listinfo/ryu-devel
<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
https://lists.sourceforge.net/lists/listinfo/ryu-devel