Add null check as sg_ can be NULL if SecurityGroupEntry::Activate() is
not called.

recheck no bug

Change-Id: Icd030ded7fc0e03fe7326478a0476d90619a58a3
Closes-bug: 1398885
Modify the agent config input for TSN mode.
Instead of taking tsn=true, take agent_mode parameter that can take tsn or tor or vrouter as values.
UT to check the same upon conf file parsing.

Change-Id: If24ca544515051092873e67f79d1d8df320778e7
Support IPv6 address in EVPN MAC advertisement routes

If a VM has both IPv4 and IPv6 addresses, agent should advertise the VM
MAC address twice - once with IPv4 address and once with IPv6 address.
CN evpn code already handles this scenario for the most part. Tweak the
xmpp message decode routine and add tests.

Change-Id: I52ac38520107e0c3025383bc5281545e422cc251
Partial-Bug: 1381418
Merge "Add null check as sg_ can be NULL if SecurityGroupEntry::Activate() is not called."
Merge remote-tracking branch 'upstream/master' into haripk-master