When create node is request throws exception, the node could still be created in zookeeper database. So subsequent request to create the node would return NodeExists error. To handle this error, validate the node content against the data passed to created node. IF the create_node is requested without any data, allocate unique(uuid) and use it for create node. Sanity result: http://10.204.216.50/Docs/logs/0000_2014_03_29_17_33_26/test_report.html
(cherry picked from commit 7d413590b4808df2d48ec8d17de3a035b4c62bc3)
Fix a typo that was causing ingress acl to not get updated
When all rules are deleted from a security group or policy, we should generate an empty ACL so that default deny rule can kick in. Without this change, after deleting all rules, we are allowing all traffic
Do not run master election in case of exception. If the election method exists, don't run master election.
avoid local variable. Call exit if run function exits
Merge pull request #562 from Juniper/zoo_exit_exception

Exit the process after master elected process exits
We need to prevent generators with the old <S:M> style of key from connecting to a vizd with the new <S:N:M:I> key
Merge pull request #572 from Juniper/anishm_upfix2

We need to prevent generators with the old <S:M> style of key from conne...
1. Generator database timer creation/deletion is done from
   generator connect session, disconnect session, database error
   handler. These can happen concurrently, synchronize by taking
   per generator mutex.
2. Generator db handler init, shutdown, and dequeue can happen
   concurrently. Enqueue a task to perform the init and ensure
   that these do not happen concurrently.
3. Cdbif now supports only_sync option that is used by
   query engine and when used does not create the cdbq.
Merge pull request #578 from Juniper/rrugge-r1.05

Fix issue with delete of interface static routes in service instance
Fix issue with delete of interface static routes in service instance
Merge pull request #579 from Juniper/meghb_r105_2733

1. Generator database timer creation/deletion is done from
Run the arp timer callback in the arp task context
Change to mark flow as short flow if RPF matches subnet discard route.
(cherry picked from commit 64653ecfc9d3035a952bf7d7881615611e14b717)
Addressing review comments.
(cherry picked from commit 1a97c7f205788ffe253deb9f1ab8588f1e47f80c)
TCP-ACK packet should be forwarded if SG action in either forward or
reverse flow evaluate to ALLOW.
The fix should be over-ridden once we track TCP connection state machine
in agent
Add test case for SG TCP-ACK changes
(cherry picked from commit 30871daa557e6663ada79d0d3bcfd6d52fc4a4a6)
* Delete l2 interfaces NH, if layer2 forwarding gets disabled
* Delete l3 nexthop upon interface deactivation

* Address review comments
* Add more interface activate deactivate test case for nexthop deletion
(cherry picked from commit 517bace716f2c408cc705967895cf04422219d18)
* Ignore port number match for protocol other than tcp and udp.
* Test case for same
(cherry picked from commit 65bf79cafff752a0bacbc90156ba698e4670c691)
Bug 2650: Update analyzer_vn_set for all policies when the VN is deleted
Bug 2824: It is possible that by the time schema transformer tries to create the service chain, service monitor has not yet marked the interfaces with left or right markers. In that case, we need to try again later when those markers are set. So, do not return success unless all necessary interfaces have been found for the service instance