diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2021-09-22 13:28:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-22 13:28:56 +0000 |
commit | 55ddb3ec6edcb5cca73d9012bac1972cd7da15db (patch) | |
tree | ad4899892758ba5173e81911a4ffafeedee90aa9 | |
parent | 518f45ee8458305f6fcc6e46f6ab714b552265de (diff) | |
parent | 8df01ce9809d7ef1e047ca3f585a83bdc205e6d7 (diff) |
Merge "Subnet Type update for respective TN domain"
2 files changed, 4 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy index 0d64d7811b..0088ed4e54 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy @@ -691,6 +691,7 @@ class DoAllocateNSIandNSSI extends AbstractServiceTaskProcessor{ allocateTnNssi.setNetworkSliceInfos() allocateTnNssi.setSliceProfile(sliceTaskInfo.sliceProfile.trans2TnProfile()) + allocateTnNssi.getSliceProfile().setDomainType(sliceTaskInfo.subnetType.subnetType) NsiInfo nsiInfo = new NsiInfo() nsiInfo.setNsiId(sliceParams.suggestNsiId) nsiInfo.setNsiName(sliceParams.suggestNsiName) diff --git a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java index dca249336e..ffce5e9a23 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java @@ -49,6 +49,9 @@ public class TnSliceProfile implements Serializable { @JsonProperty(value = "jitter") private int jitter; + @JsonProperty(value = "domainType") + private String domainType; + @JsonProperty(value = "resourceSharingLevel") private ResourceSharingLevel resourceSharingLevel; } |