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

VirtualNetworkManager.get does not return existing service class

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      K Sprint #1 - Virtual Net, K Sprint #2 - Virtual Net

      Description

      VirtualNetworkManager maintains a map of network-specific services, which a user can obtain via VirtualNetworkService.get(NetworkId networkId, Class<T> serviceClass);

      The first time the get method is invoked for a specific network and service class combination, an instance is created and stored so that subsequent "get" invocations will return the existing service class instance.

      This is currently not happening - all "get" invocations will result in new instances of the service class being created. As a result, error "Error executing command: Store delegate already set" is seen during testing.

        Attachments

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

          Activity

            People

            • Assignee:
              cchiu Claudine Chiu
              Reporter:
              cchiu Claudine Chiu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: