Fix network assoc tests in Boron 27/23927/1 stable/colorado colorado.2.0
authorRomanos Skiadas <rski@intracom-telecom.com>
Tue, 18 Oct 2016 13:34:24 +0000 (16:34 +0300)
committerJose Lausuch <jose.lausuch@ericsson.com>
Thu, 3 Nov 2016 10:38:56 +0000 (10:38 +0000)
commit80ad3feb6f6f8e8e7d86ddf1f96dd160f05e5059
tree98347c9fc69b6eab2544d8892e035fd4f1689d34
parent31d8a2646bebb952a273d37186ceb80e51f18032
Fix network assoc tests in Boron

Network assoc in Boron with netvirt does not work for subnets that have
a router due to an inherent limitation in the implementation. See the
mailing list and related bug:
https://bugs.opendaylight.org/show_bug.cgi?id=6962
https://lists.opendaylight.org/pipermail/netvirt-dev/2016-October/001815.html
Also, if a subnet does not have a route distinguisher, it is not added
to the FIB, so association does not make traffic move between subnets.
This is intentional and an error is logged when a subnet is associated
to a bvpvpn without a route distinguisher.

This commit fixes the net assoc case and works around these issues by:
- Removing the routers from the subnets in testcase_1
- Adding a route distinguisher to the bgpvpn

JIRA: SDNVPN-74
Change-Id: I6b57eab89839d9e9122cd24b0f05737467439dd9
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit b9eb7024b014cba0d299b1cf3b01e179c7d0482e)
test/functest/config.yaml
test/functest/testcase_1.py
test/functest/utils.py