Config option for model handlers and backends

The model handlers and their corresponding backends can now be
specified in the configuration file of the shim layer. For every
model handler, one particular backend can be specified in a
dict.

Change-Id: I5866e921850b9bfc16f5815744f692bfe432b330
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This commit is contained in:
Georg Kunz
2017-01-14 02:36:27 +01:00
parent 5cda5853c3
commit eb89344383
5 changed files with 59 additions and 16 deletions

View File

@@ -11,6 +11,11 @@ etcd_port = 2379
# host_list = host1,host2,host3
host_list = *
# Select the model to load with the corresponding backend. This config option is a dict
# where the key represents the name of the model and the value the name of the backend
# which is to be used for this model.
handlers = net-l3vpn:net-l3vpn-odl
[shim_odl]
# IP of the OpenDaylight RESTconf interface. Typically needs to be changed after installation.