Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-3130

Different OF Errors for different internal VOLTHA ones

    XMLWordPrintable

    Details

      Description

      Currently the OfAgent-go handles every error in the Core pertaining to FLOW by translating it into `BAD_COMMANDS`
      See:
      https://github.com/opencord/ofagent-go/blob/master/internal/pkg/openflow/flowMod.go#L243-L277
      the resulting log in ONOS is
      21:17:09.591 ERROR [OFChannelHandler] OFFlowModFailedErrorMsgVer13(xid=0, code=BAD_COMMAND, data=[unparsed: 04 0e 00 38 00 00 00 00 00 b7 00 00 9d 64 6a ca 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00]) from switch DefaultSwitchHandshaker

      {session=10.233.102.168:50776, dpid=00:00:0a:0a:0a:0a:0a:00}

      in state ACTIVE

      The OfAgent should instead parse the error message returned from VOLTHA and specify the most accurate OF error code to ONOS in a dynamic way.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrea Andrea Campanella
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes