Package com.vmware.nsx_policy.model
Class PolicyInterfaceOspfConfig
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyInterfaceOspfConfig
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure,com.vmware.vapi.bindings.Structure,java.io.Serializable
public final class PolicyInterfaceOspfConfig extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructureOSPF Interface configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolicyInterfaceOspfConfig.BuilderBuilder class forPolicyInterfaceOspfConfig.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.StringNETWORK_TYPE_BROADCASTstatic java.lang.StringNETWORK_TYPE_P2P
-
Constructor Summary
Constructors Modifier Constructor Description PolicyInterfaceOspfConfig()Default constructor.protectedPolicyInterfaceOspfConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 PolicyInterfaceOspfConfig_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 PolicyInterfaceOspfConfig_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()booleanequals(java.lang.Object obj)java.lang.StringgetBfdPath()This filed is valid only if enable_bfd is set to TRUE.java.lang.LonggetDeadInterval()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.java.lang.BooleangetEnableBfd()Enable/Disable OSPF to register for BFD event.java.lang.BooleangetEnabled()enable/disable OSPF on the interface.java.lang.LonggetHelloInterval()Specifies the interval between the hello packets that OSPF sends on this interface.java.lang.StringgetNetworkType()Possible values are:NETWORK_TYPE_BROADCASTNETWORK_TYPE_P2PConfigure OSPF networkt type, default is BROADCAST network typejava.lang.StringgetOspfArea()Attache Tier0 Interface to specified OSPF Area.inthashCode()voidsetBfdPath(java.lang.String bfdPath)This filed is valid only if enable_bfd is set to TRUE.voidsetDeadInterval(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.voidsetEnableBfd(java.lang.Boolean enableBfd)Enable/Disable OSPF to register for BFD event.voidsetEnabled(java.lang.Boolean enabled)enable/disable OSPF on the interface.voidsetHelloInterval(java.lang.Long helloInterval)Specifies the interval between the hello packets that OSPF sends on this interface.voidsetNetworkType(java.lang.String networkType)Possible values are:NETWORK_TYPE_BROADCASTNETWORK_TYPE_P2PConfigure OSPF networkt type, default is BROADCAST network typevoidsetOspfArea(java.lang.String ospfArea)Attache Tier0 Interface to specified OSPF Area.java.lang.StringtoString()
-
-
-
Field Detail
-
NETWORK_TYPE_BROADCAST
public static final java.lang.String NETWORK_TYPE_BROADCAST
- See Also:
- Constant Field Values
-
NETWORK_TYPE_P2P
public static final java.lang.String NETWORK_TYPE_P2P
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getBfdPath
public java.lang.String getBfdPath()
This filed is valid only if enable_bfd is set to TRUE. If enable_bfd flag is set to TRUE, this profile will be applied to all OSPF peers in this interface. If this field is empty, bfd_path will refer to Tier-0 global BFD profile.- Returns:
- The current value of the property.
-
setBfdPath
public void setBfdPath(java.lang.String bfdPath)
This filed is valid only if enable_bfd is set to TRUE. If enable_bfd flag is set to TRUE, this profile will be applied to all OSPF peers in this interface. If this field is empty, bfd_path will refer to Tier-0 global BFD profile.- Parameters:
bfdPath- New value for the property.
-
getDeadInterval
public java.lang.Long getDeadInterval()
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. OSPF dead interval should be minimum 3 times greater than the hello interval format: int32- Returns:
- The current value of the property.
-
setDeadInterval
public void 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. OSPF dead interval should be minimum 3 times greater than the hello interval format: int32- Parameters:
deadInterval- New value for the property.
-
getEnableBfd
public java.lang.Boolean getEnableBfd()
Enable/Disable OSPF to register for BFD event. Use FALSE to disable BFD.- Returns:
- The current value of the property.
-
setEnableBfd
public void setEnableBfd(java.lang.Boolean enableBfd)
Enable/Disable OSPF to register for BFD event. Use FALSE to disable BFD.- Parameters:
enableBfd- New value for the property.
-
getEnabled
public java.lang.Boolean getEnabled()
enable/disable OSPF on the interface. If enabled flag not specified, defailt is enable OSPF.- Returns:
- The current value of the property.
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
enable/disable OSPF on the interface. If enabled flag not specified, defailt is enable OSPF.- Parameters:
enabled- New value for the property.
-
getHelloInterval
public java.lang.Long getHelloInterval()
Specifies the interval between the hello packets that OSPF sends on this interface. OSPF hello interval should be less than the dead interval format: int32- Returns:
- The current value of the property.
-
setHelloInterval
public void setHelloInterval(java.lang.Long helloInterval)
Specifies the interval between the hello packets that OSPF sends on this interface. OSPF hello interval should be less than the dead interval format: int32- Parameters:
helloInterval- New value for the property.
-
getNetworkType
public java.lang.String getNetworkType()
Possible values are: Configure OSPF networkt type, default is BROADCAST network type- Returns:
- The current value of the property.
-
setNetworkType
public void setNetworkType(java.lang.String networkType)
Possible values are: Configure OSPF networkt type, default is BROADCAST network type- Parameters:
networkType- New value for the property.
-
getOspfArea
public java.lang.String getOspfArea()
Attache Tier0 Interface to specified OSPF Area. all peers.- Returns:
- The current value of the property.
-
setOspfArea
public void setOspfArea(java.lang.String ospfArea)
Attache Tier0 Interface to specified OSPF Area. all peers.- Parameters:
ospfArea- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName().- Returns:
- canonical type name
-
_newInstance
public static PolicyInterfaceOspfConfig _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static PolicyInterfaceOspfConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-