Minor optimizations to speed up bgp and xmpp updates
Following changes are implemented:
- Cache string representation for BgpPeer ToString and ToUVEKey
- Cache string representation for InetRoute and Inet6Route ToString
- Cache string representation for XmppConnection ToUVEKey
- Implement MacAddress::ToString more efficiently
Reviewed: https:/ /review. opencontrail. org/21830 github. org/Juniper/ contrail- controller/ commit/ 944f05d329b093c 18810d3c5e6828d 5efee0f3f9
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 944f05d329b093c 18810d3c5e6828d 5efee0f3f9
Author: Nischal Sheth <email address hidden>
Date: Mon Jul 11 11:18:05 2016 -0700
Minor optimizations to speed up bgp and xmpp updates
Following changes are implemented:
- Cache string representation for BgpPeer ToString and ToUVEKey :ToString more efficiently
- Cache string representation for InetRoute and Inet6Route ToString
- Cache string representation for XmppConnection ToUVEKey
- Implement MacAddress:
Change-Id: I3ccbe47e77ab30 3c7744636415a89 b4b8d0763e1
Partial-Bug: 1591399