diff options
Diffstat (limited to 'server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java')
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java index 0a5623cb..ffe8b49b 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java @@ -205,7 +205,7 @@ public class IntentInstanceServiceImpl implements IntentInstanceService { params.put("subscriptionServiceType", "IBN"); params.put("serviceType", "CLL"); Map<String, Object> additionalProperties = new HashMap<>(); - additionalProperties.put("enableSdnc", "false"); + additionalProperties.put("enableSdnc", "true"); additionalProperties.put("serviceInstanceID", "cll-" + instance.getInstanceId()); List<Map<String, Object>> transportNetworks = new ArrayList<>(); Map<String, Object> transportNetwork = new HashMap<>(); @@ -404,7 +404,7 @@ public class IntentInstanceServiceImpl implements IntentInstanceService { continue; } JSONObject networkPolicyInfo = networkPolicyInfoResponse.body(); - int maxBandwidth = networkPolicyInfo.getIntValue("max-bandwidth"); + int maxBandwidth = networkPolicyInfo.getIntValue("max-bandwidth") * 1000; InstancePerformance instancePerformance = new InstancePerformance(); instancePerformance.setMaxBandwidth(maxBandwidth); instancePerformance.setResourceInstanceId(instance.getResourceInstanceId()); |