public static final class PolicyInterfaceOspfConfig.Builder
extends java.lang.Object
PolicyInterfaceOspfConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyInterfaceOspfConfig . |
Modifier and Type | Method and Description |
---|---|
PolicyInterfaceOspfConfig |
build() |
PolicyInterfaceOspfConfig.Builder |
setBfdPath(java.lang.String bfdPath)
This filed is valid only if enable_bfd is set to TRUE.
|
PolicyInterfaceOspfConfig.Builder |
setDeadInterval(java.lang.Long deadInterval)
Specifies the number of seconds that router must wait before it declares a OSPF
neighbor router down because it has not received OSPF hello packet.
|
PolicyInterfaceOspfConfig.Builder |
setEnableBfd(java.lang.Boolean enableBfd)
Enable/Disable OSPF to register for BFD event.
|
PolicyInterfaceOspfConfig.Builder |
setEnabled(java.lang.Boolean enabled)
enable/disable OSPF on the interface.
|
PolicyInterfaceOspfConfig.Builder |
setHelloInterval(java.lang.Long helloInterval)
Specifies the interval between the hello packets that OSPF sends on this
interface.
|
PolicyInterfaceOspfConfig.Builder |
setNetworkType(java.lang.String networkType)
Possible values are:
PolicyInterfaceOspfConfig.NETWORK_TYPE_BROADCAST
PolicyInterfaceOspfConfig.NETWORK_TYPE_P2P
Configure OSPF networkt type, default is BROADCAST network type |
PolicyInterfaceOspfConfig.Builder |
setOspfArea(java.lang.String ospfArea)
Attache Tier0 Interface to specified OSPF Area.
|
public Builder()
PolicyInterfaceOspfConfig
.public PolicyInterfaceOspfConfig.Builder setBfdPath(java.lang.String bfdPath)
bfdPath
- New value for the property.public PolicyInterfaceOspfConfig.Builder setDeadInterval(java.lang.Long deadInterval)
deadInterval
- New value for the property.public PolicyInterfaceOspfConfig.Builder setEnableBfd(java.lang.Boolean enableBfd)
enableBfd
- New value for the property.public PolicyInterfaceOspfConfig.Builder setEnabled(java.lang.Boolean enabled)
enabled
- New value for the property.public PolicyInterfaceOspfConfig.Builder setHelloInterval(java.lang.Long helloInterval)
helloInterval
- New value for the property.public PolicyInterfaceOspfConfig.Builder setNetworkType(java.lang.String networkType)
networkType
- New value for the property.public PolicyInterfaceOspfConfig.Builder setOspfArea(java.lang.String ospfArea)
ospfArea
- New value for the property.public PolicyInterfaceOspfConfig build()