public final class BgpNeighborStatus
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
BgpNeighborStatus.Builder
Builder class for
BgpNeighborStatus . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
CONNECTION_STATE_ACTIVE |
static java.lang.String |
CONNECTION_STATE_CONNECT |
static java.lang.String |
CONNECTION_STATE_ESTABLISHED |
static java.lang.String |
CONNECTION_STATE_IDLE |
static java.lang.String |
CONNECTION_STATE_INVALID |
static java.lang.String |
CONNECTION_STATE_OPEN_CONFIRM |
static java.lang.String |
CONNECTION_STATE_OPEN_SENT |
static java.lang.String |
CONNECTION_STATE_UNKNOWN |
static java.lang.String |
TYPE_INTER_SR |
static java.lang.String |
TYPE_USER |
Modifier | Constructor and Description |
---|---|
|
BgpNeighborStatus()
Default constructor.
|
protected |
BgpNeighborStatus(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 BgpNeighborStatus |
_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 BgpNeighborStatus |
_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<BgpAddressFamily> |
getAddressFamilies()
Address families of BGP neighbor
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<java.lang.String> |
getAnnouncedCapabilities()
BGP capabilities sent to BGP neighbor.
|
java.lang.Long |
getConnectionDropCount()
Count of connection drop format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getConnectionState()
Possible values are:
CONNECTION_STATE_INVALID
CONNECTION_STATE_IDLE
CONNECTION_STATE_CONNECT
CONNECTION_STATE_ACTIVE
CONNECTION_STATE_OPEN_SENT
CONNECTION_STATE_OPEN_CONFIRM
CONNECTION_STATE_ESTABLISHED
CONNECTION_STATE_UNKNOWN
Current state of the BGP session. |
java.lang.Long |
getEstablishedConnectionCount()
Count of connections established format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Boolean |
getGracefulRestart()
Deprecated.
|
java.lang.String |
getGracefulRestartMode()
Current state of graceful restart of BGP neighbor.
|
java.lang.Long |
getHoldTime()
Time in ms to wait for HELLO from BGP peer.
|
java.lang.Long |
getKeepAliveInterval()
Time in ms to wait for HELLO packet from BGP peer format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getLocalPort()
TCP port number of Local BGP connection format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getLrComponentId()
Logical router component(Service Router/Distributed Router) id
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getMessagesReceived()
Count of messages received from the neighbor format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getMessagesSent()
Count of messages sent to the neighbor format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<java.lang.String> |
getNegotiatedCapability()
BGP capabilities negotiated with BGP neighbor.
|
java.lang.String |
getNeighborAddress()
The IP of the BGP neighbor format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getNeighborRouterId()
Router ID of the BGP neighbor.
|
java.lang.String |
getRemoteAsNumber()
AS number of the BGP neighbor
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getRemotePort()
TCP port number of remote BGP Connection format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ResourceReference |
getRemoteSite() |
java.lang.String |
getSourceAddress()
The Ip address of logical port format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getTimeSinceEstablished()
Time(in seconds) since connection was established.
|
java.lang.Long |
getTotalInPrefixCount()
Sum of in prefixes counts across all address families.
|
java.lang.Long |
getTotalOutPrefixCount()
Sum of out prefixes counts across all address families.
|
ResourceReference |
getTransportNode() |
java.lang.String |
getType()
Possible values are:
TYPE_INTER_SR TYPE_USER BGP neighbor type
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
int |
hashCode() |
void |
setAddressFamilies(java.util.List<BgpAddressFamily> addressFamilies)
Address families of BGP neighbor
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setAnnouncedCapabilities(java.util.List<java.lang.String> announcedCapabilities)
BGP capabilities sent to BGP neighbor.
|
void |
setConnectionDropCount(java.lang.Long connectionDropCount)
Count of connection drop format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setConnectionState(java.lang.String connectionState)
Possible values are:
CONNECTION_STATE_INVALID
CONNECTION_STATE_IDLE
CONNECTION_STATE_CONNECT
CONNECTION_STATE_ACTIVE
CONNECTION_STATE_OPEN_SENT
CONNECTION_STATE_OPEN_CONFIRM
CONNECTION_STATE_ESTABLISHED
CONNECTION_STATE_UNKNOWN
Current state of the BGP session. |
void |
setEstablishedConnectionCount(java.lang.Long establishedConnectionCount)
Count of connections established format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setGracefulRestart(java.lang.Boolean gracefulRestart)
Deprecated.
|
void |
setGracefulRestartMode(java.lang.String gracefulRestartMode)
Current state of graceful restart of BGP neighbor.
|
void |
setHoldTime(java.lang.Long holdTime)
Time in ms to wait for HELLO from BGP peer.
|
void |
setKeepAliveInterval(java.lang.Long keepAliveInterval)
Time in ms to wait for HELLO packet from BGP peer format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLocalPort(java.lang.Long localPort)
TCP port number of Local BGP connection format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLrComponentId(java.lang.String lrComponentId)
Logical router component(Service Router/Distributed Router) id
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setMessagesReceived(java.lang.Long messagesReceived)
Count of messages received from the neighbor format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setMessagesSent(java.lang.Long messagesSent)
Count of messages sent to the neighbor format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setNegotiatedCapability(java.util.List<java.lang.String> negotiatedCapability)
BGP capabilities negotiated with BGP neighbor.
|
void |
setNeighborAddress(java.lang.String neighborAddress)
The IP of the BGP neighbor format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setNeighborRouterId(java.lang.String neighborRouterId)
Router ID of the BGP neighbor.
|
void |
setRemoteAsNumber(java.lang.String remoteAsNumber)
AS number of the BGP neighbor
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setRemotePort(java.lang.Long remotePort)
TCP port number of remote BGP Connection format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setRemoteSite(ResourceReference remoteSite) |
void |
setSourceAddress(java.lang.String sourceAddress)
The Ip address of logical port format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setTimeSinceEstablished(java.lang.Long timeSinceEstablished)
Time(in seconds) since connection was established.
|
void |
setTotalInPrefixCount(java.lang.Long totalInPrefixCount)
Sum of in prefixes counts across all address families.
|
void |
setTotalOutPrefixCount(java.lang.Long totalOutPrefixCount)
Sum of out prefixes counts across all address families.
|
void |
setTransportNode(ResourceReference transportNode) |
void |
setType(java.lang.String type)
Possible values are:
TYPE_INTER_SR TYPE_USER BGP neighbor type
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
java.lang.String |
toString() |
public static final java.lang.String CONNECTION_STATE_INVALID
public static final java.lang.String CONNECTION_STATE_IDLE
public static final java.lang.String CONNECTION_STATE_CONNECT
public static final java.lang.String CONNECTION_STATE_ACTIVE
public static final java.lang.String CONNECTION_STATE_OPEN_SENT
public static final java.lang.String CONNECTION_STATE_OPEN_CONFIRM
public static final java.lang.String CONNECTION_STATE_ESTABLISHED
public static final java.lang.String CONNECTION_STATE_UNKNOWN
public static final java.lang.String TYPE_INTER_SR
public static final java.lang.String TYPE_USER
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public BgpNeighborStatus()
protected BgpNeighborStatus(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<BgpAddressFamily> getAddressFamilies()
public void setAddressFamilies(java.util.List<BgpAddressFamily> addressFamilies)
addressFamilies
- New value for the property.public java.util.List<java.lang.String> getAnnouncedCapabilities()
public void setAnnouncedCapabilities(java.util.List<java.lang.String> announcedCapabilities)
announcedCapabilities
- New value for the property.public java.lang.Long getConnectionDropCount()
public void setConnectionDropCount(java.lang.Long connectionDropCount)
connectionDropCount
- New value for the property.public java.lang.String getConnectionState()
public void setConnectionState(java.lang.String connectionState)
connectionState
- New value for the property.public java.lang.Long getEstablishedConnectionCount()
public void setEstablishedConnectionCount(java.lang.Long establishedConnectionCount)
establishedConnectionCount
- New value for the property.@Deprecated public java.lang.Boolean getGracefulRestart()
@Deprecated public void setGracefulRestart(java.lang.Boolean gracefulRestart)
gracefulRestart
- New value for the property.public java.lang.String getGracefulRestartMode()
public void setGracefulRestartMode(java.lang.String gracefulRestartMode)
gracefulRestartMode
- New value for the property.public java.lang.Long getHoldTime()
public void setHoldTime(java.lang.Long holdTime)
holdTime
- New value for the property.public java.lang.Long getKeepAliveInterval()
public void setKeepAliveInterval(java.lang.Long keepAliveInterval)
keepAliveInterval
- New value for the property.public java.lang.Long getLocalPort()
public void setLocalPort(java.lang.Long localPort)
localPort
- New value for the property.public java.lang.String getLrComponentId()
public void setLrComponentId(java.lang.String lrComponentId)
lrComponentId
- New value for the property.public java.lang.Long getMessagesReceived()
public void setMessagesReceived(java.lang.Long messagesReceived)
messagesReceived
- New value for the property.public java.lang.Long getMessagesSent()
public void setMessagesSent(java.lang.Long messagesSent)
messagesSent
- New value for the property.public java.util.List<java.lang.String> getNegotiatedCapability()
public void setNegotiatedCapability(java.util.List<java.lang.String> negotiatedCapability)
negotiatedCapability
- New value for the property.public java.lang.String getNeighborAddress()
public void setNeighborAddress(java.lang.String neighborAddress)
neighborAddress
- New value for the property.public java.lang.String getNeighborRouterId()
public void setNeighborRouterId(java.lang.String neighborRouterId)
neighborRouterId
- New value for the property.public java.lang.String getRemoteAsNumber()
public void setRemoteAsNumber(java.lang.String remoteAsNumber)
remoteAsNumber
- New value for the property.public java.lang.Long getRemotePort()
public void setRemotePort(java.lang.Long remotePort)
remotePort
- New value for the property.public ResourceReference getRemoteSite()
public void setRemoteSite(ResourceReference remoteSite)
remoteSite
- New value for the property.public java.lang.String getSourceAddress()
public void setSourceAddress(java.lang.String sourceAddress)
sourceAddress
- New value for the property.public java.lang.Long getTimeSinceEstablished()
public void setTimeSinceEstablished(java.lang.Long timeSinceEstablished)
timeSinceEstablished
- New value for the property.public java.lang.Long getTotalInPrefixCount()
public void setTotalInPrefixCount(java.lang.Long totalInPrefixCount)
totalInPrefixCount
- New value for the property.public java.lang.Long getTotalOutPrefixCount()
public void setTotalOutPrefixCount(java.lang.Long totalOutPrefixCount)
totalOutPrefixCount
- New value for the property.public ResourceReference getTransportNode()
public void setTransportNode(ResourceReference transportNode)
transportNode
- New value for the property.public java.lang.String getType()
public void setType(java.lang.String type)
type
- 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 BgpNeighborStatus _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 BgpNeighborStatus _newInstance2(com.vmware.vapi.data.StructValue structValue)