Add SDN Manager

To create SDN manager, use the following request:

POST /settings/sdn/managers.xml 
POST /settings/sdn/managers.json

XML Request Example

curl -i -X POST -u user:userpass --url http://onapp.test/settings/sdn/managers.xml -H 'Accept: application/xml' -H 'Content-type: application/xml' -d '<networking_sdn_manager><label>Manager</label><host></host><login>admin</login><password>admin</password><port>8080</port></networking_sdn_manager>'

JSON Request Example

curl -i -X POST -u user:userpass --url http://onapp.test/settings/sdn/managers.json -H 'Accept: application/json' -H 'Content-type: application/json' -d '{"networking_sdn_manager": {"label": "Manager", "host": "", "login": "admin", "password": "admin", "port": "8080"}}'


label - the name of the SDN manager

host - the hostname or IP address of the ODL controller 

port - the port to connect to ODL controller (e.g. 9090, 8080)

login - user login name to login into ODL controller 

password - user password