Exception on snatint-ip-port-map DS 66/74766/7
authorshaik <shaik.b@altencalsoftlabs.com>
Thu, 2 Aug 2018 12:45:37 +0000 (18:15 +0530)
committerSam Hague <shague@redhat.com>
Wed, 3 Oct 2018 19:51:23 +0000 (19:51 +0000)
commitb2e92caea44c891668484067680958c8f7745af0
tree892614cd6a0226f1ea35edc4db75dbdf0ddfb049
parentb0869fa9d4213ee5574aedfb5de8eef62ae8a395
Exception on snatint-ip-port-map DS

Description: Lot of conflict modification exception are observed on
the snatint-ip-port-map DS.

When multiple SNAT session gets establish from a given VM
simultanously, the snatint-ip-port-map DS gets updated simultanously
to update with allocated external ports for an given VM resulting in
exception.

Java synchronization is used to prevent simultanous modification
on this DS.

JIRA : NETVIRT-1391

Change-Id: Ib455b2cbab171440c77067f9d347346cdcda81f7
Signed-off-by: shaik <shaik.b@altencalsoftlabs.com>
natservice/impl/src/main/java/org/opendaylight/netvirt/natservice/internal/NaptManager.java