You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

General Information

URL: http://danteweb.lnf.infn.it:8000/

GIT Repository: https://baltig.infn.it/lnf-da-control/dafnews

(warning) WARNING: The app needs control system files (/u2/dcs). danteweb mounts this folder at boot time (read-only). If this tools needs to be configured on another host,

remember to mount this folder and adjust paths inside dafnews/utils/devil_parser.py

API List

getConnInfo/<devils>

Description

Use this API to obtain the IP and the TCP_PORT where the DEVILs, specified in the <devils> comma separated list, are listening for connection.

Call Method

GET

Example Query

http://danteweb.lnf.infn.it:8000/getConnInfo/632,651,699

returns

[{
	"number": 632,
	"host": "192.168.198.126",
	"tcp_port": 6342
}, {
	"number": 651,
	"host": "192.168.198.128",
	"tcp_port": 6342
}, {
	"number": 699,
	"host": "192.168.198.114",
	"tcp_port": 6343
}]
  • No labels