Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-1104

Installing Opendaylight-Flow-Types into sysrepo

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • High
    • Resolution: Unresolved
    • None
    • None
    • openflowplugin
    • None
      • opendaylight-flow-types @ 2013-10-26
      • Opendaylight / Openflowplugin Sodium
      • sysrepo 1.4.70
      • libyang 1.0.184
      • libenetconf2 1.1.26

    Description

      I am trying to install the opendaylight-flow-types.yang into sysrepo but I am getting the following error:

       

      $ sysrepoctl -i opendaylight-flow-types@2013-10-26.yang -a
      [ERR]: Missing keyword "key" as a child to "list". (path: /openflow-instruction:instruction-container/instruction-choice/write-actions-case/write-actions/action)
      [ERR]: Module "openflow-instruction" parsing failed.
      [ERR]: Importing "openflow-instruction" module into "openflow-protocol" failed.
      [ERR]: Module "openflow-protocol" parsing failed.
      [ERR]: Importing "openflow-protocol" module into "opendaylight-meter-types" failed.
      [ERR]: Module "opendaylight-meter-types" parsing failed.
      [ERR]: Importing "opendaylight-meter-types" module into "opendaylight-flow-types" failed.
      [ERR]: Module "opendaylight-flow-types" parsing failed.
      sysrepoctl error: Failed to install module "opendaylight-flow-types@2013-10-26.yang" (libyang error)

       

       

      It seems this error is related to a missing key field. I understand this yang processes just fine in Opendaylight (we are using ODL and OpenFlow just fine in that environment), however we are looking to use an auxiliary config datastore in our system and noticed this parsing error.

       

      I am also seeing a parsing error in my related OPNFLWPLUG-1103 ticket. 

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              esender Eric Sender
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: