Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added fixed_ip parameter #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public class VNFDConnectionPoint extends ConnectionPoint {

private String floatingIp;

private String fixedIp;

public int getInterfaceId() {
return interfaceId;
}
Expand All @@ -54,6 +56,9 @@ public String toString() {
+ ", floatingIp='"
+ floatingIp
+ '\''
+ ", fixedip='"
+ fixedIp
+ '\''
+ ", interfaceId="
+ interfaceId
+ "} "
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down