diff options
author | deepikasatheesh <deepika.s84@wipro.com> | 2021-09-01 18:07:44 +0000 |
---|---|---|
committer | deepikasatheesh <deepika.s84@wipro.com> | 2021-09-01 18:07:44 +0000 |
commit | 8df01ce9809d7ef1e047ca3f585a83bdc205e6d7 (patch) | |
tree | b0bcbdac45e5344e8107e3e748e6c8e5c81affe0 | |
parent | 11b71ce0c8520c4f20e00805bfadf2672a537d0e (diff) |
Subnet Type update for respective TN domain
Issue-ID: SO-3704
Signed-off-by: deepikasatheesh <deepika.s84@wipro.com>
Change-Id: Id62d2a20748f95445317d812b00e6bd2b4220c85
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 50f0e3d8ce..f5cdf1b6fc 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; } |