diff --git a/pom.xml b/pom.xml
index e5915d4..0b27461 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
net.nuagenetworks
vspk
- 4.0.11
+ 4.0.11.1
jar
${project.groupId}:${project.artifactId}
diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/NSPort.java b/src/main/java/net/nuagenetworks/vspk/v4_0/NSPort.java
index 278f099..e23dc7c 100644
--- a/src/main/java/net/nuagenetworks/vspk/v4_0/NSPort.java
+++ b/src/main/java/net/nuagenetworks/vspk/v4_0/NSPort.java
@@ -61,7 +61,7 @@ public enum PermittedAction { ALL, DEPLOY, EXTEND, INSTANTIATE, READ, USE };
public enum PortType { ACCESS, NETWORK };
- public enum Speed { AUTONEGOTIATE, BASE10, BASET1000, BASETX100, BASEX10G };
+ public enum Speed { AUTONEGOTIATE, BASET10, BASET1000, BASETX100, BASEX10G };
public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java b/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java
index 951d0a1..724fe3e 100644
--- a/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java
+++ b/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java
@@ -47,8 +47,6 @@ public class UplinkConnection extends RestObject {
- public enum Address { IPv4, IPv6 };
-
public enum AdvertisementCriteria { BFD, CONTROL_SESSION, OPERATIONAL_LINK };
public enum InterfaceConnectionType { AUTOMATIC, EMBEDDED, PCI_EXPRESS, USB_ETHERNET, USB_MODEM };
@@ -62,7 +60,7 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN };
protected String DNSAddress;
@JsonProperty(value = "address")
- protected Address address;
+ protected String address;
@JsonProperty(value = "advertisementCriteria")
protected AdvertisementCriteria advertisementCriteria;
@@ -95,7 +93,7 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN };
protected Role role;
@JsonProperty(value = "uplinkID")
- protected String uplinkID;
+ protected Long uplinkID;
@JsonProperty(value = "username")
protected String username;
@@ -134,12 +132,12 @@ public void setDNSAddress(String value) {
}
@JsonIgnore
- public Address getAddress() {
+ public String getAddress() {
return address;
}
@JsonIgnore
- public void setAddress(Address value) {
+ public void setAddress(String value) {
this.address = value;
}
@@ -244,12 +242,12 @@ public void setRole(Role value) {
}
@JsonIgnore
- public String getUplinkID() {
+ public Long getUplinkID() {
return uplinkID;
}
@JsonIgnore
- public void setUplinkID(String value) {
+ public void setUplinkID(Long value) {
this.uplinkID = value;
}
diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/VLAN.java b/src/main/java/net/nuagenetworks/vspk/v4_0/VLAN.java
index e4e46b6..1e469a8 100644
--- a/src/main/java/net/nuagenetworks/vspk/v4_0/VLAN.java
+++ b/src/main/java/net/nuagenetworks/vspk/v4_0/VLAN.java
@@ -46,6 +46,7 @@
import net.nuagenetworks.vspk.v4_0.fetchers.MetadatasFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.PATNATPoolsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.PermissionsFetcher;
+import net.nuagenetworks.vspk.v4_0.fetchers.StatisticsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.UplinkConnectionsFetcher;
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -56,6 +57,8 @@ public class VLAN extends RestObject {
+ public enum AssociatedConnectionType { BR_CONNECTION, UPLINK_CONNECTION };
+
public enum EntityScope { ENTERPRISE, GLOBAL };
public enum PermittedAction { ALL, DEPLOY, EXTEND, INSTANTIATE, READ, USE };
@@ -66,9 +69,15 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonProperty(value = "associatedBGPProfileID")
protected String associatedBGPProfileID;
+ @JsonProperty(value = "associatedConnectionType")
+ protected AssociatedConnectionType associatedConnectionType;
+
@JsonProperty(value = "associatedEgressQOSPolicyID")
protected String associatedEgressQOSPolicyID;
+ @JsonProperty(value = "associatedIngressQOSPolicyID")
+ protected String associatedIngressQOSPolicyID;
+
@JsonProperty(value = "associatedUplinkConnectionID")
protected String associatedUplinkConnectionID;
@@ -90,6 +99,9 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonProperty(value = "gatewayID")
protected String gatewayID;
+ @JsonProperty(value = "isUplink")
+ protected Boolean isUplink;
+
@JsonProperty(value = "lastUpdatedBy")
protected String lastUpdatedBy;
@@ -155,6 +167,9 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonIgnore
private PermissionsFetcher permissions;
+ @JsonIgnore
+ private StatisticsFetcher statistics;
+
@JsonIgnore
private UplinkConnectionsFetcher uplinkConnections;
@@ -183,6 +198,8 @@ public VLAN() {
permissions = new PermissionsFetcher(this);
+ statistics = new StatisticsFetcher(this);
+
uplinkConnections = new UplinkConnectionsFetcher(this);
}
@@ -198,6 +215,16 @@ public void setAssociatedBGPProfileID(String value) {
this.associatedBGPProfileID = value;
}
+ @JsonIgnore
+ public AssociatedConnectionType getAssociatedConnectionType() {
+ return associatedConnectionType;
+ }
+
+ @JsonIgnore
+ public void setAssociatedConnectionType(AssociatedConnectionType value) {
+ this.associatedConnectionType = value;
+ }
+
@JsonIgnore
public String getAssociatedEgressQOSPolicyID() {
return associatedEgressQOSPolicyID;
@@ -208,6 +235,16 @@ public void setAssociatedEgressQOSPolicyID(String value) {
this.associatedEgressQOSPolicyID = value;
}
+ @JsonIgnore
+ public String getAssociatedIngressQOSPolicyID() {
+ return associatedIngressQOSPolicyID;
+ }
+
+ @JsonIgnore
+ public void setAssociatedIngressQOSPolicyID(String value) {
+ this.associatedIngressQOSPolicyID = value;
+ }
+
@JsonIgnore
public String getAssociatedUplinkConnectionID() {
return associatedUplinkConnectionID;
@@ -278,6 +315,16 @@ public void setGatewayID(String value) {
this.gatewayID = value;
}
+ @JsonIgnore
+ public Boolean getIsUplink() {
+ return isUplink;
+ }
+
+ @JsonIgnore
+ public void setIsUplink(Boolean value) {
+ this.isUplink = value;
+ }
+
@JsonIgnore
public String getLastUpdatedBy() {
return lastUpdatedBy;
@@ -435,6 +482,11 @@ public PermissionsFetcher getPermissions() {
return permissions;
}
+ @JsonIgnore
+ public StatisticsFetcher getStatistics() {
+ return statistics;
+ }
+
@JsonIgnore
public UplinkConnectionsFetcher getUplinkConnections() {
return uplinkConnections;
@@ -442,7 +494,7 @@ public UplinkConnectionsFetcher getUplinkConnections() {
public String toString() {
- return "VLAN [" + "associatedBGPProfileID=" + associatedBGPProfileID + ", associatedEgressQOSPolicyID=" + associatedEgressQOSPolicyID + ", associatedUplinkConnectionID=" + associatedUplinkConnectionID + ", associatedVSCProfileID=" + associatedVSCProfileID + ", description=" + description + ", ducVlan=" + ducVlan + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gatewayID=" + gatewayID + ", lastUpdatedBy=" + lastUpdatedBy + ", permittedAction=" + permittedAction + ", readonly=" + readonly + ", restricted=" + restricted + ", status=" + status + ", templateID=" + templateID + ", useUserMnemonic=" + useUserMnemonic + ", userMnemonic=" + userMnemonic + ", value=" + value + ", vportID=" + vportID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ return "VLAN [" + "associatedBGPProfileID=" + associatedBGPProfileID + ", associatedConnectionType=" + associatedConnectionType + ", associatedEgressQOSPolicyID=" + associatedEgressQOSPolicyID + ", associatedIngressQOSPolicyID=" + associatedIngressQOSPolicyID + ", associatedUplinkConnectionID=" + associatedUplinkConnectionID + ", associatedVSCProfileID=" + associatedVSCProfileID + ", description=" + description + ", ducVlan=" + ducVlan + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gatewayID=" + gatewayID + ", isUplink=" + isUplink + ", lastUpdatedBy=" + lastUpdatedBy + ", permittedAction=" + permittedAction + ", readonly=" + readonly + ", restricted=" + restricted + ", status=" + status + ", templateID=" + templateID + ", useUserMnemonic=" + useUserMnemonic + ", userMnemonic=" + userMnemonic + ", value=" + value + ", vportID=" + vportID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", owner=" + owner + "]";
}