http: make REST API args const

Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
Change-Id: Ia9c7b4595c03afeac5a9302aba313888e14b2882
bfd: added REST API server and client

This is a rework of Bartek Wolowiec's original patch, which adds rudimentary
support for REST API as specified in [1]. There are still TODO's to make it
fully comply with the blueprint, but I believe publishing early would be
beneficial for project community.

BFD code already merged to OpenContrail suffered from coding style issues.
While working on this patch, I had to fix some of them on the way. I hope
it doesn't cloud the main intent.

[1] https://blueprints.launchpad.net/opencontrail/+spec/bfd

Signed-off-by: Bartek Wolowiec <bartek.wolowiec@codilime.com>
Signed-off-by: Mateusz Zalega <mateusz.zalega@codilime.com>
Change-Id: I17021f1d2ae91e7a41fd382ee85879f07ff2cbe1
Raise proper error message if --no-gateway is used in subnet create

Change-Id: I26ed8342300dd243413796f70e4f1c11b7b10990
Closes-bug: #1364764
Improve tracing and logging

Following changes are implemented:

- Use consistent levels for Open and Keepalive messages on rx/tx
- Add logging for bgp and xmpp peers getting send ready/blocked
- Remove unecessary logging from scheduling group code

Change-Id: Ieb36894d4d780ebe0535b76c33c3eaf10a6c7cb3
Add options test for protobuf port option in collector

Change-Id: I45f07656893505a2dcc484bb4d9129375b9bd2fb
flow limit : exclude short flows

Change-Id: I0cd47f06bd76dc03b632534f84521a53db6316fa
fixing test_pkt_flow memory leak and test case failure.

We should not skip a delete message for flow in any case other than
flow index invalid. so moving the check for reverse flow index to
Add/Change operation only.(fixes above mentioned test case failure)

Change-Id: Ibf7225a612fa454ff9f9145fa4a8b15c1ef0c5fe
Discovery Service always connects to Collector @ 127.0.0.1:8086. Therefore, if analytics-node is not provisioned
to run on the same server as config-node, then Discovery doesn't connect to the Collector. Pass DiscoveryClient
object to init_generator() so that sandesh client library subscribe for 'Collector' service.
Closes-Bug: #1366902

Change-Id: I7485ee982c259c312074e1103b6516569304db66
Fix the stale port creation issue when the allocation pool is exhausted

Change-Id: Ibc6d7a8570d344087d4ed9d5197ef5131bd96b73
Closes bug: #1365489
Support agent on multiple platforms

Part-2 chagnes to support packet handler on different platforms

- Move adding of agent_hdr to pkt_interface class
- Define a simple buffer class
- Modify packet Tx routines to use packet buffer

Change-Id: If3417580273f7eb5964090eb58cbfb267a9ef988
Fix the issue for invalid port uuid in floatingip-associate

Change-Id: I8420003d8726f303d42e5ded38726a55003ff4e0
Closes-bug: #1367262
[SVC] Exclude VM not related to a service instance

Service monitor should exclude VMs not linked with a service instance.

Change-Id: Ifc96873d52307ffa4b9d423f4bc4f86d93c316d5
Closes-bug: #1367327
Log cleanup.
Log all SM transitions when a new connection comes up. Once established, dont
print the repeating SM transitions.
Remove timer start/cancel logs. Instead pass the value to the expiry routine
and continue logging expiry since thats a serious event.

Change-Id: I7a0886419624fbda557be960ad27b1504b398601
Merge "Improve tracing and logging"
Merge "Fix the stale port creation issue when the allocation pool is exhausted"
Merge "Fix the issue for invalid port uuid in floatingip-associate"
Merge "http: make REST API args const"
Merge "bfd: added REST API server and client"
Add test for Bug 1337453 (Dup project with same uuid)

This (fix for 1337453) addresses the case where if there is a project
in non-default domain and api-server restarted with no v3 in
auth_url, we don't create same project in default-domain

Change-Id: I3186240ef70fa6092d8e82865661886f2ba83c4b
Config test log separation

Change-Id: I8c37d05f24a4b4a2bd64a4c7edad8dd2fd9812d1