summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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