diff --git a/catalogue/src/main/java/org/openbaton/catalogue/mano/descriptor/VNFDConnectionPoint.java b/catalogue/src/main/java/org/openbaton/catalogue/mano/descriptor/VNFDConnectionPoint.java index 5b86ecee..40d03743 100644 --- a/catalogue/src/main/java/org/openbaton/catalogue/mano/descriptor/VNFDConnectionPoint.java +++ b/catalogue/src/main/java/org/openbaton/catalogue/mano/descriptor/VNFDConnectionPoint.java @@ -35,6 +35,8 @@ public class VNFDConnectionPoint extends ConnectionPoint { private String floatingIp; + private String fixedIp; + public int getInterfaceId() { return interfaceId; } @@ -54,6 +56,9 @@ public String toString() { + ", floatingIp='" + floatingIp + '\'' + + ", fixedip='" + + fixedIp + + '\'' + ", interfaceId=" + interfaceId + "} " @@ -74,6 +79,14 @@ public String getVirtual_link_reference() { return virtual_link_reference; } + public String getFixedIp() { + return fixedIp; + } + + public void setFixedIp(String fixedIp) { + this.fixedIp = fixedIp; + } + public void setVirtual_link_reference(String virtual_link_reference) { this.virtual_link_reference = virtual_link_reference; } diff --git a/vnfm-sdk/src/main/java/org/openbaton/common/vnfm_sdk/utils/VNFRUtils.java b/vnfm-sdk/src/main/java/org/openbaton/common/vnfm_sdk/utils/VNFRUtils.java index 23c7e028..1eb52044 100644 --- a/vnfm-sdk/src/main/java/org/openbaton/common/vnfm_sdk/utils/VNFRUtils.java +++ b/vnfm-sdk/src/main/java/org/openbaton/common/vnfm_sdk/utils/VNFRUtils.java @@ -202,6 +202,7 @@ public static VirtualNetworkFunctionRecord createVirtualNetworkFunctionRecord( connectionPoint.getVirtual_link_reference()); connectionPoint_new.setType(connectionPoint.getType()); connectionPoint_new.setFloatingIp(connectionPoint.getFloatingIp()); + connectionPoint_new.setFixedIp(connectionPoint.getFixedIp()); connectionPoint_new.setInterfaceId(connectionPoint.getInterfaceId()); connectionPoints.add(connectionPoint_new); }