21->26 flow missing for NAT use case 70/74770/1
authorshaik <shaik.b@altencalsoftlabs.com>
Thu, 2 Aug 2018 14:55:26 +0000 (20:25 +0530)
committershaik <shaik.b@altencalsoftlabs.com>
Thu, 2 Aug 2018 14:57:50 +0000 (20:27 +0530)
commit33b50301a269308baeaf1d26a1ddd5b4b17104eb
tree792b8b0b556c2cc862fd3e695121d7779c33b515
parent92cac8c1f9972766438523d9a6d1f0fd25ccf2b6
21->26 flow missing for NAT use case

Description
-----------
21->26 flow is missing with the below use case

Use case :

1. create network
2. create subnet
3. create vm
4. create router
5. add subnet to router
6. create external network and subnet
7. create external bgpvpn
8. associate external bgpvpn to external network
9. openstack router set router1 --external-gateway myextnet10
       --disable-snat
10. openstack router set router1 --external-gateway myextnet10
       --enable-snat

Notice that the 21->26 flow is missing

Changes are done to install the 21->26 flows when we disable and
enable SNAT

Issue : NETVIRT-1294

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