tree: 643e4c3024b7a91ffe174dcb631119071d4d6040 [path history] [tgz]
  1. BUCK
  2. README.md
  3. features.xml
  4. pom.xml
  5. src/
drivers/ciena/c5162/README.md

Ciena 5162

This driver allows connection to the Ciena 5162

The User Guide for this product is available on request from Ciena, and gives a full explanation of the theory of operation, functionality and how all functions can be accessed through the REST interface.

Currently only a subset of it's functionality is supported through ONOS, but this will expand to full functionality in future releases.

More information about ONOS's NETCONF support can be found at https://wiki.onosproject.org/display/ONOS/NETCONF.

Compile and Installation

Currently this driver is built using BUCK

All that is required to activate the driver is to run the following at the ONOS CLI

app activate org.onosproject.drivers.ciena.c5162

Usage

Creating Devices

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.

  • The name must follow the format netconf:ipaddr:port
  • The ip and port must correspond to the ip and port in the name (above).
  • The connect-timeout and reply-timeout are optional and control NETCONF communication timeouts
  • The name is optional and allows you to set a human friendly name for the device
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"
        }
      }
    }
}'

Verify Connected Device

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