Fix some SNAT issues

This patch fixes some issues and
add a unit test related to the fix.

Change-Id: I4ccb65960e2d7892d2a34724df34e3f75d1385a8
bfd: schema: added IETF BFD as defined in RFC5880

Change-Id: Iffba8ee97309a5342c965c542fdf25238801db39
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
bfd: schema: added a schema for project's BFD data.

bfd-session element is linked with bgp-router via bfd-session-enabled link,
making BGP session monitoring possible.

Change-Id: I4e97403dd3a43327695b7f823902689c0cb0fcf6
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
On hitting max pending updates to rabbit (via configurable knob rabbit_max_pending_updates) refuse to do stateful changes (put/post/del)
Add unit test for this.

Change-Id: Ia7965626d840adda23dc16903a8afe1556bd1f83
use right var in reporting exception in ref_update

Change-Id: I3b00a9c14c1f3993b0f1bf673cff28ae14030279
Modifying ruleeng to use the generic stats parser - StatWalker

Change-Id: Ib53c044193ffddf2f2cc3fa9ea01010de3315116
Add loadbalancer to generated schema

Change-Id: I7a350db8ab81275e7a119525b0c330229888884f
Ensure that the rtarget route path delete for a xmpp agent is done only when there are not VRF importing this rtarget. This is done by maintaining a map with key as route target and values as Set of routing instance importing this route target.

Change-Id: I3a4c61c87cbec7285f41b5c4d8544ac4c0b069fc
fix load-balance and RR policy; fixed policy now based on publisher id instead of zookeeper sequence

Change-Id: I4c2c9b58c39e5ade553487176aa5eb039d59621a
correct the skip logic for channel Error exception

Change-Id: I134b8283acbbb2f8f90927a91d213e369a37262b
Fixing Flow Audit and corresponding test case.

Change-Id: I36329871e5aa24587c96c0c10a10f6b5a2e5c35e
[VRouterAPI] Correctly send port list on resync

The _resynchronize method does not correctly send a list of ttypes.Port
object.

Change-Id: I26e6fac7d081997d17124e2fe2c7f6b69c21864c
[SNAT SVC monitor] Set the left interface virtual network

The left interface of a NetNS SI for source NAT is attach to a dedicated VN.
And that VN is buid by the service monitor code, so that code sould also update
the SI property to correctly point to that created VN.

Change-Id: I96f2c0224e0231dae9d1ab417f897f3636306b08
Fix agent shutdown.
Results in failed shutdown and segmentation.

Change-Id: I44b295b87538a09bd000a5d07d6f4b716944b7e5
http: make curl error category more appropriate

Previous error category, boost::system::system_category mapped into POSIX
error codes, which was unsuitable for curl.

Change-Id: I8978047fba09225ec496da60fb41c6b5042591de
Signed-off-by: Bartlomiej Wolowiec <bartlomiej.wolowiec@codilime.com>
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
ifmap: added IFMapConfigListener template

Functionality similar to one provided by BgpConfigListener is needed in
other parts of the project. By abstracting it I hope to avoid
copy-paste.

Change-Id: I49e3b1c2a1ba35b6458780301219516d21d6d7a0
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
bgp: use IFMapConfigListener implementation

Previous BgpConfigListener implementation was made abstract in order to reduce
code redundancy.

Change-Id: If3d2564889ff54b077070f39c2a91bc0377d5e05
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
Merge "Ensure that the rtarget route path delete for a xmpp agent is done only when there are not VRF importing this rtarget. This is done by maintaining a map with key as route target and values as Set of routing instance importing this route target."
Merge "On hitting max pending updates to rabbit (via configurable knob rabbit_max_pending_updates) refuse to do stateful changes (put/post/del) Add unit test for this."
Fix discovery client test to expect both publish failed message that is simulated + server non existant socket message

Change-Id: Ied239e078d05b2d6bd39959380e7cc6f8ff5cc15