ryu/app/rest_topology.py | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

http://blog.takeshi.tw
From 8da606c64e28f9d4117cb343d2833ba24cbd25bb Mon Sep 17 00:00:00 2001
From: Takeshi <a86487...@gmail.com>
Date: Thu, 20 Aug 2015 21:22:21 +0800
Subject: [PATCH] Add missing comment to rest_topology

Signed-off-by: Takeshi <a86487...@gmail.com>
---
 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 77cfc37..332df3f 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
 
-- 
2.3.2 (Apple Git-55)

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to