From ad4613d7dbb0872899a47498b9bb381f20c669fd Mon Sep 17 00:00:00 2001 From: Takeshi Date: Thu, 20 Aug 2015 21:22:21 +0800 Subject: Add missing comment to rest_topology Signed-off-by: Takeshi Signed-off-by: FUJITA Tomonori --- ryu/app/rest_topology.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3