Added api to list and reconnect a XDS-Server.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 9 Mar 2018 16:28:43 +0000 (17:28 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 13 Mar 2018 11:39:57 +0000 (12:39 +0100)
commit80708aa2578f3598fc8abd4d08e576947da22872
tree5ec6e414a3f41bea2d157b91f7ef4ac6cb8284a0
parent1499569abc3e8440592add96f96e01791282a246
Added api to list and reconnect a XDS-Server.

Added following routes:
 /servers  =>  list all known XDS-Server
 /servers/:id  => get info of a XDS-Server
 /servers/:id/reconnect  => force reconnection of a XDS-Server

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/agent/apiv1-servers.go [new file with mode: 0644]
lib/agent/apiv1.go
lib/agent/xdsserver.go
lib/xdsconfig/configfile.go