Add missing comment to rest_topology

Signed-off-by: Takeshi <a86487817@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Takeshi 2015-08-20 21:22:21 +08:00 committed by FUJITA Tomonori
parent 06d84458a4
commit ad4613d7db

View File

@ -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