Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-145

Error message refers to wrong parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: Amsterdam Release
    • Fix Version/s: Amsterdam Release
    • Component/s: None
    • Labels:

      Description

      Error mesage to preload-network-topology-operation refers to missing vnf-name and vnf-type which are not valid attributes.  Response message should refer to missing network-name or network-type etc.

       
        if (input == null || input.getNetworkTopologyInformation() == null
      2397             || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier() == null
      2398             || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkName() == null
      2399             || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkType() == null) {
      2400             log.debug("exiting "  SVC_OPERATION  " because of invalid input, null or empty vnf-name and vnf-type");
      2401             responseBuilder.setResponseCode("403");
      2402             responseBuilder.setResponseMessage("input, null or empty vnf-name and vnf-type");
      2403             responseBuilder.setAckFinalIndicator("Y");
      2404             RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
      2405                 RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
      2406                     .build();
      2407             return Futures.immediateFuture(rpcResult);
      2408         }

        Attachments

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

          Activity

            People

            Assignee:
            mgkwill Marcus Williams
            Reporter:
            bdfreeman1421 Brian Freeman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: