Package com.vmware.nsx_policy.model
Class Tier0AdvancedConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0AdvancedConfig.Builder
-
- Enclosing class:
- Tier0AdvancedConfig
public static final class Tier0AdvancedConfig.Builder extends java.lang.Object
Builder class forTier0AdvancedConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0AdvancedConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tier0AdvancedConfig
build()
Tier0AdvancedConfig.Builder
setConnectivity(java.lang.String connectivity)
Possible values are:Tier0AdvancedConfig.CONNECTIVITY_ON
Tier0AdvancedConfig.CONNECTIVITY_OFF
Connectivity configuration to manually connect (ON) or disconnect (OFF) Tier-0/Tier1 segment from corresponding gateway.Tier0AdvancedConfig.Builder
setForwardingUpTimer(java.lang.Long forwardingUpTimer)
Extra time in seconds the router must wait before sending the UP notification after the peer routing session is established.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0AdvancedConfig
.
-
-
Method Detail
-
setConnectivity
public Tier0AdvancedConfig.Builder setConnectivity(java.lang.String connectivity)
Possible values are: Connectivity configuration to manually connect (ON) or disconnect (OFF) Tier-0/Tier1 segment from corresponding gateway. This property does not apply to VLAN backed segments. VLAN backed segments with connectivity OFF does not affect its layer-2 connectivity.- Parameters:
connectivity
- New value for the property.
-
setForwardingUpTimer
public Tier0AdvancedConfig.Builder setForwardingUpTimer(java.lang.Long forwardingUpTimer)
Extra time in seconds the router must wait before sending the UP notification after the peer routing session is established. Default means forward immediately. VRF logical router will set it same as parent logical router.The functionality of this timer is to ensure that a given node when coming up does not claim as active until it has learned the northbound routes. This minimizes any impact on traffic. 5 seconds is a smarter default as it allows to learn a few thousand routes (which should cover a lot of customers). Customers that have larger scale of course today would have to set it to higher value. Exception for the this default setting is single node case, i.e; no redundancy (which is anyway not recommended,not sure if anyone deploys like that). For single node case, it should be set to 0. format: int64- Parameters:
forwardingUpTimer
- New value for the property.
-
build
public Tier0AdvancedConfig build()
-
-