commit | 11794a31fd93a07d5ea0a06fd0a1213419e79b73 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Thu Mar 05 18:04:58 2020 -0800 |
committer | Daniele Moro <daniele@opennetworking.org> | Thu Mar 19 17:22:16 2020 +0000 |
tree | 716e6e8d03d37b263cfaa83ea2e45cb55470b922 | |
parent | 4a8d6684c0ed578c697cbe35cce597729fe078ba [diff] |
Support new SADIS configuration to support multi-tcont Change-Id: I4cf0d7495832a5883e4f75ba60d88e6bb0f79f1e
This service acts as a gateway between ONOS and XOS. ONOS apps expect to pull in deployment information using the SADIS service in a particular format. The SADIS server listens to REST requests from ONOS, and when it receives a request it looks up the appropriate object in XOS and delivers it back to ONOS in the expected format.
docker build -t opencord/sadis-server .
docker run --rm --name sadis --env "SADISSERVER_PORT=4245" --env "SADISSERVER_XOS=10.90.0.101:30006" -p 4245:4245 opencord/sadis-server
sadis.json
for an example.SADISSERVER
Port int `default:"8000" desc:"port on which to listen for requests"` Xos string `default:"127.0.0.1:8181" desc:"connection string with which to connect to XOS"` Username string `default:"admin@opencord.org" desc:"username with which to connect to XOS"` Password string `default:"letmein" desc:"password with which to connect to XOS"` LogLevel string `default:"info" envconfig:"LOG_LEVEL" desc:"detail level for logging"` LogFormat string `default:"text" envconfig:"LOG_FORMAT" desc:"log output format, text or json"`