summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTakeshi <a86487817@gmail.com>2015-08-20 21:22:21 +0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-21 09:33:15 +0900
commitad4613d7dbb0872899a47498b9bb381f20c669fd (patch)
tree412ccec4e9a83b9b10f85972b2d6a101cf0a16b2
parent06d84458a4e0400281d134c08be3faea46d886fa (diff)
Add missing comment to rest_topology
Signed-off-by: Takeshi <a86487817@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/app/rest_topology.py6
1 files changed, 6 insertions, 0 deletions
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/<dpid>
#
+# get all the hosts
+# GET /v1.0/topology/hosts
+#
+# get the hosts of a switch
+# GET /v1.0/topology/hosts/<dpid>
+#
# where
# <dpid>: datapath id in 16 hex