public static final class SegmentAdvancedConfig.Builder
extends java.lang.Object
SegmentAdvancedConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SegmentAdvancedConfig . |
Modifier and Type | Method and Description |
---|---|
SegmentAdvancedConfig |
build() |
SegmentAdvancedConfig.Builder |
setAddressPoolPaths(java.util.List<java.lang.String> addressPoolPaths)
Policy path to IP address pools.
|
SegmentAdvancedConfig.Builder |
setConnectivity(java.lang.String connectivity)
Possible values are:
SegmentAdvancedConfig.CONNECTIVITY_ON
SegmentAdvancedConfig.CONNECTIVITY_OFF
Connectivity configuration to manually connect (ON) or disconnect (OFF)
Tier-0/Tier1 segment from corresponding gateway. |
SegmentAdvancedConfig.Builder |
setHybrid(java.lang.Boolean hybrid)
When set to true, all the ports created on this segment will behave in a hybrid
fashion.
|
SegmentAdvancedConfig.Builder |
setInterRouter(java.lang.Boolean interRouter)
When set to true, any port attached to this logical switch will not be visible
through VC/ESX UI
|
SegmentAdvancedConfig.Builder |
setLocalEgress(java.lang.Boolean localEgress)
This property is used to enable proximity routing with local egress.
|
SegmentAdvancedConfig.Builder |
setLocalEgressRoutingPolicies(java.util.List<LocalEgressRoutingEntry> localEgressRoutingPolicies)
An ordered list of routing policies to forward traffic to the next hop.
|
SegmentAdvancedConfig.Builder |
setMulticast(java.lang.Boolean multicast)
Enable multicast on the downlink LRP created to connect the segment to
Tier0/Tier1 gateway.
|
SegmentAdvancedConfig.Builder |
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.
|
SegmentAdvancedConfig.Builder |
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.
|
SegmentAdvancedConfig.Builder |
setOriginId(java.lang.String originId)
ID populated by NSX when NSX on DVPG is used to indicate the source DVPG.
|
SegmentAdvancedConfig.Builder |
setOriginType(java.lang.String originType)
Possible values are:
SegmentAdvancedConfig.ORIGIN_TYPE_VCENTER
The type of source from where the DVPortgroup is discovered |
SegmentAdvancedConfig.Builder |
setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
The name of the switching uplink teaming policy for the Segment.
|
SegmentAdvancedConfig.Builder |
setUrpfMode(java.lang.String urpfMode)
Possible values are:
SegmentAdvancedConfig.URPF_MODE_NONE
SegmentAdvancedConfig.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. |
public Builder()
SegmentAdvancedConfig
.public SegmentAdvancedConfig.Builder setConnectivity(java.lang.String connectivity)
connectivity
- New value for the property.public SegmentAdvancedConfig.Builder setAddressPoolPaths(java.util.List<java.lang.String> addressPoolPaths)
addressPoolPaths
- New value for the property.public SegmentAdvancedConfig.Builder setHybrid(java.lang.Boolean hybrid)
hybrid
- New value for the property.public SegmentAdvancedConfig.Builder setInterRouter(java.lang.Boolean interRouter)
interRouter
- New value for the property.public SegmentAdvancedConfig.Builder setLocalEgress(java.lang.Boolean localEgress)
localEgress
- New value for the property.public SegmentAdvancedConfig.Builder setLocalEgressRoutingPolicies(java.util.List<LocalEgressRoutingEntry> localEgressRoutingPolicies)
localEgressRoutingPolicies
- New value for the property.public SegmentAdvancedConfig.Builder setMulticast(java.lang.Boolean multicast)
multicast
- New value for the property.public SegmentAdvancedConfig.Builder setNdraProfilePath(java.lang.String ndraProfilePath)
ndraProfilePath
- New value for the property.public SegmentAdvancedConfig.Builder setNodeLocalSwitch(java.lang.Boolean nodeLocalSwitch)
nodeLocalSwitch
- New value for the property.public SegmentAdvancedConfig.Builder setOriginId(java.lang.String originId)
originId
- New value for the property.public SegmentAdvancedConfig.Builder setOriginType(java.lang.String originType)
originType
- New value for the property.public SegmentAdvancedConfig.Builder setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
uplinkTeamingPolicyName
- New value for the property.public SegmentAdvancedConfig.Builder setUrpfMode(java.lang.String urpfMode)
urpfMode
- New value for the property.public SegmentAdvancedConfig build()