diff --git a/morpheus-plugin-api/src/main/java/com/morpheusdata/model/ComputeServerInterface.java b/morpheus-plugin-api/src/main/java/com/morpheusdata/model/ComputeServerInterface.java index 2ef1c817..54577ab7 100644 --- a/morpheus-plugin-api/src/main/java/com/morpheusdata/model/ComputeServerInterface.java +++ b/morpheus-plugin-api/src/main/java/com/morpheusdata/model/ComputeServerInterface.java @@ -55,16 +55,16 @@ public class ComputeServerInterface extends MorpheusModel { @JsonSerialize(using= ModelAsIdOnlySerializer.class) protected NetworkSubnet subnet; // public NetworkGroup networkGroup; -protected String networkPosition; + protected String networkPosition; protected Integer displayOrder = 0; @JsonSerialize(using= ModelAsIdOnlySerializer.class) protected NetworkPool networkPool; @JsonSerialize(using= ModelAsIdOnlySerializer.class) protected NetworkDomain networkDomain; protected List addresses = new ArrayList<>(); - + protected List interfaces = new ArrayList<>(); public ComputeServerInterfaceType type; -protected String ipMode; //dhcp/static/pool + protected String ipMode; //dhcp/static/pool protected Boolean replaceHostRecord; protected String macAddress; protected String externalType; @@ -406,4 +406,13 @@ void setIpv6Address(String ipv6Address) { this.addresses.add(new NetAddress(NetAddress.AddressType.IPV6,ipAddress)); } } + + public List getInterfaces() { + return interfaces; + } + + public void setInterfaces(List interfaces) { + this.interfaces = interfaces; + markDirty("interfaces", interfaces); + } }