All that is required to activate the driver is to run the following at the ONOS CLI
app activate org.onosproject.drivers.ciena.c5162
Ciena 5162 Devices are not Openflow devices. The connectivity is initiated from ONOS. They have to be created through the network/configuration 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": { "netconf:10.184.136.186:830": { "netconf": { "port": 830, "ip": "10.184.136.186", "username": "su", "password": "cws", "connect-timeout": 120, "reply-timeout": 640 }, "basic": { "driver": "ciena-c5162-netconf", "name": "my-switch" } } } }'
When the 5162 is configured and connected is should be visible in ONOS through the devices
command.
onos> devices id=netconf:10.184.136.186:830, available=true, local-status=connected 1s ago, role=MASTER, type=SWITCH, mfr=Ciena, hw=5162, sw=saos-01-01-00-0025, serial=M9258118, driver=ciena-5162-netconf, gridX=null, gridY=null, ipaddress=10.184.136.186, latitude=null, locType=none, longitude=null, name=my-switch, port=830, protocol=NETCONF