diff options
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo')
12 files changed, 556 insertions, 13 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/NslcmNotifyLCMEventsRequest.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/NslcmNotifyLCMEventsRequest.java index ccfe8f25..a30cf50b 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/NslcmNotifyLCMEventsRequest.java +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/NslcmNotifyLCMEventsRequest.java @@ -18,6 +18,7 @@ package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo; import java.util.List; import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum; +import org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity.AffectedCp; import org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity.AffectedVirtualLink; import org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity.AffectedVirtualStorage; import org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity.AffectedVnfc; @@ -28,7 +29,6 @@ public class NslcmNotifyLCMEventsRequest { @JsonProperty("status") private CommonEnum.status status; - @JsonProperty("vnfInstanceId") private String vnfInstanceId; @JsonProperty("operation") @@ -37,10 +37,14 @@ public class NslcmNotifyLCMEventsRequest { private String jobId; @JsonProperty("affectedVnfc") private List<AffectedVnfc> affectedVnfc; + @JsonProperty("affectedCp") + private List<AffectedCp> affectedCp; @JsonProperty("affectedVl") private List<AffectedVirtualLink> affectedVl; @JsonProperty("affectedVirtualStorage") private List<AffectedVirtualStorage> affectedVirtualStorage; + + public CommonEnum.status getStatus() { return status; } diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AddResource.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AddResource.java new file mode 100644 index 00000000..0bb58ec4 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AddResource.java @@ -0,0 +1,62 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class AddResource { + @JsonProperty("type") + private String type; + + @JsonProperty("resourceTemplate") + private ResourceTemplate resourceTemplate; + + @JsonProperty("resourceDefinitionId") + private int resourceDefinitionId; + + @JsonProperty("vdu") + private String vdu; + + public String getType() { + return type; + } + public void setType(String type) { + this.type = type; + } + public ResourceTemplate getResourceTemplate() { + return resourceTemplate; + } + public void setResourceTemplate(ResourceTemplate resourceTemplate) { + this.resourceTemplate = resourceTemplate; + } + public int getResourceDefinitionId() { + return resourceDefinitionId; + } + public void setResourceDefinitionId(int resourceDefinitionId) { + this.resourceDefinitionId = resourceDefinitionId; + } + public String getVdu() { + return vdu; + } + public void setVdu(String vdu) { + this.vdu = vdu; + } + + + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AdditionalParam.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AdditionalParam.java new file mode 100644 index 00000000..513e9df4 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AdditionalParam.java @@ -0,0 +1,52 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class AdditionalParam { + @JsonProperty("vnfmid") + private String vnfmid; + @JsonProperty("vimid") + private String vimid; + @JsonProperty("tenant") + private String tenant; + + public String getVnfmid() { + return vnfmid; + } + + public void setVnfmid(String vnfmid) { + this.vnfmid = vnfmid; + } + + public String getVimid() { + return vimid; + } + + public void setVimid(String vimid) { + this.vimid = vimid; + } + + public String getTenant() { + return tenant; + } + + public void setTenant(String tenant) { + this.tenant = tenant; + } + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedCp.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedCp.java new file mode 100644 index 00000000..299e6f57 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedCp.java @@ -0,0 +1,86 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class AffectedCp { + + @JsonProperty("virtualLinkInstanceId") + private String virtualLinkInstanceId; + @JsonProperty("cpinstanceid") + private String cpinstanceid; + @JsonProperty("cpdid") + private String cpdid; + @JsonProperty("ownerType") + private String ownerType; + @JsonProperty("ownerId") + private String ownerId; + @JsonProperty("changeType") + private CommonEnum.changeType changeType; + @JsonProperty("portResource") + private PortResource portResource; + + public String getVirtualLinkInstanceId() { + return virtualLinkInstanceId; + } + public void setVirtualLinkInstanceId(String virtualLinkInstanceId) { + this.virtualLinkInstanceId = virtualLinkInstanceId; + } + public String getCpinstanceid() { + return cpinstanceid; + } + public void setCpinstanceid(String cpinstanceid) { + this.cpinstanceid = cpinstanceid; + } + public String getCpdid() { + return cpdid; + } + public void setCpdid(String cpdid) { + this.cpdid = cpdid; + } + public String getOwnerType() { + return ownerType; + } + public void setOwnerType(String ownerType) { + this.ownerType = ownerType; + } + public String getOwnerId() { + return ownerId; + } + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + } + public CommonEnum.changeType getChangeType() { + return changeType; + } + public void setChangeType(CommonEnum.changeType changeType) { + this.changeType = changeType; + } + public PortResource getPortResource() { + return portResource; + } + public void setPortResource(PortResource portResource) { + this.portResource = portResource; + } + + + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedVirtualStorage.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedVirtualStorage.java index 6139adb8..c16c5399 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedVirtualStorage.java +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/AffectedVirtualStorage.java @@ -19,38 +19,44 @@ import com.fasterxml.jackson.annotation.JsonProperty; public class AffectedVirtualStorage { @JsonProperty("vsInstanceId") - private String vsInstanceId; + private String vsInstanceId; @JsonProperty("vsdId") - private String vsdId; - + private String vsdId; @JsonProperty("changeType") - private String changeType; + private String changeType; @JsonProperty("storageResource") - private String storageResource; + private String storageResource; + public String getVsInstanceId() { return vsInstanceId; } + public void setVsInstanceId(String vsInstanceId) { this.vsInstanceId = vsInstanceId; } + public String getVsdId() { return vsdId; } + public void setVsdId(String vsdId) { this.vsdId = vsdId; } + public String getChangeType() { return changeType; } + public void setChangeType(String changeType) { this.changeType = changeType; } + public String getStorageResource() { return storageResource; } + public void setStorageResource(String storageResource) { this.storageResource = storageResource; } - - + } diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/PortResource.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/PortResource.java new file mode 100644 index 00000000..e39edf82 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/PortResource.java @@ -0,0 +1,81 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PortResource { + + @JsonProperty("vimid") + private String vimid; + @JsonProperty("resourceid") + private String resourceid; + @JsonProperty("resourceName") + private String resourceName; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("ipAddress") + private String ipAddress; + @JsonProperty("macAddress") + private String macAddress; + @JsonProperty("instId") + private String instId; + + public String getVimid() { + return vimid; + } + public void setVimid(String vimid) { + this.vimid = vimid; + } + public String getResourceid() { + return resourceid; + } + public void setResourceid(String resourceid) { + this.resourceid = resourceid; + } + public String getResourceName() { + return resourceName; + } + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + public String getTenant() { + return tenant; + } + public void setTenant(String tenant) { + this.tenant = tenant; + } + public String getIpAddress() { + return ipAddress; + } + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + public String getMacAddress() { + return macAddress; + } + public void setMacAddress(String macAddress) { + this.macAddress = macAddress; + } + public String getInstId() { + return instId; + } + public void setInstId(String instId) { + this.instId = instId; + } + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceDefinition.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceDefinition.java index 4a10ae99..0439f606 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceDefinition.java +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceDefinition.java @@ -15,22 +15,63 @@ */ package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; -import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; public class ResourceDefinition { - @JsonProperty("type") + @JsonProperty("vnfInstanceId") + private String vnfInstanceId; + @JsonProperty("addResource") + private List<AddResource> addResource; + @JsonProperty("vimId") + private String vimId; + @JsonProperty("additionalParam") + private AdditionalParam additionalParam; + + public String getVnfInstanceId() { + return vnfInstanceId; + } + + public void setVnfInstanceId(String vnfInstanceId) { + this.vnfInstanceId = vnfInstanceId; + } + + public List<AddResource> getAddResource() { + return addResource; + } + + public void setAddResource(List<AddResource> addResource) { + this.addResource = addResource; + } + + public String getVimId() { + return vimId; + } + + public void setVimId(String vimId) { + this.vimId = vimId; + } + + public AdditionalParam getAdditionalParam() { + return additionalParam; + } + + public void setAdditionalParam(AdditionalParam additionalParam) { + this.additionalParam = additionalParam; + } + + /*@JsonProperty("type") private CommonEnum.type type; @JsonProperty("resourceDefinitionId") private String resourceDefinitionId; @JsonProperty("vdu") - private String vdu; + private String vdu;*/ - public CommonEnum.type getType() { + /*public CommonEnum.type getType() { return type; } @@ -53,7 +94,7 @@ public class ResourceDefinition { public void setVdu(String vdu) { this.vdu = vdu; } - + */ diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceTemplate.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceTemplate.java new file mode 100644 index 00000000..35ad4054 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/ResourceTemplate.java @@ -0,0 +1,50 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class ResourceTemplate { + @JsonProperty("virtualStorageDescriptor") + private VirtualStorageDescriptor virtualStorageDescriptor; + @JsonProperty("virtualComputeDescriptor") + private VirtualComputeDescriptor virtualComputeDescriptor; + + + public VirtualStorageDescriptor getVirtualStorageDescriptor() { + return virtualStorageDescriptor; + } + public void setVirtualStorageDescriptor(VirtualStorageDescriptor virtualStorageDescriptor) { + this.virtualStorageDescriptor = virtualStorageDescriptor; + } + public VirtualComputeDescriptor getVirtualComputeDescriptor() { + return virtualComputeDescriptor; + } + public void setVirtualComputeDescriptor(VirtualComputeDescriptor virtualComputeDescriptor) { + this.virtualComputeDescriptor = virtualComputeDescriptor; + } + + + + + + + + + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualComputeDescriptor.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualComputeDescriptor.java new file mode 100644 index 00000000..ec937e83 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualComputeDescriptor.java @@ -0,0 +1,40 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class VirtualComputeDescriptor { + @JsonProperty("virtualMemory") + private VirtualMemory virtualMemory; + @JsonProperty("virtualCpu") + private VirtualCpu virtualCpu; + public VirtualMemory getVirtualMemory() { + return virtualMemory; + } + public void setVirtualMemory(VirtualMemory virtualMemory) { + this.virtualMemory = virtualMemory; + } + public VirtualCpu getVirtualCpu() { + return virtualCpu; + } + public void setVirtualCpu(VirtualCpu virtualCpu) { + this.virtualCpu = virtualCpu; + } + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualCpu.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualCpu.java new file mode 100644 index 00000000..38e57151 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualCpu.java @@ -0,0 +1,34 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class VirtualCpu { + @JsonProperty("numVirtualCpu") + private int numVirtualCpu; + + public int getNumVirtualCpu() { + return numVirtualCpu; + } + + public void setNumVirtualCpu(int numVirtualCpu) { + this.numVirtualCpu = numVirtualCpu; + } + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualMemory.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualMemory.java new file mode 100644 index 00000000..95df117c --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualMemory.java @@ -0,0 +1,35 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class VirtualMemory { + @JsonProperty("virtualMemSize") + private int virtualMemSize; + + public int getVirtualMemSize() { + return virtualMemSize; + } + + public void setVirtualMemSize(int virtualMemSize) { + this.virtualMemSize = virtualMemSize; + } + + + + +} diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualStorageDescriptor.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualStorageDescriptor.java new file mode 100644 index 00000000..6e5247c9 --- /dev/null +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nslcm/bo/entity/VirtualStorageDescriptor.java @@ -0,0 +1,52 @@ +/* + * Copyright 2016-2017, Nokia Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class VirtualStorageDescriptor { + @JsonProperty("sizeOfStorage") + private int sizeOfStorage; + @JsonProperty("typeOfStorage") + private String typeOfStorage; + @JsonProperty("swImageDescriptor") + private String swImageDescriptor; + + public int getSizeOfStorage() { + return sizeOfStorage; + } + + public void setSizeOfStorage(int sizeOfStorage) { + this.sizeOfStorage = sizeOfStorage; + } + + public String getTypeOfStorage() { + return typeOfStorage; + } + + public void setTypeOfStorage(String typeOfStorage) { + this.typeOfStorage = typeOfStorage; + } + + public String getSwImageDescriptor() { + return swImageDescriptor; + } + + public void setSwImageDescriptor(String swImageDescriptor) { + this.swImageDescriptor = swImageDescriptor; + } + +} |