class BgpMessageStatistics { datetime LastSent Timestamp of the last BGP message sent to peer datetime LastReceived Timestamp ...

class BgpMessageStatistics
{
    datetime  LastSent                             Timestamp of the last BGP message sent to peer
    datetime  LastReceived                      Timestamp of the last BGP message received from peer
    uint64      SentCount                          Count of the BGP messages sent to peer
    uint64      ReceivedCount                   Count of the last BGP messages received from peer
}

class BgpRouteCounter
{
    uint64      UpdateSentCount                  Count of the BGP Route updates sent to peer
    uint64      UpdateReceivedCount           Count of the BGP Route updates received from peer
    uint64      WithdrawalSentCount            Count of the BGP Route withdrawals sent to peer
    uint64      WithdrawalReceivedCount     Count of the BGP Route withdrawals received from peer
}

class BgpStatistics
{
    string                          RoutingDomain                              Specifies the alphanumeric ID of the Routing Domain / Tenant.
    string                          PeerName                                       Specifies the alphanumeric ID of the BGP neighbor.

    datetime                     TcpConnectionEstablished             Timestamp of the last TCP Connection Establishment
    datetime                     TcpConnectionClosed                    Timestamp of the last TCP Connection closure

    BgpMessageStatistics OpenMessage                   Statistics object for BGP OPEN message 
    BgpMessageStatistics UpdateMessage               Statistics object for BGP UPDATE message 
    BgpMessageStatistics NotificationMessage        Statistics object for BGP NOTIFICATION message 
    BgpMessageStatistics KeepaliveMessage            Statistics object for BGP KEEP-ALIVE message
    BgpMessageStatistics RouteRefreshMessage      Statistics object for BGP ROUTE-REFRESH message

    BgpRouteCounter       IPv4Route                         Statistics for IPv4 BGP Route advertisements
    BgpRouteCounter       IPv6Route                         Statistics for IPv6 BGP Route advertisements
}