public final class SegmentAdvancedConfig
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
SegmentAdvancedConfig.Builder
Builder class for
SegmentAdvancedConfig . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
CONNECTIVITY_OFF |
static java.lang.String |
CONNECTIVITY_ON |
static java.lang.String |
ORIGIN_TYPE_VCENTER |
static java.lang.String |
URPF_MODE_NONE |
static java.lang.String |
URPF_MODE_STRICT |
Modifier | Constructor and Description |
---|---|
|
SegmentAdvancedConfig()
Default constructor.
|
protected |
SegmentAdvancedConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static SegmentAdvancedConfig |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static SegmentAdvancedConfig |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAddressPoolPaths()
Policy path to IP address pools.
|
java.lang.String |
getConnectivity()
Possible values are:
CONNECTIVITY_ON
CONNECTIVITY_OFF
Connectivity configuration to manually connect (ON) or disconnect (OFF)
Tier-0/Tier1 segment from corresponding gateway. |
java.lang.Boolean |
getHybrid()
When set to true, all the ports created on this segment will behave in a hybrid
fashion.
|
java.lang.Boolean |
getInterRouter()
When set to true, any port attached to this logical switch will not be visible
through VC/ESX UI
|
java.lang.Boolean |
getLocalEgress()
This property is used to enable proximity routing with local egress.
|
java.util.List<LocalEgressRoutingEntry> |
getLocalEgressRoutingPolicies()
An ordered list of routing policies to forward traffic to the next hop.
|
java.lang.Boolean |
getMulticast()
Enable multicast on the downlink LRP created to connect the segment to
Tier0/Tier1 gateway.
|
java.lang.String |
getNdraProfilePath()
This profile is applie dto the downlink logical router port created while
attaching this semgnet to tier-0 or tier-1.
|
java.lang.Boolean |
getNodeLocalSwitch()
A behaviour required for Firewall As A Service (FaaS) where the segment BUM
traffic is confined within the edge node that this segment belongs to.
|
java.lang.String |
getOriginId()
ID populated by NSX when NSX on DVPG is used to indicate the source DVPG.
|
java.lang.String |
getOriginType()
Possible values are:
ORIGIN_TYPE_VCENTER
The type of source from where the DVPortgroup is discovered |
java.lang.String |
getUplinkTeamingPolicyName()
The name of the switching uplink teaming policy for the Segment.
|
java.lang.String |
getUrpfMode()
Possible values are:
URPF_MODE_NONE
URPF_MODE_STRICT
This URPF mode is applied to the downlink logical router port created
while attaching this segment to tier-0 or tier-1. |
int |
hashCode() |
void |
setAddressPoolPaths(java.util.List<java.lang.String> addressPoolPaths)
Policy path to IP address pools.
|
void |
setConnectivity(java.lang.String connectivity)
Possible values are:
CONNECTIVITY_ON
CONNECTIVITY_OFF
Connectivity configuration to manually connect (ON) or disconnect (OFF)
Tier-0/Tier1 segment from corresponding gateway. |
void |
setHybrid(java.lang.Boolean hybrid)
When set to true, all the ports created on this segment will behave in a hybrid
fashion.
|
void |
setInterRouter(java.lang.Boolean interRouter)
When set to true, any port attached to this logical switch will not be visible
through VC/ESX UI
|
void |
setLocalEgress(java.lang.Boolean localEgress)
This property is used to enable proximity routing with local egress.
|
void |
setLocalEgressRoutingPolicies(java.util.List<LocalEgressRoutingEntry> localEgressRoutingPolicies)
An ordered list of routing policies to forward traffic to the next hop.
|
void |
setMulticast(java.lang.Boolean multicast)
Enable multicast on the downlink LRP created to connect the segment to
Tier0/Tier1 gateway.
|
void |
setNdraProfilePath(java.lang.String ndraProfilePath)
This profile is applie dto the downlink logical router port created while
attaching this semgnet to tier-0 or tier-1.
|
void |
setNodeLocalSwitch(java.lang.Boolean nodeLocalSwitch)
A behaviour required for Firewall As A Service (FaaS) where the segment BUM
traffic is confined within the edge node that this segment belongs to.
|
void |
setOriginId(java.lang.String originId)
ID populated by NSX when NSX on DVPG is used to indicate the source DVPG.
|
void |
setOriginType(java.lang.String originType)
Possible values are:
ORIGIN_TYPE_VCENTER
The type of source from where the DVPortgroup is discovered |
void |
setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
The name of the switching uplink teaming policy for the Segment.
|
void |
setUrpfMode(java.lang.String urpfMode)
Possible values are:
URPF_MODE_NONE
URPF_MODE_STRICT
This URPF mode is applied to the downlink logical router port created
while attaching this segment to tier-0 or tier-1. |
java.lang.String |
toString() |
public static final java.lang.String CONNECTIVITY_ON
public static final java.lang.String CONNECTIVITY_OFF
public static final java.lang.String ORIGIN_TYPE_VCENTER
public static final java.lang.String URPF_MODE_NONE
public static final java.lang.String URPF_MODE_STRICT
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public SegmentAdvancedConfig()
protected SegmentAdvancedConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getConnectivity()
public void setConnectivity(java.lang.String connectivity)
connectivity
- New value for the property.public java.util.List<java.lang.String> getAddressPoolPaths()
public void setAddressPoolPaths(java.util.List<java.lang.String> addressPoolPaths)
addressPoolPaths
- New value for the property.public java.lang.Boolean getHybrid()
public void setHybrid(java.lang.Boolean hybrid)
hybrid
- New value for the property.public java.lang.Boolean getInterRouter()
public void setInterRouter(java.lang.Boolean interRouter)
interRouter
- New value for the property.public java.lang.Boolean getLocalEgress()
public void setLocalEgress(java.lang.Boolean localEgress)
localEgress
- New value for the property.public java.util.List<LocalEgressRoutingEntry> getLocalEgressRoutingPolicies()
public void setLocalEgressRoutingPolicies(java.util.List<LocalEgressRoutingEntry> localEgressRoutingPolicies)
localEgressRoutingPolicies
- New value for the property.public java.lang.Boolean getMulticast()
public void setMulticast(java.lang.Boolean multicast)
multicast
- New value for the property.public java.lang.String getNdraProfilePath()
public void setNdraProfilePath(java.lang.String ndraProfilePath)
ndraProfilePath
- New value for the property.public java.lang.Boolean getNodeLocalSwitch()
public void setNodeLocalSwitch(java.lang.Boolean nodeLocalSwitch)
nodeLocalSwitch
- New value for the property.public java.lang.String getOriginId()
public void setOriginId(java.lang.String originId)
originId
- New value for the property.public java.lang.String getOriginType()
public void setOriginType(java.lang.String originType)
originType
- New value for the property.public java.lang.String getUplinkTeamingPolicyName()
public void setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
uplinkTeamingPolicyName
- New value for the property.public java.lang.String getUrpfMode()
public void setUrpfMode(java.lang.String urpfMode)
urpfMode
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static SegmentAdvancedConfig _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static SegmentAdvancedConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)