Bug-3425 : VM doesn't get the ip address from DHCP 65/21365/1
authorAnil Vishnoi <vishnoianil@gmail.com>
Thu, 28 May 2015 19:56:35 +0000 (01:26 +0530)
committerAnil Vishnoi <vishnoianil@gmail.com>
Thu, 28 May 2015 20:07:38 +0000 (01:37 +0530)
commit1cbf5232bf56d14c39199615648ae048b3269ab5
tree0476505f46e2941446e5e36b51e605e59d2a885b
parent1ab0f64691a3d8f88474891d631185835949f0c3
Bug-3425 : VM doesn't get the ip address from DHCP
server, if network is not attached to the router

This failure happens when net-virt don't find tunnel port in
the Node update from operational data store.
It tries to extract termination point from node update which
doesn't have tunnel port termination point. And because
there are other termination point exist, it doesn't go and
read from data store. ProgrammeTunnelPort() method iterate
through these existing termination points and it doesn't find the
tunnel port and it returns without installing the Local Ingress
Bridge Rules. This patch first try to create a tunnel configuration
on integration bridge of both end node of the tunnel and then
installs the tunnel flows. Also while installing tunnel flows
It specifically look for tunnel port in the nodes update and  if
it doesn't find that it reads it from data store.

Change-Id: I61e70c230051908a12f6ea93b9b2d046b699eccb
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/AbstractServiceInstance.java
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/OF13Provider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/MdsalHelper.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/Southbound.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/SouthboundImpl.java