commit 7e562d9038a9bf168d3eaf1866ef697ac01f1c8f
Author: Nischal Sheth <email address hidden>
Date: Sat Jun 11 22:59:13 2016 -0700
Allow xmpp items with different attributes in same message
UpdateQueue and RibOutUpdates classes are organized to pack BGP NLRI
that share the same attributes into a single message. An unnecessary
side effect is that the same also happens for XMPP. This results in
more messages, socket write operations and context switches than is
really necessary.
As each XMPP item is self-contained, items with different attributes
can and should be packed into the same XMPP message. This is achieved
by ignoring BgpAttr when comparing UpdateInfos while inserting into a
UpdateQueue and when traversing the UpdateQueue by Attr.
Reviewed: https:/ /review. opencontrail. org/21233 github. org/Juniper/ contrail- controller/ commit/ 7e562d9038a9bf1 68d3eaf1866ef69 7ac01f1c8f
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 7e562d9038a9bf1 68d3eaf1866ef69 7ac01f1c8f
Author: Nischal Sheth <email address hidden>
Date: Sat Jun 11 22:59:13 2016 -0700
Allow xmpp items with different attributes in same message
UpdateQueue and RibOutUpdates classes are organized to pack BGP NLRI
that share the same attributes into a single message. An unnecessary
side effect is that the same also happens for XMPP. This results in
more messages, socket write operations and context switches than is
really necessary.
As each XMPP item is self-contained, items with different attributes
can and should be packed into the same XMPP message. This is achieved
by ignoring BgpAttr when comparing UpdateInfos while inserting into a
UpdateQueue and when traversing the UpdateQueue by Attr.
Change-Id: I63a7a7a1b56f31 b9e365d27021a60 f7a323a197c
Partial-Bug: 1591399