From b662a30e8ba6487ea2b616f0e700ee8b094d3431 Mon Sep 17 00:00:00 2001 From: nuagebot Date: Mon, 26 Jun 2017 20:08:37 +0000 Subject: [PATCH] Auto generated from specifications change. --- pom.xml | 4 +- .../Applicationperformancemanagement.java | 14 +- .../nuagenetworks/vspk/v4_0/BFDSession.java | 172 ++++++++++++++++++ .../nuagenetworks/vspk/v4_0/BRConnection.java | 13 +- .../net/nuagenetworks/vspk/v4_0/Group.java | 14 +- .../net/nuagenetworks/vspk/v4_0/L2Domain.java | 2 +- .../vspk/v4_0/L2DomainTemplate.java | 2 +- .../vspk/v4_0/LDAPConfiguration.java | 26 ++- .../net/nuagenetworks/vspk/v4_0/Subnet.java | 2 +- .../vspk/v4_0/SubnetTemplate.java | 2 +- .../nuagenetworks/vspk/v4_0/SystemConfig.java | 50 ++++- .../java/net/nuagenetworks/vspk/v4_0/TCA.java | 2 +- .../vspk/v4_0/UplinkConnection.java | 13 +- .../net/nuagenetworks/vspk/v4_0/User.java | 14 +- .../net/nuagenetworks/vspk/v4_0/VCenter.java | 14 +- .../vspk/v4_0/VCenterHypervisor.java | 14 +- .../nuagenetworks/vspk/v4_0/VRSMetrics.java | 14 +- .../v4_0/fetchers/BFDSessionsFetcher.java | 43 +++++ 18 files changed, 398 insertions(+), 17 deletions(-) create mode 100644 src/main/java/net/nuagenetworks/vspk/v4_0/BFDSession.java create mode 100644 src/main/java/net/nuagenetworks/vspk/v4_0/fetchers/BFDSessionsFetcher.java diff --git a/pom.xml b/pom.xml index 97b5377..288cc08 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 net.nuagenetworks vspk - 4.0.9 + 4.0.10 jar ${project.groupId}:${project.artifactId} @@ -51,7 +51,7 @@ net.nuagenetworks bambou - 2.0.3 + 2.0.4 \ No newline at end of file diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/Applicationperformancemanagement.java b/src/main/java/net/nuagenetworks/vspk/v4_0/Applicationperformancemanagement.java index 3a65be1..82de46c 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/Applicationperformancemanagement.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/Applicationperformancemanagement.java @@ -46,6 +46,9 @@ public class Applicationperformancemanagement extends RestObject { + @JsonProperty(value = "appGroupUniqueId") + protected String appGroupUniqueId; + @JsonProperty(value = "associatedPerformanceMonitorID") protected String associatedPerformanceMonitorID; @@ -70,6 +73,15 @@ public Applicationperformancemanagement() { } + @JsonIgnore + public String getAppGroupUniqueId() { + return appGroupUniqueId; + } + + @JsonIgnore + public void setAppGroupUniqueId(String value) { + this.appGroupUniqueId = value; + } @JsonIgnore public String getAssociatedPerformanceMonitorID() { return associatedPerformanceMonitorID; @@ -116,7 +128,7 @@ public ApplicationBindingsFetcher getApplicationBindings() { public String toString() { - return "Applicationperformancemanagement [" + "associatedPerformanceMonitorID=" + associatedPerformanceMonitorID + ", description=" + description + ", name=" + name + ", readOnly=" + readOnly + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "Applicationperformancemanagement [" + "appGroupUniqueId=" + appGroupUniqueId + ", associatedPerformanceMonitorID=" + associatedPerformanceMonitorID + ", description=" + description + ", name=" + name + ", readOnly=" + readOnly + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/BFDSession.java b/src/main/java/net/nuagenetworks/vspk/v4_0/BFDSession.java new file mode 100644 index 0000000..53e0484 --- /dev/null +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/BFDSession.java @@ -0,0 +1,172 @@ +/* + Copyright (c) 2015, Alcatel-Lucent Inc + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +package net.nuagenetworks.vspk.v4_0; + +import net.nuagenetworks.bambou.RestObject; +import net.nuagenetworks.bambou.annotation.RestEntity; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonIgnore; + + +import net.nuagenetworks.vspk.v4_0.fetchers.GlobalMetadatasFetcher; +import net.nuagenetworks.vspk.v4_0.fetchers.MetadatasFetcher; + +@JsonIgnoreProperties(ignoreUnknown = true) +@RestEntity(restName = "bfdsession", resourceName = "bfdsessions") +public class BFDSession extends RestObject { + + private static final long serialVersionUID = 1L; + + + public enum EntityScope { ENTERPRISE, GLOBAL }; + + + @JsonProperty(value = "BFDDestinationIP") + protected String BFDDestinationIP; + + @JsonProperty(value = "BFDMultiplier") + protected Long BFDMultiplier; + + @JsonProperty(value = "BFDTimer") + protected Long BFDTimer; + + @JsonProperty(value = "entityScope") + protected EntityScope entityScope; + + @JsonProperty(value = "externalID") + protected String externalID; + + @JsonProperty(value = "lastUpdatedBy") + protected String lastUpdatedBy; + + @JsonProperty(value = "multiHopEnabled") + protected Boolean multiHopEnabled; + + + + @JsonIgnore + private GlobalMetadatasFetcher globalMetadatas; + + @JsonIgnore + private MetadatasFetcher metadatas; + + + public BFDSession() { + + globalMetadatas = new GlobalMetadatasFetcher(this); + + metadatas = new MetadatasFetcher(this); + + } + + @JsonIgnore + public String getBFDDestinationIP() { + return BFDDestinationIP; + } + + @JsonIgnore + public void setBFDDestinationIP(String value) { + this.BFDDestinationIP = value; + } + @JsonIgnore + public Long getBFDMultiplier() { + return BFDMultiplier; + } + + @JsonIgnore + public void setBFDMultiplier(Long value) { + this.BFDMultiplier = value; + } + @JsonIgnore + public Long getBFDTimer() { + return BFDTimer; + } + + @JsonIgnore + public void setBFDTimer(Long value) { + this.BFDTimer = value; + } + @JsonIgnore + public EntityScope getEntityScope() { + return entityScope; + } + + @JsonIgnore + public void setEntityScope(EntityScope value) { + this.entityScope = value; + } + @JsonIgnore + public String getExternalID() { + return externalID; + } + + @JsonIgnore + public void setExternalID(String value) { + this.externalID = value; + } + @JsonIgnore + public String getLastUpdatedBy() { + return lastUpdatedBy; + } + + @JsonIgnore + public void setLastUpdatedBy(String value) { + this.lastUpdatedBy = value; + } + @JsonIgnore + public Boolean getMultiHopEnabled() { + return multiHopEnabled; + } + + @JsonIgnore + public void setMultiHopEnabled(Boolean value) { + this.multiHopEnabled = value; + } + + + + @JsonIgnore + public GlobalMetadatasFetcher getGlobalMetadatas() { + return globalMetadatas; + } + + @JsonIgnore + public MetadatasFetcher getMetadatas() { + return metadatas; + } + + + public String toString() { + return "BFDSession [" + "BFDDestinationIP=" + BFDDestinationIP + ", BFDMultiplier=" + BFDMultiplier + ", BFDTimer=" + BFDTimer + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", multiHopEnabled=" + multiHopEnabled + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + + lastUpdatedDate + ", owner=" + owner + "]"; + } + + +} \ No newline at end of file diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/BRConnection.java b/src/main/java/net/nuagenetworks/vspk/v4_0/BRConnection.java index 3a1e5ac..3c1981d 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/BRConnection.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/BRConnection.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; +import net.nuagenetworks.vspk.v4_0.fetchers.BFDSessionsFetcher; @JsonIgnoreProperties(ignoreUnknown = true) @RestEntity(restName = "brconnections", resourceName = "brconnections") @@ -43,7 +44,7 @@ public class BRConnection extends RestObject { private static final long serialVersionUID = 1L; - public enum AdvertisementCriteria { FATE_SHARING, GATEWAY_PING, LINK_BASED, OPENFLOW }; + public enum AdvertisementCriteria { BFD, LINK_BASED, OPENFLOW }; public enum Mode { Static }; @@ -70,9 +71,14 @@ public enum Mode { Static }; + @JsonIgnore + private BFDSessionsFetcher bFDSessions; + public BRConnection() { + bFDSessions = new BFDSessionsFetcher(this); + } @JsonIgnore @@ -141,6 +147,11 @@ public void setUplinkID(Long value) { + @JsonIgnore + public BFDSessionsFetcher getBFDSessions() { + return bFDSessions; + } + public String toString() { return "BRConnection [" + "DNSAddress=" + DNSAddress + ", address=" + address + ", advertisementCriteria=" + advertisementCriteria + ", gateway=" + gateway + ", mode=" + mode + ", netmask=" + netmask + ", uplinkID=" + uplinkID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/Group.java b/src/main/java/net/nuagenetworks/vspk/v4_0/Group.java index 9f4a6a8..95a711f 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/Group.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/Group.java @@ -52,6 +52,9 @@ public enum ManagementMode { CMS, DEFAULT }; public enum Role { CMS, CSPOPERATOR, CSPROOT, JMS, ORGADMIN, ORGAPPDESIGNER, ORGNETWORKDESIGNER, ORGUSER, SYSTEM, UNKNOWN, USER }; + @JsonProperty(value = "LDAPGroupDN") + protected String LDAPGroupDN; + @JsonProperty(value = "accountRestrictions") protected Boolean accountRestrictions; @@ -109,6 +112,15 @@ public Group() { } + @JsonIgnore + public String getLDAPGroupDN() { + return LDAPGroupDN; + } + + @JsonIgnore + public void setLDAPGroupDN(String value) { + this.LDAPGroupDN = value; + } @JsonIgnore public Boolean getAccountRestrictions() { return accountRestrictions; @@ -224,7 +236,7 @@ public UsersFetcher getUsers() { public String toString() { - return "Group [" + "accountRestrictions=" + accountRestrictions + ", description=" + description + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", managementMode=" + managementMode + ", name=" + name + ", private_=" + private_ + ", restrictionDate=" + restrictionDate + ", role=" + role + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "Group [" + "LDAPGroupDN=" + LDAPGroupDN + ", accountRestrictions=" + accountRestrictions + ", description=" + description + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", managementMode=" + managementMode + ", name=" + name + ", private_=" + private_ + ", restrictionDate=" + restrictionDate + ", role=" + role + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/L2Domain.java b/src/main/java/net/nuagenetworks/vspk/v4_0/L2Domain.java index d422d4d..a926b98 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/L2Domain.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/L2Domain.java @@ -75,7 +75,7 @@ public class L2Domain extends RestObject { public enum DPI { DISABLED, ENABLED }; - public enum IPType { IPV4, IPV6 }; + public enum IPType { IPV4, DUALSTACK }; public enum Encryption { DISABLED, ENABLED }; public enum EntityScope { ENTERPRISE, GLOBAL }; public enum MaintenanceMode { DISABLED, ENABLED, ENABLED_INHERITED }; diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/L2DomainTemplate.java b/src/main/java/net/nuagenetworks/vspk/v4_0/L2DomainTemplate.java index 2937b1f..385852b 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/L2DomainTemplate.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/L2DomainTemplate.java @@ -59,7 +59,7 @@ public class L2DomainTemplate extends RestObject { public enum DPI { DISABLED, ENABLED, INHERITED }; - public enum IPType { IPV4, IPV6 }; + public enum IPType { IPV4, DUALSTACK }; public enum Encryption { DISABLED, ENABLED }; public enum EntityScope { ENTERPRISE, GLOBAL }; public enum Multicast { DISABLED, ENABLED, INHERITED }; diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/LDAPConfiguration.java b/src/main/java/net/nuagenetworks/vspk/v4_0/LDAPConfiguration.java index c4b79ff..d8ce975 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/LDAPConfiguration.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/LDAPConfiguration.java @@ -75,6 +75,12 @@ public enum EntityScope { ENTERPRISE, GLOBAL }; @JsonProperty(value = "groupDN") protected String groupDN; + @JsonProperty(value = "groupNamePrefix") + protected String groupNamePrefix; + + @JsonProperty(value = "groupNameSuffix") + protected String groupNameSuffix; + @JsonProperty(value = "lastUpdatedBy") protected String lastUpdatedBy; @@ -189,6 +195,24 @@ public void setGroupDN(String value) { this.groupDN = value; } @JsonIgnore + public String getGroupNamePrefix() { + return groupNamePrefix; + } + + @JsonIgnore + public void setGroupNamePrefix(String value) { + this.groupNamePrefix = value; + } + @JsonIgnore + public String getGroupNameSuffix() { + return groupNameSuffix; + } + + @JsonIgnore + public void setGroupNameSuffix(String value) { + this.groupNameSuffix = value; + } + @JsonIgnore public String getLastUpdatedBy() { return lastUpdatedBy; } @@ -248,7 +272,7 @@ public MetadatasFetcher getMetadatas() { public String toString() { - return "LDAPConfiguration [" + "SSLEnabled=" + SSLEnabled + ", acceptAllCertificates=" + acceptAllCertificates + ", authorizationEnabled=" + authorizationEnabled + ", authorizingUserDN=" + authorizingUserDN + ", certificate=" + certificate + ", enabled=" + enabled + ", entityScope=" + entityScope + ", externalID=" + externalID + ", groupDN=" + groupDN + ", lastUpdatedBy=" + lastUpdatedBy + ", password=" + password + ", port=" + port + ", server=" + server + ", userDNTemplate=" + userDNTemplate + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "LDAPConfiguration [" + "SSLEnabled=" + SSLEnabled + ", acceptAllCertificates=" + acceptAllCertificates + ", authorizationEnabled=" + authorizationEnabled + ", authorizingUserDN=" + authorizingUserDN + ", certificate=" + certificate + ", enabled=" + enabled + ", entityScope=" + entityScope + ", externalID=" + externalID + ", groupDN=" + groupDN + ", groupNamePrefix=" + groupNamePrefix + ", groupNameSuffix=" + groupNameSuffix + ", lastUpdatedBy=" + lastUpdatedBy + ", password=" + password + ", port=" + port + ", server=" + server + ", userDNTemplate=" + userDNTemplate + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/Subnet.java b/src/main/java/net/nuagenetworks/vspk/v4_0/Subnet.java index 533ceee..b5d941d 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/Subnet.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/Subnet.java @@ -65,7 +65,7 @@ public class Subnet extends RestObject { public enum DHCPRelayStatus { DISABLED, ENABLED }; public enum DPI { DISABLED, ENABLED, INHERITED }; - public enum IPType { DUALSTACK, IPV4, IPV6 }; + public enum IPType { DUALSTACK, IPV4 }; public enum PATEnabled { DISABLED, ENABLED, INHERITED }; public enum AssociatedApplicationObjectType { ACLENTRY_LOCATION, ADDRESS_RANGE, ADDRESS_RANGE_STATE, ALARM, APPD_APPLICATION, APPD_EXTERNAL_APP_SERVICE, APPD_FLOW, APPD_FLOW_FORWARDING_POLICY, APPD_FLOW_SECURITY_POLICY, APPD_SERVICE, APPD_TIER, APPLICATION, AUTO_DISC_GATEWAY, BACK_HAUL_SERVICE_RESP, BGPPEER, BGP_DAMPENING_MED_RESPONSE, BGP_NEIGHBOR, BGP_NEIGHBOR_MED_RESPONSE, BGP_PROFILE, BGP_PROFILE_MED_RESPONSE, BOOTSTRAP, BOOTSTRAP_ACTIVATION, BRIDGEINTERFACE, CERTIFICATE, CHILD_ENTITY_POLICY_CHANGE, CLOUD_MGMT_SYSTEM, CONTAINER_RESYNC, CUSTOMER_VRF_SEQUENCENO, DC_CONFIG, DHCP_ALLOC_MESSAGE, DHCP_CONFIG_RESP, DHCP_OPTION, DISKSTATS, DOMAIN, DOMAIN_CONFIG, DOMAIN_CONFIG_RESP, DOMAIN_FLOATING_IP_ACL_TEMPLATE, DOMAIN_FLOATING_IP_ACL_TEMPLATE_ENTRY, DOMAIN_TEMPLATE, DSCP_FORWARDING_CLASS_MAPPING, DSCP_FORWARDING_CLASS_TABLE, EGRESS_ACL, EGRESS_ACL_ENTRY, EGRESS_ACL_TEMPLATE, EGRESS_ACL_TEMPLATE_ENTRY, EGRESS_QOS_MR, EGRESS_QOS_PRIMITIVE, EGRESS_QOS_QUEUE_MR, ENDPOINT, ENTERPRISE, ENTERPRISE_CONFIG, ENTERPRISE_CONFIG_RESP, ENTERPRISE_NETWORK, ENTERPRISE_PERMISSION, ENTERPRISE_PROFILE, ENTERPRISE_SECURED_DATA, ENTERPRISE_SECURITY, ENTITY_METADATA_BINDING, ESI_SEQUENCENO, EVENT_LOG, EVPN_BGP_COMMUNITY_TAG_ENTRY, EVPN_BGP_COMMUNITY_TAG_SEQ_NO, EXPORTIMPORT, EXTERNAL_SERVICE, FLOATINGIP, FLOATINGIP_ACL, FLOATINGIP_ACL_ENTRY, FLOATING_IP_ACL_TEMPLATE, FLOATING_IP_ACL_TEMPLATE_ENTRY, GATEWAY, GATEWAY_CONFIG, GATEWAY_CONFIG_RESP, GATEWAY_SECURED_DATA, GATEWAY_SECURITY, GATEWAY_SECURITY_PROFILE_REQUEST, GATEWAY_SECURITY_PROFILE_RESPONSE, GATEWAY_SECURITY_REQUEST, GATEWAY_SECURITY_RESPONSE, GATEWAY_SERVICE_CONFIG, GATEWAY_SERVICE_CONFIG_RESP, GATEWAY_TEMPLATE, GATEWAY_VPORT_CONFIG, GATEWAY_VPORT_CONFIG_RESP, GEO_VM_EVENT, GEO_VM_REQ, GEO_VM_RES, GROUP, GROUPKEY_ENCRYPTION_PROFILE, HEALTH_REQ, HOSTINTERFACE, HSC, IKE_CERTIFICATE, IKE_ENCRYPTION_PROFILE, IKE_GATEWAY, IKE_GATEWAY_CONFIG, IKE_GATEWAY_CONNECTION, IKE_GATEWAY_PROFILE, IKE_PSK, IKE_SUBNET, INFRASTRUCTURE_CONFIG, INFRASTRUCTURE_GATEWAY_PROFILE, INFRASTRUCTURE_PORT_PROFILE, INFRASTRUCTURE_VSC_PROFILE, INGRESS_ACL, INGRESS_ACL_ENTRY, INGRESS_ACL_TEMPLATE, INGRESS_ACL_TEMPLATE_ENTRY, INGRESS_ADV_FWD, INGRESS_ADV_FWD_ENTRY, INGRESS_ADV_FWD_TEMPLATE, INGRESS_ADV_FWD_TEMPLATE_ENTRY, INGRESS_EXT_SERVICE, INGRESS_EXT_SERVICE_ENTRY, INGRESS_EXT_SERVICE_TEMPLATE, INGRESS_EXT_SERVICE_TEMPLATE_ENTRY, IP_BINDING, JOB, KEYSERVER_MEMBER, KEYSERVER_MONITOR, KEYSERVER_MONITOR_ENCRYPTED_SEED, KEYSERVER_MONITOR_SEED, KEYSERVER_MONITOR_SEK, KEYSERVER_NOTIFICATION, L2DOMAIN, L2DOMAIN_SHARED, L2DOMAIN_TEMPLATE, LDAP_CONFIG, LIBVIRT_INTERFACE, LICENSE, LOCATION, MC_CHANNEL_MAP, MC_LIST, MC_RANGE, METADATA, METADATA_TAG, MIRROR_DESTINATION, MONITORING_PORT, MULTI_NIC_VPORT, NATMAPENTRY, NETWORK_ELEMENT, NETWORK_LAYOUT, NETWORK_MACRO_GROUP, NETWORK_POLICY_GROUP, NEXT_HOP_RESP, NODE_EXECUTION_ERROR, NSGATEWAY, NSGATEWAY_CONFIG, NSGATEWAY_TEMPLATE, NSG_NOTIFICATION, NSPORT, NSPORT_STATIC_CONFIG, NSPORT_TEMPLATE, NSPORT_VLAN_CONFIG, NSREDUNDANT_GW_GRP, NS_REDUNDANT_PORT, PATCONFIG_CONFIG_RESP, PATNATPOOL, PERMISSION, PERMITTED_ACTION, POLICING_POLICY, POLICY_DECISION, POLICY_GROUP, POLICY_GROUP_TEMPLATE, PORT, PORT_MR, PORT_PUSH, PORT_TEMPLATE, PORT_VLAN_CONFIG, PORT_VLAN_CONFIG_RESPONSE, PUBLIC_NETWORK, QOS_PRIMITIVE, RATE_LIMITER, RD_SEQUENCENO, REDUNDANT_GW_GRP, ROUTING_POLICY, ROUTING_POL_MED_RESPONSE, RTRD_ENTITY, RTRD_SEQUENCENO, SERVICES_GATEWAY_RESPONSE, SERVICE_GATEWAY_RESPONSE, SERVICE_VRF_SEQUENCENO, SHAPING_POLICY, SHARED_RESOURCE, SITE, SITE_REQ, SITE_RES, STATIC_ROUTE, STATIC_ROUTE_RESP, STATISTICS, STATSSERVER, STATS_COLLECTOR, STATS_POLICY, STATS_TCA, SUBNET, SUBNET_ENTRY, SUBNET_MAC_ENTRY, SUBNET_POOL_ENTRY, SUBNET_TEMPLATE, SYSTEM_CONFIG, SYSTEM_CONFIG_REQ, SYSTEM_CONFIG_RESP, SYSTEM_MONITORING, UNSUPPORTED, UPLINK_RD, USER, VIRTUAL_IP, VIRTUAL_MACHINE, VIRTUAL_MACHINE_REPORT, VLAN, VLAN_CONFIG_RESPONSE, VLAN_TEMPLATE, VMWARE_RELOAD_CONFIG, VMWARE_VCENTER, VMWARE_VCENTER_CLUSTER, VMWARE_VCENTER_DATACENTER, VMWARE_VCENTER_EAM_CONFIG, VMWARE_VCENTER_HYPERVISOR, VMWARE_VCENTER_VRS_BASE_CONFIG, VMWARE_VCENTER_VRS_CONFIG, VMWARE_VRS_ADDRESS_RANGE, VM_DESCRIPTION, VM_INTERFACE, VM_RESYNC, VNID_SEQUENCENO, VPN_CONNECT, VPORT, VPORTTAG, VPORTTAGTEMPLATE, VPORT_GATEWAY_RESPONSE, VPORT_MEDIATION_REQUEST, VPORT_MIRROR, VPORT_TAG_BASE, VPRN_LABEL_SEQUENCENO, VRS, VSC, VSD, VSD_COMPONENT, VSG_REDUNDANT_PORT, VSP, WAN_SERVICE, ZONE, ZONE_TEMPLATE }; public enum DefaultAction { DROP_TRAFFIC, USE_UNDERLAY }; diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/SubnetTemplate.java b/src/main/java/net/nuagenetworks/vspk/v4_0/SubnetTemplate.java index 0d26acc..09c500c 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/SubnetTemplate.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/SubnetTemplate.java @@ -50,7 +50,7 @@ public class SubnetTemplate extends RestObject { public enum DPI { DISABLED, ENABLED, INHERITED }; - public enum IPType { DUALSTACK, IPV4, IPV6 }; + public enum IPType { DUALSTACK, IPV4 }; public enum Encryption { DISABLED, ENABLED, INHERITED }; public enum EntityScope { ENTERPRISE, GLOBAL }; public enum Multicast { DISABLED, ENABLED, INHERITED }; diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/SystemConfig.java b/src/main/java/net/nuagenetworks/vspk/v4_0/SystemConfig.java index 74e810c..1822099 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/SystemConfig.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/SystemConfig.java @@ -58,6 +58,12 @@ public enum GroupKeyDefaultTrafficEncryptionAlgorithm { AES_128_CBC, AES_192_CBC public enum SystemAvatarType { BASE64, COMPUTEDURL, URL }; + @JsonProperty(value = "AARFlowStatsInterval") + protected Long AARFlowStatsInterval; + + @JsonProperty(value = "AARProbeStatsInterval") + protected Long AARProbeStatsInterval; + @JsonProperty(value = "ACLAllowOrigin") protected String ACLAllowOrigin; @@ -100,6 +106,9 @@ public enum SystemAvatarType { BASE64, COMPUTEDURL, URL }; @JsonProperty(value = "LRUCacheSizePerSubnet") protected Long LRUCacheSizePerSubnet; + @JsonProperty(value = "NSGUplinkHoldDownTimer") + protected Long NSGUplinkHoldDownTimer; + @JsonProperty(value = "RDLowerLimit") protected Long RDLowerLimit; @@ -172,6 +181,9 @@ public enum SystemAvatarType { BASE64, COMPUTEDURL, URL }; @JsonProperty(value = "VSDUpgradeIsComplete") protected Boolean VSDUpgradeIsComplete; + @JsonProperty(value = "VSSStatsInterval") + protected Long VSSStatsInterval; + @JsonProperty(value = "ZFBBootstrapEnabled") protected Boolean ZFBBootstrapEnabled; @@ -459,6 +471,24 @@ public SystemConfig() { } + @JsonIgnore + public Long getAARFlowStatsInterval() { + return AARFlowStatsInterval; + } + + @JsonIgnore + public void setAARFlowStatsInterval(Long value) { + this.AARFlowStatsInterval = value; + } + @JsonIgnore + public Long getAARProbeStatsInterval() { + return AARProbeStatsInterval; + } + + @JsonIgnore + public void setAARProbeStatsInterval(Long value) { + this.AARProbeStatsInterval = value; + } @JsonIgnore public String getACLAllowOrigin() { return ACLAllowOrigin; @@ -586,6 +616,15 @@ public void setLRUCacheSizePerSubnet(Long value) { this.LRUCacheSizePerSubnet = value; } @JsonIgnore + public Long getNSGUplinkHoldDownTimer() { + return NSGUplinkHoldDownTimer; + } + + @JsonIgnore + public void setNSGUplinkHoldDownTimer(Long value) { + this.NSGUplinkHoldDownTimer = value; + } + @JsonIgnore public Long getRDLowerLimit() { return RDLowerLimit; } @@ -802,6 +841,15 @@ public void setVSDUpgradeIsComplete(Boolean value) { this.VSDUpgradeIsComplete = value; } @JsonIgnore + public Long getVSSStatsInterval() { + return VSSStatsInterval; + } + + @JsonIgnore + public void setVSSStatsInterval(Long value) { + this.VSSStatsInterval = value; + } + @JsonIgnore public Boolean getZFBBootstrapEnabled() { return ZFBBootstrapEnabled; } @@ -1626,7 +1674,7 @@ public MetadatasFetcher getMetadatas() { public String toString() { - return "SystemConfig [" + "ACLAllowOrigin=" + ACLAllowOrigin + ", ADGatewayPurgeTime=" + ADGatewayPurgeTime + ", APIKeyRenewalInterval=" + APIKeyRenewalInterval + ", APIKeyValidity=" + APIKeyValidity + ", ASNumber=" + ASNumber + ", DHCPOptionSize=" + DHCPOptionSize + ", ECMPCount=" + ECMPCount + ", EVPNBGPCommunityTagASNumber=" + EVPNBGPCommunityTagASNumber + ", EVPNBGPCommunityTagLowerLimit=" + EVPNBGPCommunityTagLowerLimit + ", EVPNBGPCommunityTagUpperLimit=" + EVPNBGPCommunityTagUpperLimit + ", LDAPSyncInterval=" + LDAPSyncInterval + ", LDAPTrustStoreCertifcate=" + LDAPTrustStoreCertifcate + ", LDAPTrustStorePassword=" + LDAPTrustStorePassword + ", LRUCacheSizePerSubnet=" + LRUCacheSizePerSubnet + ", RDLowerLimit=" + RDLowerLimit + ", RDPublicNetworkLowerLimit=" + RDPublicNetworkLowerLimit + ", RDPublicNetworkUpperLimit=" + RDPublicNetworkUpperLimit + ", RDUpperLimit=" + RDUpperLimit + ", RTLowerLimit=" + RTLowerLimit + ", RTPublicNetworkLowerLimit=" + RTPublicNetworkLowerLimit + ", RTPublicNetworkUpperLimit=" + RTPublicNetworkUpperLimit + ", RTUpperLimit=" + RTUpperLimit + ", VLANIDLowerLimit=" + VLANIDLowerLimit + ", VLANIDUpperLimit=" + VLANIDUpperLimit + ", VMCacheSize=" + VMCacheSize + ", VMPurgeTime=" + VMPurgeTime + ", VMResyncDeletionWaitTime=" + VMResyncDeletionWaitTime + ", VMResyncOutstandingInterval=" + VMResyncOutstandingInterval + ", VMUnreachableCleanupTime=" + VMUnreachableCleanupTime + ", VMUnreachableTime=" + VMUnreachableTime + ", VNIDLowerLimit=" + VNIDLowerLimit + ", VNIDPublicNetworkLowerLimit=" + VNIDPublicNetworkLowerLimit + ", VNIDPublicNetworkUpperLimit=" + VNIDPublicNetworkUpperLimit + ", VNIDUpperLimit=" + VNIDUpperLimit + ", VPortInitStatefulTimer=" + VPortInitStatefulTimer + ", VSCOnSameVersionAsVSD=" + VSCOnSameVersionAsVSD + ", VSDReadOnlyMode=" + VSDReadOnlyMode + ", VSDUpgradeIsComplete=" + VSDUpgradeIsComplete + ", ZFBBootstrapEnabled=" + ZFBBootstrapEnabled + ", ZFBRequestRetryTimer=" + ZFBRequestRetryTimer + ", ZFBSchedulerStaleRequestTimeout=" + ZFBSchedulerStaleRequestTimeout + ", accumulateLicensesEnabled=" + accumulateLicensesEnabled + ", alarmsMaxPerObject=" + alarmsMaxPerObject + ", allowEnterpriseAvatarOnNSG=" + allowEnterpriseAvatarOnNSG + ", avatarBasePath=" + avatarBasePath + ", avatarBaseURL=" + avatarBaseURL + ", csprootAuthenticationMethod=" + csprootAuthenticationMethod + ", customerIDUpperLimit=" + customerIDUpperLimit + ", customerKey=" + customerKey + ", domainTunnelType=" + domainTunnelType + ", dynamicWANServiceDiffTime=" + dynamicWANServiceDiffTime + ", ejbcaNSGCertificateProfile=" + ejbcaNSGCertificateProfile + ", ejbcaNSGEndEntityProfile=" + ejbcaNSGEndEntityProfile + ", ejbcaOCSPResponderCN=" + ejbcaOCSPResponderCN + ", ejbcaOCSPResponderURI=" + ejbcaOCSPResponderURI + ", ejbcaVspRootCa=" + ejbcaVspRootCa + ", elasticClusterName=" + elasticClusterName + ", entityScope=" + entityScope + ", esiID=" + esiID + ", eventLogCleanupInterval=" + eventLogCleanupInterval + ", eventLogEntryMaxAge=" + eventLogEntryMaxAge + ", eventProcessorInterval=" + eventProcessorInterval + ", eventProcessorMaxEventsCount=" + eventProcessorMaxEventsCount + ", eventProcessorTimeout=" + eventProcessorTimeout + ", externalID=" + externalID + ", flowCollectionEnabled=" + flowCollectionEnabled + ", globalMACAddress=" + globalMACAddress + ", groupKeyDefaultSEKGenerationInterval=" + groupKeyDefaultSEKGenerationInterval + ", groupKeyDefaultSEKLifetime=" + groupKeyDefaultSEKLifetime + ", groupKeyDefaultSEKPayloadEncryptionAlgorithm=" + groupKeyDefaultSEKPayloadEncryptionAlgorithm + ", groupKeyDefaultSEKPayloadSigningAlgorithm=" + groupKeyDefaultSEKPayloadSigningAlgorithm + ", groupKeyDefaultSeedGenerationInterval=" + groupKeyDefaultSeedGenerationInterval + ", groupKeyDefaultSeedLifetime=" + groupKeyDefaultSeedLifetime + ", groupKeyDefaultSeedPayloadAuthenticationAlgorithm=" + groupKeyDefaultSeedPayloadAuthenticationAlgorithm + ", groupKeyDefaultSeedPayloadEncryptionAlgorithm=" + groupKeyDefaultSeedPayloadEncryptionAlgorithm + ", groupKeyDefaultSeedPayloadSigningAlgorithm=" + groupKeyDefaultSeedPayloadSigningAlgorithm + ", groupKeyDefaultTrafficAuthenticationAlgorithm=" + groupKeyDefaultTrafficAuthenticationAlgorithm + ", groupKeyDefaultTrafficEncryptionAlgorithm=" + groupKeyDefaultTrafficEncryptionAlgorithm + ", groupKeyDefaultTrafficEncryptionKeyLifetime=" + groupKeyDefaultTrafficEncryptionKeyLifetime + ", groupKeyGenerationIntervalOnForcedReKey=" + groupKeyGenerationIntervalOnForcedReKey + ", groupKeyGenerationIntervalOnRevoke=" + groupKeyGenerationIntervalOnRevoke + ", groupKeyMinimumSEKGenerationInterval=" + groupKeyMinimumSEKGenerationInterval + ", groupKeyMinimumSEKLifetime=" + groupKeyMinimumSEKLifetime + ", groupKeyMinimumSeedGenerationInterval=" + groupKeyMinimumSeedGenerationInterval + ", groupKeyMinimumSeedLifetime=" + groupKeyMinimumSeedLifetime + ", groupKeyMinimumTrafficEncryptionKeyLifetime=" + groupKeyMinimumTrafficEncryptionKeyLifetime + ", inactiveTimeout=" + inactiveTimeout + ", keyServerMonitorEnabled=" + keyServerMonitorEnabled + ", keyServerVSDDataSynchronizationInterval=" + keyServerVSDDataSynchronizationInterval + ", lastUpdatedBy=" + lastUpdatedBy + ", maxFailedLogins=" + maxFailedLogins + ", maxResponse=" + maxResponse + ", nsgBootstrapEndpoint=" + nsgBootstrapEndpoint + ", nsgConfigEndpoint=" + nsgConfigEndpoint + ", nsgLocalUiUrl=" + nsgLocalUiUrl + ", offsetCustomerID=" + offsetCustomerID + ", offsetServiceID=" + offsetServiceID + ", pageMaxSize=" + pageMaxSize + ", pageSize=" + pageSize + ", perDomainVlanIdEnabled=" + perDomainVlanIdEnabled + ", performancePathSelectionVNID=" + performancePathSelectionVNID + ", postProcessorThreadsCount=" + postProcessorThreadsCount + ", serviceIDUpperLimit=" + serviceIDUpperLimit + ", stackTraceEnabled=" + stackTraceEnabled + ", statefulACLNonTCPTimeout=" + statefulACLNonTCPTimeout + ", statefulACLTCPTimeout=" + statefulACLTCPTimeout + ", staticWANServicePurgeTime=" + staticWANServicePurgeTime + ", statisticsEnabled=" + statisticsEnabled + ", statsCollectorAddress=" + statsCollectorAddress + ", statsCollectorPort=" + statsCollectorPort + ", statsCollectorProtoBufPort=" + statsCollectorProtoBufPort + ", statsMaxDataPoints=" + statsMaxDataPoints + ", statsMinDuration=" + statsMinDuration + ", statsNumberOfDataPoints=" + statsNumberOfDataPoints + ", statsTSDBServerAddress=" + statsTSDBServerAddress + ", stickyECMPIdleTimeout=" + stickyECMPIdleTimeout + ", subnetResyncInterval=" + subnetResyncInterval + ", subnetResyncOutstandingInterval=" + subnetResyncOutstandingInterval + ", syslogDestinationHost=" + syslogDestinationHost + ", syslogDestinationPort=" + syslogDestinationPort + ", sysmonCleanupTaskInterval=" + sysmonCleanupTaskInterval + ", sysmonNodePresenceTimeout=" + sysmonNodePresenceTimeout + ", sysmonProbeResponseTimeout=" + sysmonProbeResponseTimeout + ", systemAvatarData=" + systemAvatarData + ", systemAvatarType=" + systemAvatarType + ", twoFactorCodeExpiry=" + twoFactorCodeExpiry + ", twoFactorCodeLength=" + twoFactorCodeLength + ", twoFactorCodeSeedLength=" + twoFactorCodeSeedLength + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "SystemConfig [" + "AARFlowStatsInterval=" + AARFlowStatsInterval + ", AARProbeStatsInterval=" + AARProbeStatsInterval + ", ACLAllowOrigin=" + ACLAllowOrigin + ", ADGatewayPurgeTime=" + ADGatewayPurgeTime + ", APIKeyRenewalInterval=" + APIKeyRenewalInterval + ", APIKeyValidity=" + APIKeyValidity + ", ASNumber=" + ASNumber + ", DHCPOptionSize=" + DHCPOptionSize + ", ECMPCount=" + ECMPCount + ", EVPNBGPCommunityTagASNumber=" + EVPNBGPCommunityTagASNumber + ", EVPNBGPCommunityTagLowerLimit=" + EVPNBGPCommunityTagLowerLimit + ", EVPNBGPCommunityTagUpperLimit=" + EVPNBGPCommunityTagUpperLimit + ", LDAPSyncInterval=" + LDAPSyncInterval + ", LDAPTrustStoreCertifcate=" + LDAPTrustStoreCertifcate + ", LDAPTrustStorePassword=" + LDAPTrustStorePassword + ", LRUCacheSizePerSubnet=" + LRUCacheSizePerSubnet + ", NSGUplinkHoldDownTimer=" + NSGUplinkHoldDownTimer + ", RDLowerLimit=" + RDLowerLimit + ", RDPublicNetworkLowerLimit=" + RDPublicNetworkLowerLimit + ", RDPublicNetworkUpperLimit=" + RDPublicNetworkUpperLimit + ", RDUpperLimit=" + RDUpperLimit + ", RTLowerLimit=" + RTLowerLimit + ", RTPublicNetworkLowerLimit=" + RTPublicNetworkLowerLimit + ", RTPublicNetworkUpperLimit=" + RTPublicNetworkUpperLimit + ", RTUpperLimit=" + RTUpperLimit + ", VLANIDLowerLimit=" + VLANIDLowerLimit + ", VLANIDUpperLimit=" + VLANIDUpperLimit + ", VMCacheSize=" + VMCacheSize + ", VMPurgeTime=" + VMPurgeTime + ", VMResyncDeletionWaitTime=" + VMResyncDeletionWaitTime + ", VMResyncOutstandingInterval=" + VMResyncOutstandingInterval + ", VMUnreachableCleanupTime=" + VMUnreachableCleanupTime + ", VMUnreachableTime=" + VMUnreachableTime + ", VNIDLowerLimit=" + VNIDLowerLimit + ", VNIDPublicNetworkLowerLimit=" + VNIDPublicNetworkLowerLimit + ", VNIDPublicNetworkUpperLimit=" + VNIDPublicNetworkUpperLimit + ", VNIDUpperLimit=" + VNIDUpperLimit + ", VPortInitStatefulTimer=" + VPortInitStatefulTimer + ", VSCOnSameVersionAsVSD=" + VSCOnSameVersionAsVSD + ", VSDReadOnlyMode=" + VSDReadOnlyMode + ", VSDUpgradeIsComplete=" + VSDUpgradeIsComplete + ", VSSStatsInterval=" + VSSStatsInterval + ", ZFBBootstrapEnabled=" + ZFBBootstrapEnabled + ", ZFBRequestRetryTimer=" + ZFBRequestRetryTimer + ", ZFBSchedulerStaleRequestTimeout=" + ZFBSchedulerStaleRequestTimeout + ", accumulateLicensesEnabled=" + accumulateLicensesEnabled + ", alarmsMaxPerObject=" + alarmsMaxPerObject + ", allowEnterpriseAvatarOnNSG=" + allowEnterpriseAvatarOnNSG + ", avatarBasePath=" + avatarBasePath + ", avatarBaseURL=" + avatarBaseURL + ", csprootAuthenticationMethod=" + csprootAuthenticationMethod + ", customerIDUpperLimit=" + customerIDUpperLimit + ", customerKey=" + customerKey + ", domainTunnelType=" + domainTunnelType + ", dynamicWANServiceDiffTime=" + dynamicWANServiceDiffTime + ", ejbcaNSGCertificateProfile=" + ejbcaNSGCertificateProfile + ", ejbcaNSGEndEntityProfile=" + ejbcaNSGEndEntityProfile + ", ejbcaOCSPResponderCN=" + ejbcaOCSPResponderCN + ", ejbcaOCSPResponderURI=" + ejbcaOCSPResponderURI + ", ejbcaVspRootCa=" + ejbcaVspRootCa + ", elasticClusterName=" + elasticClusterName + ", entityScope=" + entityScope + ", esiID=" + esiID + ", eventLogCleanupInterval=" + eventLogCleanupInterval + ", eventLogEntryMaxAge=" + eventLogEntryMaxAge + ", eventProcessorInterval=" + eventProcessorInterval + ", eventProcessorMaxEventsCount=" + eventProcessorMaxEventsCount + ", eventProcessorTimeout=" + eventProcessorTimeout + ", externalID=" + externalID + ", flowCollectionEnabled=" + flowCollectionEnabled + ", globalMACAddress=" + globalMACAddress + ", groupKeyDefaultSEKGenerationInterval=" + groupKeyDefaultSEKGenerationInterval + ", groupKeyDefaultSEKLifetime=" + groupKeyDefaultSEKLifetime + ", groupKeyDefaultSEKPayloadEncryptionAlgorithm=" + groupKeyDefaultSEKPayloadEncryptionAlgorithm + ", groupKeyDefaultSEKPayloadSigningAlgorithm=" + groupKeyDefaultSEKPayloadSigningAlgorithm + ", groupKeyDefaultSeedGenerationInterval=" + groupKeyDefaultSeedGenerationInterval + ", groupKeyDefaultSeedLifetime=" + groupKeyDefaultSeedLifetime + ", groupKeyDefaultSeedPayloadAuthenticationAlgorithm=" + groupKeyDefaultSeedPayloadAuthenticationAlgorithm + ", groupKeyDefaultSeedPayloadEncryptionAlgorithm=" + groupKeyDefaultSeedPayloadEncryptionAlgorithm + ", groupKeyDefaultSeedPayloadSigningAlgorithm=" + groupKeyDefaultSeedPayloadSigningAlgorithm + ", groupKeyDefaultTrafficAuthenticationAlgorithm=" + groupKeyDefaultTrafficAuthenticationAlgorithm + ", groupKeyDefaultTrafficEncryptionAlgorithm=" + groupKeyDefaultTrafficEncryptionAlgorithm + ", groupKeyDefaultTrafficEncryptionKeyLifetime=" + groupKeyDefaultTrafficEncryptionKeyLifetime + ", groupKeyGenerationIntervalOnForcedReKey=" + groupKeyGenerationIntervalOnForcedReKey + ", groupKeyGenerationIntervalOnRevoke=" + groupKeyGenerationIntervalOnRevoke + ", groupKeyMinimumSEKGenerationInterval=" + groupKeyMinimumSEKGenerationInterval + ", groupKeyMinimumSEKLifetime=" + groupKeyMinimumSEKLifetime + ", groupKeyMinimumSeedGenerationInterval=" + groupKeyMinimumSeedGenerationInterval + ", groupKeyMinimumSeedLifetime=" + groupKeyMinimumSeedLifetime + ", groupKeyMinimumTrafficEncryptionKeyLifetime=" + groupKeyMinimumTrafficEncryptionKeyLifetime + ", inactiveTimeout=" + inactiveTimeout + ", keyServerMonitorEnabled=" + keyServerMonitorEnabled + ", keyServerVSDDataSynchronizationInterval=" + keyServerVSDDataSynchronizationInterval + ", lastUpdatedBy=" + lastUpdatedBy + ", maxFailedLogins=" + maxFailedLogins + ", maxResponse=" + maxResponse + ", nsgBootstrapEndpoint=" + nsgBootstrapEndpoint + ", nsgConfigEndpoint=" + nsgConfigEndpoint + ", nsgLocalUiUrl=" + nsgLocalUiUrl + ", offsetCustomerID=" + offsetCustomerID + ", offsetServiceID=" + offsetServiceID + ", pageMaxSize=" + pageMaxSize + ", pageSize=" + pageSize + ", perDomainVlanIdEnabled=" + perDomainVlanIdEnabled + ", performancePathSelectionVNID=" + performancePathSelectionVNID + ", postProcessorThreadsCount=" + postProcessorThreadsCount + ", serviceIDUpperLimit=" + serviceIDUpperLimit + ", stackTraceEnabled=" + stackTraceEnabled + ", statefulACLNonTCPTimeout=" + statefulACLNonTCPTimeout + ", statefulACLTCPTimeout=" + statefulACLTCPTimeout + ", staticWANServicePurgeTime=" + staticWANServicePurgeTime + ", statisticsEnabled=" + statisticsEnabled + ", statsCollectorAddress=" + statsCollectorAddress + ", statsCollectorPort=" + statsCollectorPort + ", statsCollectorProtoBufPort=" + statsCollectorProtoBufPort + ", statsMaxDataPoints=" + statsMaxDataPoints + ", statsMinDuration=" + statsMinDuration + ", statsNumberOfDataPoints=" + statsNumberOfDataPoints + ", statsTSDBServerAddress=" + statsTSDBServerAddress + ", stickyECMPIdleTimeout=" + stickyECMPIdleTimeout + ", subnetResyncInterval=" + subnetResyncInterval + ", subnetResyncOutstandingInterval=" + subnetResyncOutstandingInterval + ", syslogDestinationHost=" + syslogDestinationHost + ", syslogDestinationPort=" + syslogDestinationPort + ", sysmonCleanupTaskInterval=" + sysmonCleanupTaskInterval + ", sysmonNodePresenceTimeout=" + sysmonNodePresenceTimeout + ", sysmonProbeResponseTimeout=" + sysmonProbeResponseTimeout + ", systemAvatarData=" + systemAvatarData + ", systemAvatarType=" + systemAvatarType + ", twoFactorCodeExpiry=" + twoFactorCodeExpiry + ", twoFactorCodeLength=" + twoFactorCodeLength + ", twoFactorCodeSeedLength=" + twoFactorCodeSeedLength + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/TCA.java b/src/main/java/net/nuagenetworks/vspk/v4_0/TCA.java index 32f4f64..6b1bcb2 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/TCA.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/TCA.java @@ -49,7 +49,7 @@ public class TCA extends RestObject { public enum Action { ALERT, ALERT_POLICYGROUPCHANGE }; public enum EntityScope { ENTERPRISE, GLOBAL }; - public enum Metric { ACL_DENY_EVENT_COUNT, ADDRESS_MAP_EGRESS_BYTE_CNT, ADDRESS_MAP_EGRESS_PKT_CNT, ADDRESS_MAP_INGRESS_BYTE_CNT, ADDRESS_MAP_INGRESS_PKT_CNT, ANTI_SPOOF_EVENT_COUNT, BYTES_IN, BYTES_OUT, EGRESS_BYTE_COUNT, EGRESS_PACKET_COUNT, INGRESS_BYTE_COUNT, INGRESS_PACKET_COUNT, PACKETS_DROPPED_BY_RATE_LIMIT, PACKETS_IN, PACKETS_IN_DROPPED, PACKETS_IN_ERROR, PACKETS_OUT, PACKETS_OUT_DROPPED, PACKETS_OUT_ERROR, TCP_SYN_EVENT_COUNT }; + public enum Metric { ACL_DENY_EVENT_COUNT, ADDRESS_MAP_EGRESS_BYTE_CNT, ADDRESS_MAP_EGRESS_PKT_CNT, ADDRESS_MAP_INGRESS_BYTE_CNT, ADDRESS_MAP_INGRESS_PKT_CNT, ANTI_SPOOF_EVENT_COUNT, BYTES_IN, BYTES_OUT, EGRESS_BYTE_COUNT, EGRESS_PACKET_COUNT, FIP_PRE_RATE_LIMIT_BYTES, FIP_PRE_RATE_LIMIT_PACKETS, FIP_RATE_LIMIT_DROPPED_BYTES, FIP_RATE_LIMIT_DROPPED_PACKETS, INGRESS_BYTE_COUNT, INGRESS_PACKET_COUNT, PACKETS_DROPPED_BY_RATE_LIMIT, PACKETS_IN, PACKETS_IN_DROPPED, PACKETS_IN_ERROR, PACKETS_OUT, PACKETS_OUT_DROPPED, PACKETS_OUT_ERROR, TCP_FLAG_ACK_IN, TCP_FLAG_ACK_OUT, TCP_FLAG_NULL_IN, TCP_FLAG_NULL_OUT, TCP_FLAG_RST_IN, TCP_FLAG_RST_OUT, TCP_FLAG_SYN_IN, TCP_FLAG_SYN_OUT, TCP_SYN_EVENT_COUNT }; public enum Type { BREACH, ROLLING_AVERAGE }; 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 4c01d8f..613205a 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; +import net.nuagenetworks.vspk.v4_0.fetchers.BFDSessionsFetcher; import net.nuagenetworks.vspk.v4_0.fetchers.CustomPropertiesFetcher; import net.nuagenetworks.vspk.v4_0.fetchers.UnderlaysFetcher; @@ -46,7 +47,7 @@ public class UplinkConnection extends RestObject { public enum Address { IPv4, IPv6 }; - public enum AdvertisementCriteria { CONTROL_SESSION, FATE_SHARING, GATEWAY_PING, OPERATIONAL_LINK }; + public enum AdvertisementCriteria { BFD, CONTROL_SESSION, OPERATIONAL_LINK }; public enum InterfaceConnectionType { AUTOMATIC, EMBEDDED, PCI_EXPRESS, USB_ETHERNET, USB_MODEM }; public enum Mode { Any, Dynamic, LTE, PPPoE, Static }; public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN }; @@ -99,6 +100,9 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN }; + @JsonIgnore + private BFDSessionsFetcher bFDSessions; + @JsonIgnore private CustomPropertiesFetcher customProperties; @@ -108,6 +112,8 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN }; public UplinkConnection() { + bFDSessions = new BFDSessionsFetcher(this); + customProperties = new CustomPropertiesFetcher(this); underlays = new UnderlaysFetcher(this); @@ -252,6 +258,11 @@ public void setUsername(String value) { + @JsonIgnore + public BFDSessionsFetcher getBFDSessions() { + return bFDSessions; + } + @JsonIgnore public CustomPropertiesFetcher getCustomProperties() { return customProperties; diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/User.java b/src/main/java/net/nuagenetworks/vspk/v4_0/User.java index fd8255f..65cb716 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/User.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/User.java @@ -55,6 +55,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL }; public enum ManagementMode { CMS, DEFAULT }; + @JsonProperty(value = "LDAPUserDN") + protected String LDAPUserDN; + @JsonProperty(value = "avatarData") protected String avatarData; @@ -136,6 +139,15 @@ public User() { } + @JsonIgnore + public String getLDAPUserDN() { + return LDAPUserDN; + } + + @JsonIgnore + public void setLDAPUserDN(String value) { + this.LDAPUserDN = value; + } @JsonIgnore public String getAvatarData() { return avatarData; @@ -293,7 +305,7 @@ public VMsFetcher getVMs() { public String toString() { - return "User [" + "avatarData=" + avatarData + ", avatarType=" + avatarType + ", disabled=" + disabled + ", email=" + email + ", entityScope=" + entityScope + ", externalID=" + externalID + ", firstName=" + firstName + ", lastName=" + lastName + ", lastUpdatedBy=" + lastUpdatedBy + ", managementMode=" + managementMode + ", mobileNumber=" + mobileNumber + ", password=" + password + ", userName=" + userName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "User [" + "LDAPUserDN=" + LDAPUserDN + ", avatarData=" + avatarData + ", avatarType=" + avatarType + ", disabled=" + disabled + ", email=" + email + ", entityScope=" + entityScope + ", externalID=" + externalID + ", firstName=" + firstName + ", lastName=" + lastName + ", lastUpdatedBy=" + lastUpdatedBy + ", managementMode=" + managementMode + ", mobileNumber=" + mobileNumber + ", password=" + password + ", userName=" + userName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/VCenter.java b/src/main/java/net/nuagenetworks/vspk/v4_0/VCenter.java index c001025..f3be8b3 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/VCenter.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/VCenter.java @@ -96,6 +96,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL }; @JsonProperty(value = "dhcpRelayServer") protected String dhcpRelayServer; + @JsonProperty(value = "disableNetworkDiscovery") + protected Boolean disableNetworkDiscovery; + @JsonProperty(value = "entityScope") protected EntityScope entityScope; @@ -466,6 +469,15 @@ public void setDhcpRelayServer(String value) { this.dhcpRelayServer = value; } @JsonIgnore + public Boolean getDisableNetworkDiscovery() { + return disableNetworkDiscovery; + } + + @JsonIgnore + public void setDisableNetworkDiscovery(Boolean value) { + this.disableNetworkDiscovery = value; + } + @JsonIgnore public EntityScope getEntityScope() { return entityScope; } @@ -1108,7 +1120,7 @@ public VRSRedeploymentpoliciesFetcher getVRSRedeploymentpolicies() { public String toString() { - return "VCenter [" + "VRSConfigurationTimeLimit=" + VRSConfigurationTimeLimit + ", allowDataDHCP=" + allowDataDHCP + ", allowMgmtDHCP=" + allowMgmtDHCP + ", autoResolveFrequency=" + autoResolveFrequency + ", connectionStatus=" + connectionStatus + ", customizedScriptURL=" + customizedScriptURL + ", dataDNS1=" + dataDNS1 + ", dataDNS2=" + dataDNS2 + ", dataGateway=" + dataGateway + ", dataNetworkPortgroup=" + dataNetworkPortgroup + ", datapathSyncTimeout=" + datapathSyncTimeout + ", description=" + description + ", destinationMirrorPort=" + destinationMirrorPort + ", dhcpRelayServer=" + dhcpRelayServer + ", entityScope=" + entityScope + ", externalID=" + externalID + ", flowEvictionThreshold=" + flowEvictionThreshold + ", genericSplitActivation=" + genericSplitActivation + ", hostLevelManagement=" + hostLevelManagement + ", httpPort=" + httpPort + ", httpsPort=" + httpsPort + ", ipAddress=" + ipAddress + ", lastUpdatedBy=" + lastUpdatedBy + ", metadataServerIP=" + metadataServerIP + ", metadataServerListenPort=" + metadataServerListenPort + ", metadataServerPort=" + metadataServerPort + ", metadataServiceEnabled=" + metadataServiceEnabled + ", mgmtDNS1=" + mgmtDNS1 + ", mgmtDNS2=" + mgmtDNS2 + ", mgmtGateway=" + mgmtGateway + ", mgmtNetworkPortgroup=" + mgmtNetworkPortgroup + ", mirrorNetworkPortgroup=" + mirrorNetworkPortgroup + ", mtu=" + mtu + ", multiVMSsupport=" + multiVMSsupport + ", multicastReceiveInterface=" + multicastReceiveInterface + ", multicastReceiveInterfaceIP=" + multicastReceiveInterfaceIP + ", multicastReceiveInterfaceNetmask=" + multicastReceiveInterfaceNetmask + ", multicastReceiveRange=" + multicastReceiveRange + ", multicastSendInterface=" + multicastSendInterface + ", multicastSendInterfaceIP=" + multicastSendInterfaceIP + ", multicastSendInterfaceNetmask=" + multicastSendInterfaceNetmask + ", multicastSourcePortgroup=" + multicastSourcePortgroup + ", name=" + name + ", networkUplinkInterface=" + networkUplinkInterface + ", networkUplinkInterfaceGateway=" + networkUplinkInterfaceGateway + ", networkUplinkInterfaceIp=" + networkUplinkInterfaceIp + ", networkUplinkInterfaceNetmask=" + networkUplinkInterfaceNetmask + ", nfsLogServer=" + nfsLogServer + ", nfsMountPath=" + nfsMountPath + ", novaClientVersion=" + novaClientVersion + ", novaMetadataServiceAuthUrl=" + novaMetadataServiceAuthUrl + ", novaMetadataServiceEndpoint=" + novaMetadataServiceEndpoint + ", novaMetadataServicePassword=" + novaMetadataServicePassword + ", novaMetadataServiceTenant=" + novaMetadataServiceTenant + ", novaMetadataServiceUsername=" + novaMetadataServiceUsername + ", novaMetadataSharedSecret=" + novaMetadataSharedSecret + ", novaRegionName=" + novaRegionName + ", ntpServer1=" + ntpServer1 + ", ntpServer2=" + ntpServer2 + ", oldAgencyName=" + oldAgencyName + ", ovfURL=" + ovfURL + ", password=" + password + ", personality=" + personality + ", portgroupMetadata=" + portgroupMetadata + ", primaryNuageController=" + primaryNuageController + ", secondaryNuageController=" + secondaryNuageController + ", separateDataNetwork=" + separateDataNetwork + ", siteId=" + siteId + ", staticRoute=" + staticRoute + ", staticRouteGateway=" + staticRouteGateway + ", staticRouteNetmask=" + staticRouteNetmask + ", upgradePackagePassword=" + upgradePackagePassword + ", upgradePackageURL=" + upgradePackageURL + ", upgradePackageUsername=" + upgradePackageUsername + ", upgradeScriptTimeLimit=" + upgradeScriptTimeLimit + ", userName=" + userName + ", vRequireNuageMetadata=" + vRequireNuageMetadata + ", vmNetworkPortgroup=" + vmNetworkPortgroup + ", vrsConfigID=" + vrsConfigID + ", vrsPassword=" + vrsPassword + ", vrsUserName=" + vrsUserName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "VCenter [" + "VRSConfigurationTimeLimit=" + VRSConfigurationTimeLimit + ", allowDataDHCP=" + allowDataDHCP + ", allowMgmtDHCP=" + allowMgmtDHCP + ", autoResolveFrequency=" + autoResolveFrequency + ", connectionStatus=" + connectionStatus + ", customizedScriptURL=" + customizedScriptURL + ", dataDNS1=" + dataDNS1 + ", dataDNS2=" + dataDNS2 + ", dataGateway=" + dataGateway + ", dataNetworkPortgroup=" + dataNetworkPortgroup + ", datapathSyncTimeout=" + datapathSyncTimeout + ", description=" + description + ", destinationMirrorPort=" + destinationMirrorPort + ", dhcpRelayServer=" + dhcpRelayServer + ", disableNetworkDiscovery=" + disableNetworkDiscovery + ", entityScope=" + entityScope + ", externalID=" + externalID + ", flowEvictionThreshold=" + flowEvictionThreshold + ", genericSplitActivation=" + genericSplitActivation + ", hostLevelManagement=" + hostLevelManagement + ", httpPort=" + httpPort + ", httpsPort=" + httpsPort + ", ipAddress=" + ipAddress + ", lastUpdatedBy=" + lastUpdatedBy + ", metadataServerIP=" + metadataServerIP + ", metadataServerListenPort=" + metadataServerListenPort + ", metadataServerPort=" + metadataServerPort + ", metadataServiceEnabled=" + metadataServiceEnabled + ", mgmtDNS1=" + mgmtDNS1 + ", mgmtDNS2=" + mgmtDNS2 + ", mgmtGateway=" + mgmtGateway + ", mgmtNetworkPortgroup=" + mgmtNetworkPortgroup + ", mirrorNetworkPortgroup=" + mirrorNetworkPortgroup + ", mtu=" + mtu + ", multiVMSsupport=" + multiVMSsupport + ", multicastReceiveInterface=" + multicastReceiveInterface + ", multicastReceiveInterfaceIP=" + multicastReceiveInterfaceIP + ", multicastReceiveInterfaceNetmask=" + multicastReceiveInterfaceNetmask + ", multicastReceiveRange=" + multicastReceiveRange + ", multicastSendInterface=" + multicastSendInterface + ", multicastSendInterfaceIP=" + multicastSendInterfaceIP + ", multicastSendInterfaceNetmask=" + multicastSendInterfaceNetmask + ", multicastSourcePortgroup=" + multicastSourcePortgroup + ", name=" + name + ", networkUplinkInterface=" + networkUplinkInterface + ", networkUplinkInterfaceGateway=" + networkUplinkInterfaceGateway + ", networkUplinkInterfaceIp=" + networkUplinkInterfaceIp + ", networkUplinkInterfaceNetmask=" + networkUplinkInterfaceNetmask + ", nfsLogServer=" + nfsLogServer + ", nfsMountPath=" + nfsMountPath + ", novaClientVersion=" + novaClientVersion + ", novaMetadataServiceAuthUrl=" + novaMetadataServiceAuthUrl + ", novaMetadataServiceEndpoint=" + novaMetadataServiceEndpoint + ", novaMetadataServicePassword=" + novaMetadataServicePassword + ", novaMetadataServiceTenant=" + novaMetadataServiceTenant + ", novaMetadataServiceUsername=" + novaMetadataServiceUsername + ", novaMetadataSharedSecret=" + novaMetadataSharedSecret + ", novaRegionName=" + novaRegionName + ", ntpServer1=" + ntpServer1 + ", ntpServer2=" + ntpServer2 + ", oldAgencyName=" + oldAgencyName + ", ovfURL=" + ovfURL + ", password=" + password + ", personality=" + personality + ", portgroupMetadata=" + portgroupMetadata + ", primaryNuageController=" + primaryNuageController + ", secondaryNuageController=" + secondaryNuageController + ", separateDataNetwork=" + separateDataNetwork + ", siteId=" + siteId + ", staticRoute=" + staticRoute + ", staticRouteGateway=" + staticRouteGateway + ", staticRouteNetmask=" + staticRouteNetmask + ", upgradePackagePassword=" + upgradePackagePassword + ", upgradePackageURL=" + upgradePackageURL + ", upgradePackageUsername=" + upgradePackageUsername + ", upgradeScriptTimeLimit=" + upgradeScriptTimeLimit + ", userName=" + userName + ", vRequireNuageMetadata=" + vRequireNuageMetadata + ", vmNetworkPortgroup=" + vmNetworkPortgroup + ", vrsConfigID=" + vrsConfigID + ", vrsPassword=" + vrsPassword + ", vrsUserName=" + vrsUserName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/VCenterHypervisor.java b/src/main/java/net/nuagenetworks/vspk/v4_0/VCenterHypervisor.java index 84fff5b..014cf2f 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/VCenterHypervisor.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/VCenterHypervisor.java @@ -288,6 +288,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL }; @JsonProperty(value = "staticRouteNetmask") protected String staticRouteNetmask; + @JsonProperty(value = "successfullyAppliedVersion") + protected String successfullyAppliedVersion; + @JsonProperty(value = "toolboxDeploymentMode") protected Boolean toolboxDeploymentMode; @@ -1085,6 +1088,15 @@ public void setStaticRouteNetmask(String value) { this.staticRouteNetmask = value; } @JsonIgnore + public String getSuccessfullyAppliedVersion() { + return successfullyAppliedVersion; + } + + @JsonIgnore + public void setSuccessfullyAppliedVersion(String value) { + this.successfullyAppliedVersion = value; + } + @JsonIgnore public Boolean getToolboxDeploymentMode() { return toolboxDeploymentMode; } @@ -1290,7 +1302,7 @@ public VRSRedeploymentpoliciesFetcher getVRSRedeploymentpolicies() { public String toString() { - return "VCenterHypervisor [" + "VRSConfigurationTimeLimit=" + VRSConfigurationTimeLimit + ", VRSMetricsID=" + VRSMetricsID + ", VRSState=" + VRSState + ", allowDataDHCP=" + allowDataDHCP + ", allowMgmtDHCP=" + allowMgmtDHCP + ", availableNetworks=" + availableNetworks + ", customizedScriptURL=" + customizedScriptURL + ", dataDNS1=" + dataDNS1 + ", dataDNS2=" + dataDNS2 + ", dataGateway=" + dataGateway + ", dataIPAddress=" + dataIPAddress + ", dataNetmask=" + dataNetmask + ", dataNetworkPortgroup=" + dataNetworkPortgroup + ", datapathSyncTimeout=" + datapathSyncTimeout + ", deploymentCount=" + deploymentCount + ", description=" + description + ", destinationMirrorPort=" + destinationMirrorPort + ", dhcpRelayServer=" + dhcpRelayServer + ", entityScope=" + entityScope + ", externalID=" + externalID + ", flowEvictionThreshold=" + flowEvictionThreshold + ", genericSplitActivation=" + genericSplitActivation + ", hypervisorIP=" + hypervisorIP + ", hypervisorPassword=" + hypervisorPassword + ", hypervisorUser=" + hypervisorUser + ", lastUpdatedBy=" + lastUpdatedBy + ", lastVRSDeployedDate=" + lastVRSDeployedDate + ", managedObjectID=" + managedObjectID + ", metadataServerIP=" + metadataServerIP + ", metadataServerListenPort=" + metadataServerListenPort + ", metadataServerPort=" + metadataServerPort + ", metadataServiceEnabled=" + metadataServiceEnabled + ", mgmtDNS1=" + mgmtDNS1 + ", mgmtDNS2=" + mgmtDNS2 + ", mgmtGateway=" + mgmtGateway + ", mgmtIPAddress=" + mgmtIPAddress + ", mgmtNetmask=" + mgmtNetmask + ", mgmtNetworkPortgroup=" + mgmtNetworkPortgroup + ", mirrorNetworkPortgroup=" + mirrorNetworkPortgroup + ", mtu=" + mtu + ", multiVMSsupport=" + multiVMSsupport + ", multicastReceiveInterface=" + multicastReceiveInterface + ", multicastReceiveInterfaceIP=" + multicastReceiveInterfaceIP + ", multicastReceiveInterfaceNetmask=" + multicastReceiveInterfaceNetmask + ", multicastReceiveRange=" + multicastReceiveRange + ", multicastSendInterface=" + multicastSendInterface + ", multicastSendInterfaceIP=" + multicastSendInterfaceIP + ", multicastSendInterfaceNetmask=" + multicastSendInterfaceNetmask + ", multicastSourcePortgroup=" + multicastSourcePortgroup + ", name=" + name + ", networkUplinkInterface=" + networkUplinkInterface + ", networkUplinkInterfaceGateway=" + networkUplinkInterfaceGateway + ", networkUplinkInterfaceIp=" + networkUplinkInterfaceIp + ", networkUplinkInterfaceNetmask=" + networkUplinkInterfaceNetmask + ", nfsLogServer=" + nfsLogServer + ", nfsMountPath=" + nfsMountPath + ", novaClientVersion=" + novaClientVersion + ", novaMetadataServiceAuthUrl=" + novaMetadataServiceAuthUrl + ", novaMetadataServiceEndpoint=" + novaMetadataServiceEndpoint + ", novaMetadataServicePassword=" + novaMetadataServicePassword + ", novaMetadataServiceTenant=" + novaMetadataServiceTenant + ", novaMetadataServiceUsername=" + novaMetadataServiceUsername + ", novaMetadataSharedSecret=" + novaMetadataSharedSecret + ", novaRegionName=" + novaRegionName + ", ntpServer1=" + ntpServer1 + ", ntpServer2=" + ntpServer2 + ", ovfURL=" + ovfURL + ", personality=" + personality + ", portgroupMetadata=" + portgroupMetadata + ", primaryNuageController=" + primaryNuageController + ", removedFromVCenterInventory=" + removedFromVCenterInventory + ", scope=" + scope + ", secondaryNuageController=" + secondaryNuageController + ", separateDataNetwork=" + separateDataNetwork + ", siteId=" + siteId + ", staticRoute=" + staticRoute + ", staticRouteGateway=" + staticRouteGateway + ", staticRouteNetmask=" + staticRouteNetmask + ", toolboxDeploymentMode=" + toolboxDeploymentMode + ", toolboxGroup=" + toolboxGroup + ", toolboxIP=" + toolboxIP + ", toolboxPassword=" + toolboxPassword + ", toolboxUserName=" + toolboxUserName + ", upgradePackagePassword=" + upgradePackagePassword + ", upgradePackageURL=" + upgradePackageURL + ", upgradePackageUsername=" + upgradePackageUsername + ", upgradeScriptTimeLimit=" + upgradeScriptTimeLimit + ", upgradeStatus=" + upgradeStatus + ", upgradeTimedout=" + upgradeTimedout + ", vCenterIP=" + vCenterIP + ", vCenterPassword=" + vCenterPassword + ", vCenterUser=" + vCenterUser + ", vRequireNuageMetadata=" + vRequireNuageMetadata + ", vmNetworkPortgroup=" + vmNetworkPortgroup + ", vrsId=" + vrsId + ", vrsPassword=" + vrsPassword + ", vrsUserName=" + vrsUserName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "VCenterHypervisor [" + "VRSConfigurationTimeLimit=" + VRSConfigurationTimeLimit + ", VRSMetricsID=" + VRSMetricsID + ", VRSState=" + VRSState + ", allowDataDHCP=" + allowDataDHCP + ", allowMgmtDHCP=" + allowMgmtDHCP + ", availableNetworks=" + availableNetworks + ", customizedScriptURL=" + customizedScriptURL + ", dataDNS1=" + dataDNS1 + ", dataDNS2=" + dataDNS2 + ", dataGateway=" + dataGateway + ", dataIPAddress=" + dataIPAddress + ", dataNetmask=" + dataNetmask + ", dataNetworkPortgroup=" + dataNetworkPortgroup + ", datapathSyncTimeout=" + datapathSyncTimeout + ", deploymentCount=" + deploymentCount + ", description=" + description + ", destinationMirrorPort=" + destinationMirrorPort + ", dhcpRelayServer=" + dhcpRelayServer + ", entityScope=" + entityScope + ", externalID=" + externalID + ", flowEvictionThreshold=" + flowEvictionThreshold + ", genericSplitActivation=" + genericSplitActivation + ", hypervisorIP=" + hypervisorIP + ", hypervisorPassword=" + hypervisorPassword + ", hypervisorUser=" + hypervisorUser + ", lastUpdatedBy=" + lastUpdatedBy + ", lastVRSDeployedDate=" + lastVRSDeployedDate + ", managedObjectID=" + managedObjectID + ", metadataServerIP=" + metadataServerIP + ", metadataServerListenPort=" + metadataServerListenPort + ", metadataServerPort=" + metadataServerPort + ", metadataServiceEnabled=" + metadataServiceEnabled + ", mgmtDNS1=" + mgmtDNS1 + ", mgmtDNS2=" + mgmtDNS2 + ", mgmtGateway=" + mgmtGateway + ", mgmtIPAddress=" + mgmtIPAddress + ", mgmtNetmask=" + mgmtNetmask + ", mgmtNetworkPortgroup=" + mgmtNetworkPortgroup + ", mirrorNetworkPortgroup=" + mirrorNetworkPortgroup + ", mtu=" + mtu + ", multiVMSsupport=" + multiVMSsupport + ", multicastReceiveInterface=" + multicastReceiveInterface + ", multicastReceiveInterfaceIP=" + multicastReceiveInterfaceIP + ", multicastReceiveInterfaceNetmask=" + multicastReceiveInterfaceNetmask + ", multicastReceiveRange=" + multicastReceiveRange + ", multicastSendInterface=" + multicastSendInterface + ", multicastSendInterfaceIP=" + multicastSendInterfaceIP + ", multicastSendInterfaceNetmask=" + multicastSendInterfaceNetmask + ", multicastSourcePortgroup=" + multicastSourcePortgroup + ", name=" + name + ", networkUplinkInterface=" + networkUplinkInterface + ", networkUplinkInterfaceGateway=" + networkUplinkInterfaceGateway + ", networkUplinkInterfaceIp=" + networkUplinkInterfaceIp + ", networkUplinkInterfaceNetmask=" + networkUplinkInterfaceNetmask + ", nfsLogServer=" + nfsLogServer + ", nfsMountPath=" + nfsMountPath + ", novaClientVersion=" + novaClientVersion + ", novaMetadataServiceAuthUrl=" + novaMetadataServiceAuthUrl + ", novaMetadataServiceEndpoint=" + novaMetadataServiceEndpoint + ", novaMetadataServicePassword=" + novaMetadataServicePassword + ", novaMetadataServiceTenant=" + novaMetadataServiceTenant + ", novaMetadataServiceUsername=" + novaMetadataServiceUsername + ", novaMetadataSharedSecret=" + novaMetadataSharedSecret + ", novaRegionName=" + novaRegionName + ", ntpServer1=" + ntpServer1 + ", ntpServer2=" + ntpServer2 + ", ovfURL=" + ovfURL + ", personality=" + personality + ", portgroupMetadata=" + portgroupMetadata + ", primaryNuageController=" + primaryNuageController + ", removedFromVCenterInventory=" + removedFromVCenterInventory + ", scope=" + scope + ", secondaryNuageController=" + secondaryNuageController + ", separateDataNetwork=" + separateDataNetwork + ", siteId=" + siteId + ", staticRoute=" + staticRoute + ", staticRouteGateway=" + staticRouteGateway + ", staticRouteNetmask=" + staticRouteNetmask + ", successfullyAppliedVersion=" + successfullyAppliedVersion + ", toolboxDeploymentMode=" + toolboxDeploymentMode + ", toolboxGroup=" + toolboxGroup + ", toolboxIP=" + toolboxIP + ", toolboxPassword=" + toolboxPassword + ", toolboxUserName=" + toolboxUserName + ", upgradePackagePassword=" + upgradePackagePassword + ", upgradePackageURL=" + upgradePackageURL + ", upgradePackageUsername=" + upgradePackageUsername + ", upgradeScriptTimeLimit=" + upgradeScriptTimeLimit + ", upgradeStatus=" + upgradeStatus + ", upgradeTimedout=" + upgradeTimedout + ", vCenterIP=" + vCenterIP + ", vCenterPassword=" + vCenterPassword + ", vCenterUser=" + vCenterUser + ", vRequireNuageMetadata=" + vRequireNuageMetadata + ", vmNetworkPortgroup=" + vmNetworkPortgroup + ", vrsId=" + vrsId + ", vrsPassword=" + vrsPassword + ", vrsUserName=" + vrsUserName + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/VRSMetrics.java b/src/main/java/net/nuagenetworks/vspk/v4_0/VRSMetrics.java index 34d2b90..46e6c89 100644 --- a/src/main/java/net/nuagenetworks/vspk/v4_0/VRSMetrics.java +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/VRSMetrics.java @@ -64,6 +64,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL }; @JsonProperty(value = "associatedVCenterHypervisorID") protected String associatedVCenterHypervisorID; + @JsonProperty(value = "currentVersion") + protected String currentVersion; + @JsonProperty(value = "entityScope") protected EntityScope entityScope; @@ -147,6 +150,15 @@ public void setAssociatedVCenterHypervisorID(String value) { this.associatedVCenterHypervisorID = value; } @JsonIgnore + public String getCurrentVersion() { + return currentVersion; + } + + @JsonIgnore + public void setCurrentVersion(String value) { + this.currentVersion = value; + } + @JsonIgnore public EntityScope getEntityScope() { return entityScope; } @@ -214,7 +226,7 @@ public void setReceivingMetrics(Boolean value) { public String toString() { - return "VRSMetrics [" + "ALUbr0Status=" + ALUbr0Status + ", CPUUtilization=" + CPUUtilization + ", VRSProcess=" + VRSProcess + ", VRSVSCStatus=" + VRSVSCStatus + ", agentName=" + agentName + ", associatedVCenterHypervisorID=" + associatedVCenterHypervisorID + ", entityScope=" + entityScope + ", externalID=" + externalID + ", jesxmonProcess=" + jesxmonProcess + ", lastUpdatedBy=" + lastUpdatedBy + ", memoryUtilization=" + memoryUtilization + ", reDeploy=" + reDeploy + ", receivingMetrics=" + receivingMetrics + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + return "VRSMetrics [" + "ALUbr0Status=" + ALUbr0Status + ", CPUUtilization=" + CPUUtilization + ", VRSProcess=" + VRSProcess + ", VRSVSCStatus=" + VRSVSCStatus + ", agentName=" + agentName + ", associatedVCenterHypervisorID=" + associatedVCenterHypervisorID + ", currentVersion=" + currentVersion + ", entityScope=" + entityScope + ", externalID=" + externalID + ", jesxmonProcess=" + jesxmonProcess + ", lastUpdatedBy=" + lastUpdatedBy + ", memoryUtilization=" + memoryUtilization + ", reDeploy=" + reDeploy + ", receivingMetrics=" + receivingMetrics + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate=" + lastUpdatedDate + ", owner=" + owner + "]"; } diff --git a/src/main/java/net/nuagenetworks/vspk/v4_0/fetchers/BFDSessionsFetcher.java b/src/main/java/net/nuagenetworks/vspk/v4_0/fetchers/BFDSessionsFetcher.java new file mode 100644 index 0000000..7a7417e --- /dev/null +++ b/src/main/java/net/nuagenetworks/vspk/v4_0/fetchers/BFDSessionsFetcher.java @@ -0,0 +1,43 @@ +/* + Copyright (c) 2015, Alcatel-Lucent Inc + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +package net.nuagenetworks.vspk.v4_0.fetchers; + +import net.nuagenetworks.bambou.RestObject; +import net.nuagenetworks.bambou.RestFetcher; +import net.nuagenetworks.vspk.v4_0.BFDSession; + +public class BFDSessionsFetcher extends RestFetcher { + + private static final long serialVersionUID = 1L; + + public BFDSessionsFetcher(RestObject parentRestObj) { + super(parentRestObj, BFDSession.class); + } + + +} \ No newline at end of file