All that is required to activate the driver is to run the following at the ONOS CLI
app activate org.onosproject.drivers.ciena.waveserver.rest
Ciena Waveserver Devices are not Openflow devices. The connectivity is initiated from ONOS. They have to be created through the network/configuration REST interface in ONOS.
curl -X POST http://onos-ip:8181/onos/v1/network/configuration -H 'Authorization: Basic b25vczpyb2Nrcw==' \ -H 'Content-Type: application/json' \ -d '{ "devices": { "rest:10.181.66.217:443": { "rest": { "port": 443, "ip": "10.181.66.217", "username": "su", "password": "cws", "protocol": "https", "url": "/yang-api/datastore/" }, "basic": { "driver": "ciena-waveserver-rest" } } } }'
When the Waveserver is configured and connected is should be visible in ONOS through the devices
command.
onos> devices id=rest:10.181.66.217:443, available=true, local-status=connected 32s ago, role=MASTER, type=SWITCH, mfr=unknown, hw=unknown, sw=unknown, serial=unknown, driver=ciena-waveserver-rest, ipaddress=10.181.66.217, locType=geo, name=rest:10.181.66.217:443, protocol=REST