diff --git a/ryu/app/rest_topology.py b/ryu/app/rest_topology.py index 77cfc37e..332df3f5 100644 --- a/ryu/app/rest_topology.py +++ b/ryu/app/rest_topology.py @@ -35,6 +35,12 @@ from ryu.topology.api import get_switch, get_link, get_host # get the links of a switch # GET /v1.0/topology/links/ # +# get all the hosts +# GET /v1.0/topology/hosts +# +# get the hosts of a switch +# GET /v1.0/topology/hosts/ +# # where # : datapath id in 16 hex