Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5709

Cannot confirm the device was configured

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3

      Description

      https://gerrit.onosproject.org/#/c/11902/ occurs this problem. Cannot get devices json from onos cli.

      Test starts NETCONF App in all currently running nodes. And then, it starts OF-Config server on device to be configured. After that, it creates configuration file and uploads it to the device to be configured.
      Configuration file:

      { "devices":{ "netconf:10.128.8.10:830":{ "basic":{ "driver":"ovs-netconf" } } }, "apps": { "org.onosproject.netconf":{ "devices":[ { "name":"sdn", "password":"rocks", "ip":"10.128.8.10", "port":830} ] } } }
      

      At the end, it should verify that the device was configured successfully by doing

      devices -j

      to check json.
      Json we use on netconf testing:

      {
          "apps": {
              "org.onosproject.netconf": {
                  "devices": [
                      {
                          "ip": "10.128.50.10",
                          "name": "sdn",
                          "password": "rocks",
                          "port": 830
                      }
                  ]
              }
          },
          "devices": {
              "netconf:10.128.50.10:830": {
                  "basic": {
                      "driver": "ovs-netconf"
                  }
              }
          }
      }
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Kostis Konstantinos Kanonakis
            Reporter:
            alison_shu Ming Yan Shu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: