ITM Tep Auto Config Unit test using Guice. 59/53759/5
authorTarun Thakur <tarun.t@altencalsoftlabs.com>
Thu, 12 Jan 2017 15:07:35 +0000 (20:37 +0530)
committerTarun Thakur <tarun.t@altencalsoftlabs.com>
Mon, 27 Mar 2017 10:35:19 +0000 (16:05 +0530)
commitf6e06ce83d0886838c07243cbe8e04761971860f
treec59f986a321220d8e57970a5ecdeefc0de9e53f9
parent069e353cb65145f6ece7a369914da88d7f93d4e2
ITM Tep Auto Config Unit test using Guice.

Added cases for:
- Change for def-tz-enabled and def-tz-tunnel-type config paramters
- Default-TZ creation and deletion based on def-tz-enabled flag
- TEP addition and deletion into/from default-TZ
- TZ creation and TEP addition into TZ
- TZ deletion and TEP deletion from TZ
- TEP addition and deletion into/from default-TZ via southbound
- TEP addition and deletion into/from northbound configured TZ via southbound
- TEP addition and deletion into/from NotHostedList via southbound
- Move TEP from one TZ to other TZ by changing tzname parameter in
  ExternalsIds list in Ovsdb node from southbound
- Update TEP for its bridge by changing dpn-br-name parameter in
  ExternalsIds list in Ovsdb node from southbound

Fixed errors due to new change of (1) dpn-br-name to br-name and
(2) 'weight' param inside vteps in itm.yang

Fixed checkstyle issues.

Change-Id: Iea4279a992bf80a95d04e39f08cc59188327c9b5
Signed-off-by: Tarun Thakur <tarun.t@altencalsoftlabs.com>
itm/itm-impl/pom.xml
itm/itm-impl/src/main/java/org/opendaylight/genius/itm/impl/ItmUtils.java
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/ItmTepAutoConfigTest.java [new file with mode: 0644]
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/ItmTepAutoConfigTestUtil.java [new file with mode: 0644]
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/ItmTestConstants.java
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/ItmTestModule.java
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/OvsdbTestUtil.java [new file with mode: 0644]
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/xtend/ExpectedDefTransportZoneObjects.xtend [new file with mode: 0644]
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/xtend/ExpectedTepNotHostedTransportZoneObjects.xtend [new file with mode: 0644]
itm/itm-impl/src/test/java/org/opendaylight/genius/itm/tests/xtend/ExpectedTransportZoneObjects.xtend [new file with mode: 0644]