integration.git
8 years agoRename VtnMaKeywords.txt to VtnMaKeywords.robot 23/25123/2
Marcus G K Williams [Mon, 10 Aug 2015 15:47:02 +0000 (08:47 -0700)]
Rename VtnMaKeywords.txt to VtnMaKeywords.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: If94f5ee4777e3750b1739a53d0c1a52156459ce6
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoRename VtnCoKeywords.txt to VtnCoKeywords.robot 21/25121/2
Marcus G K Williams [Mon, 10 Aug 2015 15:33:45 +0000 (08:33 -0700)]
Rename VtnCoKeywords.txt to VtnCoKeywords.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: I4d26b74a02997df760c37b3dfd37d4a2cdb12772
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoRename FlowLib.txt to FlowLib.robot 04/25104/4
Marcus G K Williams [Mon, 10 Aug 2015 02:24:43 +0000 (19:24 -0700)]
Rename FlowLib.txt to FlowLib.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: I234f23dd8398ca5815bb4fe0e129ba4db9d89ada
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoEditing path to resource file in GBP Clustering 53/25153/2
Tomas Cechvala [Tue, 11 Aug 2015 14:17:34 +0000 (16:17 +0200)]
Editing path to resource file in GBP Clustering

Adding CURDIR variable into resource path.

Change-Id: Ic1da0810bd0375ef83c331f705f4cd7d34866b90
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoRename AAAKeywords.txt to AAAKeywords.robot 03/25103/3
Marcus G K Williams [Mon, 10 Aug 2015 02:16:00 +0000 (19:16 -0700)]
Rename AAAKeywords.txt to AAAKeywords.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: I938a58ff1c9f364147391ee5805418f0b0f34c5b
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoRename SwitchUtils.txt to SwitchUtils.robot 02/25102/3
Marcus G K Williams [Mon, 10 Aug 2015 01:48:50 +0000 (18:48 -0700)]
Rename SwitchUtils.txt to SwitchUtils.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: I8f1ae8d371add9f9cb71c917d961df30c9d4f084
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoModify the iotdm library and add add test cases 82/23182/18
Cangji Wu [Wed, 3 Jun 2015 01:26:33 +0000 (21:26 -0400)]
Modify the iotdm library and add add test cases

Modfify ciotdm.py and criotdm.py to meet the requirements.
Add 5 robot files under iotdm basic folder.

Signed-off-by: Cangji Wu <canwu@cisco.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
Add 2 libraries and one more test suite

Criotdm is based on ciotdm. And ciotdm is based on iotdm library.
Both libraries follow pep8 and pep257.
For test suites, modify a lot of duplicate code into keyword.
Remove the invalid elapse method in test cases.
Delete the useless 020 test suite.
Comment some test cases to let all the test cases pass.
Remove unused "time" in the criotdm library.

Change-Id: Idcdd4bd378a2b92c495ee1f7f4d6cb20631582ad
Signed-off-by: Cangji Wu <canwu@cisco.com>
8 years agoRename TsdrUtils.txt to TsdrUtils.robot 01/25101/2
Marcus G K Williams [Mon, 10 Aug 2015 01:42:14 +0000 (18:42 -0700)]
Rename TsdrUtils.txt to TsdrUtils.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: I372f113b1564d04e17a7fb6fdea201ed78337367
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoRename KarafKeywords.txt to KarafKeywords.robot 00/25100/2
Marcus G K Williams [Mon, 10 Aug 2015 01:14:39 +0000 (18:14 -0700)]
Rename KarafKeywords.txt to KarafKeywords.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: Id97489020199b54b3657a54c4452af1de3453814
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoFix license header violations 06/25006/2
Thanh Ha [Sun, 9 Aug 2015 07:00:19 +0000 (03:00 -0400)]
Fix license header violations

Change-Id: Idbda552cc5c7f20f663d11d0dc3680a14dbddb7e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agobulk support proposal 99/25099/2
Michal Rehak [Fri, 12 Jun 2015 18:01:07 +0000 (20:01 +0200)]
bulk support proposal

 - support only flows add (through dataStore or direct rpc)
 - depends on https://git.opendaylight.org/gerrit/22692
 - cosmetics
 - added missing docs

Change-Id: I3729ad0930777b53cb2b9b047455ea192c82caa0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 74d009aae88c0c062dde45a40b9b6ec93ba58105)

8 years agoAdd IOTDM compatible feature back to Integration 32/24932/2
Vratko Polak [Fri, 7 Aug 2015 18:43:18 +0000 (20:43 +0200)]
Add IOTDM compatible feature back to Integration

Change-Id: I68374252b47716f5bcad08daa897eeef367ff8a3
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoRename Scalability.txt to Scalability.robot 26/24926/3
Marcus G K Williams [Fri, 7 Aug 2015 16:37:35 +0000 (09:37 -0700)]
Rename Scalability.txt to Scalability.robot

This facilitates identification of robot files.
All references to this file have also been updated.

Change-Id: If0fbdf430a5356117d1f2baa071ec0b1b50eef21
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoRename Utils.txt to Utils.robot. 93/24893/3
Phillip Shea [Fri, 7 Aug 2015 00:51:43 +0000 (17:51 -0700)]
Rename Utils.txt to Utils.robot.

This will make it easier to identify robot files.
All references to this file have been updated, too.

Change-Id: I7e2a16875f0d206793deaafff8982e221764ecdb
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoRename ClusterKeywords.txt to ClusterKeywords.robot. 92/24892/1
Phillip Shea [Fri, 7 Aug 2015 00:36:57 +0000 (17:36 -0700)]
Rename ClusterKeywords.txt to ClusterKeywords.robot.

This will make it easier to identify robot files.
All references to this file have been updated, too.

Change-Id: I7af63b59ef0f0d40e0dbbc7cf13eeeafbb3f0393
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agotestplan for openflowplugin clustering jobs 86/24886/2
Jamo Luhrsen [Thu, 6 Aug 2015 20:58:27 +0000 (13:58 -0700)]
testplan for openflowplugin clustering jobs

Change-Id: I55f79485760fc649e5bfb9e2a05daed1d04bfdc7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoUpdate Cluster State Library to report all states. 50/24550/4
Phillip Shea [Fri, 24 Jul 2015 22:24:02 +0000 (15:24 -0700)]
Update Cluster State Library to report all states.

Change-Id: Id354bbf9c9f717b1c4952386d4464ddd4d4670b9
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoImplemented idmlite REST tests. Added library to support tests. 85/23385/16
carmen.w.kelling [Thu, 25 Jun 2015 22:04:10 +0000 (15:04 -0700)]
Implemented idmlite REST tests.  Added library to support tests.

Change-Id: Ic23ff08394e8b048b1b12a49dbf158210d9601bf
Signed-off-by: carmen.w.kelling <carmen.w.kelling@hp.com>
8 years agoFix output in the expected INTENT rules 78/24778/3
carmen.w.kelling [Tue, 4 Aug 2015 21:00:12 +0000 (14:00 -0700)]
Fix output in the expected INTENT rules

Change-Id: I8445b4ae051af39fcc37f75604c253d817d7081f
Signed-off-by: carmen.w.kelling <carmen.w.kelling@hp.com>
8 years agoSimple 3-node clustering for SFC 54/24754/3
Tomas Cechvala [Tue, 4 Aug 2015 09:42:39 +0000 (11:42 +0200)]
Simple 3-node clustering for SFC

Data are written into one node and read from the other.

Change-Id: Ie8c496f446088a3f7d0eb55716474684bd351058
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoSimple 3-node clustering for GBP 53/24753/3
Tomas Cechvala [Mon, 3 Aug 2015 13:54:33 +0000 (15:54 +0200)]
Simple 3-node clustering for GBP

Data are written to one node and read from the other.

Change-Id: Ie314d150e43886c99570d745743ea204f3fbbe05
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agolongevity testplan for openflowplugin lithium redesign 15/24815/2
Jamo Luhrsen [Wed, 5 Aug 2015 20:00:44 +0000 (13:00 -0700)]
longevity testplan for openflowplugin lithium redesign

Change-Id: I61665f5326e62dde8707331f2997a7b93ca5dc1f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoConverting sleep into a working WUKS 75/24575/2
Kailash Khalasi [Mon, 27 Jul 2015 22:25:25 +0000 (15:25 -0700)]
Converting sleep into a working WUKS

Change-Id: If879abacaee5229391c1e1e02d23b8f56bc46ff0
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
8 years agoMove new Clustering Keywords 45/24545/4
Phillip Shea [Fri, 24 Jul 2015 17:54:30 +0000 (10:54 -0700)]
Move new Clustering Keywords

Move new clustering keywords from utils.txt to ClusteringKeywords.txt.
Also ran Tidy on all affected files.

Change-Id: I6174deefef5e15ab0ef18d5cf544fd2a26a16c98
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoAdding simple script to create Robot testsuite and library documents 50/24350/8
Kailash Khalasi [Tue, 21 Jul 2015 16:55:21 +0000 (09:55 -0700)]
Adding simple script to create Robot testsuite and library documents

Change-Id: I3eef3597903da4534b67825b00af15de98d309ee
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
8 years agoOverride RPM disttag to el7 for CBS best practices 79/24779/3
Daniel Farrell [Tue, 4 Aug 2015 20:11:24 +0000 (16:11 -0400)]
Override RPM disttag to el7 for CBS best practices

The CentOS Community Build System, where we're hosting this
RPM, prefers el7 disttags to el7.centos, mostly for clarity.

Also some minor helper script cleanups, including adding logic for
installing EPEL in connect.sh and removing unnecessary version
info in uninstall.sh.

Change-Id: I1f6b2725b2d4cfb193d577710a83ed1c1a9b0478
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agomoving special update test case from tools to csit 95/24595/2
Peter Gubka [Wed, 29 Jul 2015 09:16:05 +0000 (11:16 +0200)]
moving special update test case from tools to csit

library update had to be done too

Change-Id: Ibfc0637fa450daecb01469d3a5ecc74fe1205ea8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agomoving a simple test for 3 node ofp cluster from tools to csit 79/23979/4
Peter Gubka [Fri, 10 Jul 2015 11:49:48 +0000 (13:49 +0200)]
moving a simple test for 3 node ofp cluster from tools to csit

DynamicMininet - adding functions to start switch(es) with multiple controllers
XmlComparator - added function to create flow xml content
removing unused code
minor improvements to robot, replacing urls with variables

Change-Id: I6c641217c5713450c932d065df0cd4b4d2a7da79
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoSuite bgpuser: Return normalized jsons, so that comparison works. 47/24747/1
Vratko Polak [Wed, 29 Jul 2015 10:16:51 +0000 (12:16 +0200)]
Suite bgpuser: Return normalized jsons, so that comparison works.

Change-Id: I19ddcac10ad1e0ad1c6c7d59da2d51aebfbf2f99
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 8fa86e2df7234b119cf8db5a1f52d117be0820b0)

8 years agoImplement smarter RPM-building artifact caching 41/24541/3
Daniel Farrell [Fri, 24 Jul 2015 16:51:21 +0000 (12:51 -0400)]
Implement smarter RPM-building artifact caching

Accept an optional cache path as a param to the RPM build and install
sctips, use those cache paths for all artifacts.

Also removed an some unnecessary software installs and fixed some docs.

Change-Id: I3f83035ca0d81caf3193923a3216856a4e620070
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoAdding sxp features 27/24227/4
Martin Mihálek [Fri, 17 Jul 2015 07:50:22 +0000 (09:50 +0200)]
Adding sxp features

1) Pass: https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-master/68/org.opendaylight.sxp$features/testReport/
2) Features Comply with Guidelines: https://git.opendaylight.org/gerrit/gitweb?p=sxp.git;a=blob;f=features/src/main/resources/features.xml;
a) Feature Names (prefixed with 'odl-'): odl-sxp-controller
b) Features Descriptions: Present
c) Features Start-Levels: No start-levels on <bundle> elements or <feature> elements
3) Features Tested: Features have been tested for functionality with
a) feature:install odl-sxp-controller
b) feature:install odl-sxp-controller, odl-integration-compatible-with-all
4) Integration Test Impact: none

Change-Id: Idae227e46da0bc57dc4802e71c286652b0144ada
Signed-off-by: Martin Mihálek <martin.mihalek@pantheon.sk>
8 years agosourcing global Variables.py to get ${SSH_KEY} 89/24489/2
Jamo Luhrsen [Thu, 23 Jul 2015 18:04:52 +0000 (11:04 -0700)]
sourcing global Variables.py to get ${SSH_KEY}

Change-Id: I7e9f92d59b27dfa1a296e250ac6684fc91041a46
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
(cherry picked from commit 613fa2bb3aff13c8d2cc8a978f0638fbab36cc88)

8 years agoExplicitly set git-review branch to master 18/24418/2
Thanh Ha [Wed, 22 Jul 2015 19:15:55 +0000 (15:15 -0400)]
Explicitly set git-review branch to master

Change-Id: Ib95db2d95822a6de892813089b9b39590c8f7b74
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoUse Beryllium version of karaf-plugin 69/24369/2
Thanh Ha [Wed, 22 Jul 2015 02:22:27 +0000 (22:22 -0400)]
Use Beryllium version of karaf-plugin

Change-Id: I3be9cc9092f7a7ee3c4a51e9b04727b05326cefd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoCurrently, the addCar and addPerson methods create multiple cars/people in tight... 00/24400/2
Shaleen Saxena [Wed, 22 Jul 2015 15:32:57 +0000 (08:32 -0700)]
Currently, the addCar and addPerson methods create multiple cars/people in tight loops. These
loops do not check the results of the individual post operations. In case of cluster failures,
each post operation may take up to 5 minutes to timeout. Hence, these loops could take many
hours to complete.

The fix is to add an additional 'expected' parameter to these methods. This is a list of possible
results expected by the post operation. If any post operation does not match any of the 'expected'
values, then the loop will exit and raise an exception. This way the loop will wait for only
few minutes instead of hours.

Please note that this 'expected' parameter is optional. If it is not provided, then the old
behavior is preserved.

The other changes are to pass the expected values from various AddCar and AddPerson test cases.

Change-Id: I7375979de90f64c3ce70cfe4f3f6634d0aeac8e2
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
8 years agoAdded verification of the OpenFlow controller connection. 25/23925/11
Gabriel Robitaille-Montpetit [Wed, 8 Jul 2015 19:16:00 +0000 (15:16 -0400)]
Added verification of the OpenFlow controller connection.

Change-Id: I6be5feab01510a49b251ef63b4ed50a03b22408b
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoMaking ssh key configurable in all tests. ${SSH_KEY} variable placed in variables... 09/24209/3
Kailash Khalasi [Thu, 16 Jul 2015 17:59:45 +0000 (10:59 -0700)]
Making ssh key configurable in all tests. ${SSH_KEY} variable placed in variables.py (default is id_rsa)

Change-Id: I8baf760ad1b331129ea430ff53d344c4686fbbba
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
8 years agoVerify the ovs manager is connected. 21/23921/9
Gabriel Robitaille-Montpetit [Wed, 8 Jul 2015 17:45:45 +0000 (13:45 -0400)]
Verify the ovs manager is connected.

Change-Id: I5889ca1cea35b8b1e535774544117303081cd4be
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoChanged the directory name and added checking for persistence dependencies. 14/24214/2
Linh Pham [Thu, 16 Jul 2015 21:12:17 +0000 (14:12 -0700)]
Changed the directory name and added checking for persistence dependencies.

Change-Id: I9d9d6ffad42994d58fde279ae82560cc1b14215b
Signed-off-by: Linh Pham <linh.pham@hp.com>
8 years agoThe following changes are made to clustering datastore tests: 55/24255/2
Shaleen Saxena [Fri, 17 Jul 2015 20:56:38 +0000 (13:56 -0700)]
The following changes are made to clustering datastore tests:
 - "BuyCar" now raises an exception instead of returning True/False. Robot
   framework does not fail test on returning False. Exceptions are the
   correct way to return failure. This fixes the issue where routed RPC
   registrations hadn't been "gossiped" yet to follower1, and testcase
   did not retry because "BuyCar" hadn't failed with exception. The testcase
   is "Purchase cars on Follower1" in 010_crud_on_leader.robot. The change
   is in CrudLibrary.py.

 - "Get Leader" and "Get All Followers" now ignore any down controllers.
   The controller to ignore is passed in as an argument. Before this fix,
   "getClusterRoles" would repeatedly try to read from the downed node,
   which would cause unnecssary delays. With this fix the test cases have
   speeded up considerably. The change is in ClusterKeywords.txt,
   030_car_failover_crud_on_new_leader.robot, and
   040_people_failover_crud_on_new_leader.robot

 - Fixed a path issue in 010_crud_on_leader.robot. I would see warnings from
   robot for missing RequestsLibrary.

Change-Id: Ia72e164d667121edb3aced2f8ec6bc1c504afe5a
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
8 years agoRename Stop Mininet keyword to Stop Mininet Simulation 66/24266/1
Luis Gomez [Sun, 19 Jul 2015 18:49:16 +0000 (11:49 -0700)]
Rename Stop Mininet keyword to Stop Mininet Simulation

Stop Mininet keyword is reserved for more global use in Utils.txt

Change-Id: Ib14a8b52fdf9331471a8d2c933af23dead2f8184
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoInclude required disttag in RPM release version 51/24251/1
Daniel Farrell [Fri, 17 Jul 2015 17:12:51 +0000 (13:12 -0400)]
Include required disttag in RPM release version

Extract ODL's version in the Nexus URL to a var for easier updates.

We're building RPMs on the CentOS CBS, which uses el-based build
boxes, so use a CentOS Vagrant box for our SRPM build box.

Change-Id: I45aacb53429c3c86f98b7c63d1686faa3c29c45b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoUpgrade ODL RPM from Helium SR3 to Lithium 28/24128/3
Daniel Farrell [Tue, 14 Jul 2015 21:30:28 +0000 (17:30 -0400)]
Upgrade ODL RPM from Helium SR3 to Lithium

Also generally refactor RPM building helper scripts and docs.

Change-Id: I0420e823bbdc30ca060fe6693e919f38f57d1a2a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoBasic Test suite to Test the VXLAN Functionality 61/23661/20
Chaudhry Muhammad Usama [Wed, 1 Jul 2015 21:13:11 +0000 (14:13 -0700)]
Basic Test suite to Test the VXLAN Functionality

Change-Id: Ic4c1552a4e4bb43b17d1ae62f3708280dc7791f7
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agoChange the clustering test plan to run exactly what is required 19/24119/2
Luis Gomez [Tue, 14 Jul 2015 18:52:22 +0000 (11:52 -0700)]
Change the clustering test plan to run exactly what is required

This will save test time in CI sepecially in the -all- test.

Change-Id: I79d21d751195ea6bce090683b34ea8cea4f34acf
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoInitial commit for Persistence Test App 76/24076/2
Linh Pham [Mon, 13 Jul 2015 22:08:44 +0000 (15:08 -0700)]
Initial commit for Persistence Test App

Change-Id: Ic3fdc929657f87728f2c2dff7901269a7f7892e4
Signed-off-by: Linh Pham <linh.pham@hp.com>
8 years agoModify Longevity test to include only switch scalability test 37/24037/1
Luis Gomez [Thu, 9 Jul 2015 03:51:19 +0000 (20:51 -0700)]
Modify Longevity test to include only switch scalability test

host scalability involves l2switch (not openflowplugin)

link scalability test is not stable yet

Change-Id: Ib55ff63aad1fe7d6c1cf73fa0974f458b27fe412
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
(cherry picked from commit 94f790d2334fa0cc56f12b876fc9b62278c40efa)

Change-Id: I9b014830bf49cd9731926d478c842c575f60caf7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoTest suite to configure hosts on 2 switches for vpnservice 12/23512/7
Sindhuri [Mon, 29 Jun 2015 13:19:08 +0000 (06:19 -0700)]
Test suite to configure hosts on 2 switches for vpnservice

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
Change-Id: Ib8d13afffccdc62e4cc5ca416660460afa46ccf5

8 years agoInitial Docker Library for Robot 84/22384/11
Marcus G K Williams [Wed, 10 Jun 2015 00:12:47 +0000 (16:12 -0800)]
Initial Docker Library for Robot

Wrapper for Docker-py to allow use in Robot System Tests

Change-Id: Iceaa48a42fbbee804039dbfa153737734e03fb66
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoUpdate clustering tests for Continuous Integration 43/23143/19
Phillip Shea [Mon, 22 Jun 2015 22:38:55 +0000 (15:38 -0700)]
Update clustering tests for Continuous Integration

Moved clustering tests to controller directory.

Replaced ${PORT} with ${RESTCONFPORT} in call to Wait For Controller Up.

This commit is a re-try of the following commit:
https://git.opendaylight.org/gerrit/#/c/23001/

It adds KEYFILE_PASS to variables.py
and then puts KEYFILE_PASS into
Run Command On Remote System.

It also contains the following from the
previous commit attempt:
    Change global variables to match those used in CI
    All ssh sign-ins now use certificates rather than passwords
    Remove Sleeps where possible.
    Move repeated variables into variables.py.
    Move repeated keywords into libraries.

Change-Id: Iacb328c89abe35d8c57eac4b4d081ff219b2e8b5
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoAdd openflow longevity testplan 32/23932/1
Luis Gomez [Thu, 9 Jul 2015 00:16:30 +0000 (17:16 -0700)]
Add openflow longevity testplan

Change-Id: I7b4b43062063a8101a050d1cdcec6cfa9ade5847
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoBug 3330 - Add System Tests for GBP 11/23211/5
Ruijing Guo [Wed, 24 Jun 2015 07:35:07 +0000 (07:35 +0000)]
Bug 3330 - Add System Tests for GBP

Change-Id: I0219761e915c0f38bbc01a0e6f9a813c781e2d5a
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoEnsure netvirt is loaded before executing the remaining tests cases. 01/23701/5
Gabriel Robitaille-Montpetit [Thu, 2 Jul 2015 16:44:27 +0000 (12:44 -0400)]
Ensure netvirt is loaded before executing the remaining tests cases.

Change-Id: I5af54a00b68f98a93a874cc5ba407f6c6c27b29b
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoadding teardown part to log the ovs content 82/23882/3
Peter Gubka [Wed, 8 Jul 2015 08:54:06 +0000 (10:54 +0200)]
adding teardown part to log the ovs content

Change-Id: I4a4eec94c778983a690636947b992ea7a5e6aaa0
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agogiving more time for He designed ofp to collect stats 91/23891/1
Peter Gubka [Wed, 8 Jul 2015 10:27:31 +0000 (12:27 +0200)]
giving more time for He designed ofp to collect stats

Li designed plugin works well even with this setup
this has impact on *-sw-scalability-daily* jobs, better
result are expected

Change-Id: If23370cf5dbd2edeb50441016c222ba0cb65d1bb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoCorrect test case with the right html response code. 50/23850/2
Gabriel Robitaille-Montpetit [Tue, 7 Jul 2015 18:45:16 +0000 (14:45 -0400)]
Correct test case with the right html response code.

Change-Id: I395e922e6ed32a2e862dfecdcbfcdd69038bbd5f
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoScript to test MD-SAL datastore read performance. 52/23652/4
Gary Wu [Wed, 1 Jul 2015 18:49:16 +0000 (11:49 -0700)]
Script to test MD-SAL datastore read performance.

Add a new script to test MD-SAL clustering datastore
read performance.  It will iterate through a list
of controller nodes and repeatedly retrieve flows
previously populated by flow_config_blaster.py.

Change-Id: I76ff6e7f837b268fff5db1f11b340353a220580b
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agoIntroduce a Clean up OVS utility to use in Robot. 93/23693/11
Gabriel Robitaille-Montpetit [Thu, 2 Jul 2015 15:26:22 +0000 (11:26 -0400)]
Introduce a Clean up OVS utility to use in Robot.

Change-Id: If2925ba1d9ea2eacdec6e7f76bdd0241ddf8b66a
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agominor improvement to be able to run the script from any location 10/23810/2
Peter Gubka [Tue, 7 Jul 2015 10:21:52 +0000 (12:21 +0200)]
minor improvement to be able to run the script from any location

Change-Id: Ice274084144499f4fdab4e3fdcb360e59f2204c3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoRemove duplicated test plan for ovsdb souhtound. 45/23745/2
Alexis de Talhouët [Fri, 3 Jul 2015 16:17:00 +0000 (12:17 -0400)]
Remove duplicated test plan for ovsdb souhtound.

One is declared here [1] and is used for csit, the other declared here [2]
isn't used. Thus this patch deletes [2]

[1] https://github.com/opendaylight/integration/blob/master/test/csit/testplans/ovsdb-southbound.txt
[2] https://github.com/opendaylight/integration/blob/master/test/csit/testplans/ovsdb-sbplugin.txt

Change-Id: I6f444b7e203364801af1d8993df0701e545d3194
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoBug-3075: BMP plugin integration 77/23777/2
Milos Fabian [Mon, 6 Jul 2015 13:08:26 +0000 (15:08 +0200)]
Bug-3075: BMP plugin integration

-integrate BMP southbound plugin with ODL karaf distribution
-added "odl-bgppcep-bmp" feature

Change-Id: I6eee9cbef9a5a4ee122325116de21ae02f0869cd
Signed-off-by: Milos Fabian <milfabia@cisco.com>
9 years agonew robot to measure flow setup rate using add-flows-ds 78/23678/5
Peter Gubka [Thu, 2 Jul 2015 12:38:47 +0000 (14:38 +0200)]
new robot to measure flow setup rate using add-flows-ds

- unifying performance suites and minor imrovements
- 090_BulkMaticConfigDsSetup_100k.robot - new robot
- 080_Rpc_100k_Flows_Configuration_Time_Measure.robot - adding rate to csv file
- 070_Stats_Collection_100k_WithMininetRestart.robot - adding rate to csv file
- new tesplan files

Change-Id: I1e812c8a21088907054128c328a83b08bea4bac7
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoadding a new suite for new rpc calls 02/20802/3
Peter Gubka [Wed, 20 May 2015 12:32:47 +0000 (14:32 +0200)]
adding a new suite for new rpc calls

Change-Id: Id5c0a83c0718fb783f61c19e6b22dff1e7154a25
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFix Failure to launch vtn coordinator 13/23213/18
gvrangan [Tue, 23 Jun 2015 04:38:51 +0000 (13:38 +0900)]
Fix Failure to launch vtn coordinator

     * Excluded all cases other than add/remove controller
     * Fixed the installation of VTN coordinator

Change-Id: I76745303f3cb5847d5d55cb710cd89814b4115e6
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoenlarging timeout 72/23672/2
Peter Gubka [Thu, 2 Jul 2015 09:45:53 +0000 (11:45 +0200)]
enlarging timeout

when lots of switches are connected sometimes it takes more than 15s
for http response to be available and the keyword then runs only once
and we want more

Change-Id: Icb5438730be036f3afefffd96fff19066eb861e8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFixed prompt issue on Run Command on Remove System procedure 66/23666/2
mahesh.manivasagam [Thu, 2 Jul 2015 05:42:18 +0000 (11:12 +0530)]
Fixed prompt issue on Run Command on Remove System procedure

Change-Id: I2c09b55630cc097e27d85f936c94a2da526b92ff
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agonew robot suite which will measure a time to setup flows using rpcs 93/23593/2
Peter Gubka [Tue, 30 Jun 2015 13:17:44 +0000 (15:17 +0200)]
new robot suite which will measure a time to setup flows using rpcs

http request sent contains a list of flows to be set up, parralel
https connections should make ofp as busy as possible

testplan files created for the jobs

to mbe merged after https://git.opendaylight.org/gerrit/#/c/23511/

Change-Id: I26450a0b5b8d896c5ed57ad9143f94121bc89ac1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFixed Bug 2429 Verification CI 85/23285/14
Jamo Luhrsen [Thu, 25 Jun 2015 18:14:17 +0000 (11:14 -0700)]
Fixed Bug 2429 Verification CI

the initial test was unable to pull the thread count of the controller
*after* running the DOS attack with the 'nc' tool.  Changing from the
Run command to the "Start Process" keyword helps with that.

Also added a few extra debug outputs that may help in the event this
test fails.

Change-Id: I8c34c75c85a4c8ea781a8a0c1d13f8ae4b664fff
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
9 years agoremoving sleep from the suite and improving setup verify 42/23642/1
Peter Gubka [Wed, 1 Jul 2015 13:47:49 +0000 (15:47 +0200)]
removing sleep from the suite and improving setup verify

Change-Id: I81b6a57069ed355a7be6ddb26c4b8dad3d0b0252
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoadding a new config functions to use several /restconf/operations 11/23511/4
Peter Gubka [Mon, 29 Jun 2015 13:01:29 +0000 (15:01 +0200)]
adding a new config functions to use several /restconf/operations

minor refactoring to have one general task executor and sender

Change-Id: Iab8d7ae4f17fda1875b97c538a2e72c66a19bc10
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoRemove tox <1.6 workaround 11/23611/1
Thanh Ha [Tue, 30 Jun 2015 20:20:48 +0000 (16:20 -0400)]
Remove tox <1.6 workaround

With https://git.opendaylight.org/gerrit/23610 merged we no longer need
this workaround.

Change-Id: I96d4f02839a802200f2e4b924e173d533e6e3cb9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd more commands to completely cleanup the OVS instance. 83/23383/4
Gabriel Robitaille-Montpetit [Thu, 25 Jun 2015 20:54:38 +0000 (16:54 -0400)]
Add more commands to completely cleanup the OVS instance.

Change-Id: I4c05640f40355cb05468fc528a0b2dd5b64e1613
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
9 years agoFix for robot CSIT - Tested using the Sandbox. 35/23335/22
Gabriel Robitaille-Montpetit [Thu, 25 Jun 2015 19:21:20 +0000 (15:21 -0400)]
Fix for robot CSIT - Tested using the Sandbox.

Change-Id: I71deb59955c4fdf172206e6ecb782dd127eae2aa
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
9 years agofixing python issues with string formating in odl jenkins env 73/23573/1
Peter Gubka [Tue, 30 Jun 2015 08:00:04 +0000 (10:00 +0200)]
fixing python issues with string formating in odl jenkins env

Change-Id: I71c8a99b74e711c6b748fc04fdf4e4b40ba6a372
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agorequiretty log help for cluster-deployer 66/23566/1
Kamal Rameshan [Tue, 16 Jun 2015 01:16:19 +0000 (18:16 -0700)]
requiretty log help for cluster-deployer

Change-Id: I816106f33a3d7f57051e15a4f85360c37c2bd396
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
(cherry picked from commit 5b43cd3466bb17729bb3cee042e117faa43ad675)

9 years agoCleanup activity on LACP feature scripts. Added the prompt info. on the lag resilienc... 67/22867/2
mahesh.manivasagam [Thu, 18 Jun 2015 10:05:58 +0000 (15:35 +0530)]
Cleanup activity on LACP feature scripts. Added the prompt info. on the lag resiliency & flow entry stats robot files to override the existing prompt variable

Change-Id: Ife12243fb4cfcd23854eacd4dc0f329d98676afd
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agofixing the wrong suite file name in the ofp testplan 36/23536/2
Peter Gubka [Mon, 29 Jun 2015 21:13:54 +0000 (23:13 +0200)]
fixing the wrong suite file name in the ofp testplan

Change-Id: I5383d445f0dd76a56dbf9f1a5566778b56b0c499
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFix flow_config_blaster hanging on network errors 36/23236/4
Gary Wu [Wed, 24 Jun 2015 17:36:35 +0000 (10:36 -0700)]
Fix flow_config_blaster hanging on network errors

flow_config_blaster was hanging on network errors
(e.g. bad hostname) and not exiting properly.
This fixes the issue by using thread.join instead
of waiting for a manually tracked thread count.

Also added a default timeout for connections.

Change-Id: I8b858d12393b4f1d70379233f0a6b35e63d95beb
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agocreating a new test suite to find out maximum number of switches connected 17/23017/3
Peter Gubka [Fri, 19 Jun 2015 23:19:16 +0000 (01:19 +0200)]
creating a new test suite to find out maximum number of switches connected

the idea is not to start and stop mininet with different paramentes, but to
add (and remove) switches to the running topology

the other idea is to make that test not as long as the one running from
../../../testplans/openflowplugin-scalability-daily.txt (1.5h). The new suite
has to last much less.

Existing testplans were updated to point on certain files, not the whole directory,
so new robot file can be placed there.

Change-Id: Ifc7c9beb103b87d049f112ac57215705b8364412
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoAdded cli directory for nic-basic JJ 43/23443/1
Alton Fong [Fri, 26 Jun 2015 16:37:31 +0000 (09:37 -0700)]
Added cli directory for nic-basic JJ

Change-Id: I2d28190b965513579851871c3321ec5f0b34aedd
Signed-off-by: Alton Fong <alton.fong@hp.com>
9 years agoAdded Tests for RESTCONF on NIC 91/23391/2
Alton Fong [Wed, 24 Jun 2015 14:59:39 +0000 (07:59 -0700)]
Added Tests for RESTCONF on NIC

Change-Id: Ic5e4feb43e56d38f9f3ed9e875f913634cfffdd7
Signed-off-by: Alton Fong <alton.fong@hp.com>
9 years agoVerifying fib in operational DS instead of config DS 49/23249/1
Sindhuri [Thu, 25 Jun 2015 07:01:48 +0000 (00:01 -0700)]
Verifying fib in operational DS instead of config DS

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
9 years agoremote_host.py: re-use ssh session across commands 35/23235/2
Gary Wu [Wed, 24 Jun 2015 17:19:40 +0000 (10:19 -0700)]
remote_host.py: re-use ssh session across commands

Refactored remote_host.py to re-use a single ssh
connection to each cluster node for multiple
shell commands, instead of creating a separate
ssh connection for each command to be executed.
This reduces the delays experienced in the ssh
connection startup.

Change-Id: I74395ed3f2a90f6fc3fef1a509f48f9bcba7aff4
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agoCleaning the ovsdb node completely for other test 85/23185/2
Chaudhry Muhammad Usama [Tue, 23 Jun 2015 17:48:39 +0000 (10:48 -0700)]
Cleaning the ovsdb node completely for other test

Change-Id: I5dacf7c50bc048e58417fa60b0a9e4cb447cbf9c
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
9 years agotest suite updated to measure the time needed for stats collection 66/23166/2
Peter Gubka [Tue, 23 Jun 2015 13:26:32 +0000 (15:26 +0200)]
test suite updated to measure the time needed for stats collection

there is a need to plot the measured time which is needed for stats
to be collected in operational ds (inventory)

the delay between two triggers to inventory was decreased to 1s to
get a more precise time

monitoring change period was incresed to 450s. If timeout occures,
particular test case will fail and max time (450s) will be stored as
collection time

Change-Id: I0fe436055e1859f0d3f7db93100955e7815cf2e6
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoAdd tests for NIC (Network Intent) CLI features. 25/23025/10
altonfong [Sat, 20 Jun 2015 02:21:37 +0000 (19:21 -0700)]
Add tests for NIC (Network Intent) CLI features.

Change-Id: Ief020df806ab2c93d4794b789b96530f77b905bc
Signed-off-by: Alton Fong <alton.fong@hp.com>
9 years agoChanged the order of the testsuites and added operational check after each operation 39/23139/3
Chaudhry Muhammad Usama [Mon, 22 Jun 2015 22:00:53 +0000 (15:00 -0700)]
Changed the order of the testsuites and added operational check after each operation

Change-Id: Ia68400bd3a093501f655015f7194b884ad172ab4
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
9 years agoAdd support to deploy Coordinator from test suites 36/21836/15
gvrangan [Tue, 2 Jun 2015 10:42:08 +0000 (19:42 +0900)]
Add support to deploy Coordinator from test suites

   + Add a new TEST VTNC_LAUNCH to download ad launch Coordinator
   - Remove tags in test cases to enable them
   + VTN_C_LAUNCH to testplan to run first before the OF10 and OF13
   + robot.tidy executed on all robot files
   + Excluded the topology test cases

Change-Id: I43dcbffff5ba91fe99282f2b1b0d85c49a202f4b
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoBug 3827 - Chinese contributors fail to build integration test vm 38/23038/2
Ruijing Guo [Sun, 21 Jun 2015 05:34:48 +0000 (13:34 +0800)]
Bug 3827 - Chinese contributors fail to build integration test vm

Change-Id: Ife0ac086c3ba1d303aab8aa119fd08b6576a1326
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
9 years agoOVSDB netvirt: add variables to custom.properties 07/23007/5
Alexis de Talhouët [Fri, 19 Jun 2015 20:07:19 +0000 (16:07 -0400)]
OVSDB netvirt: add variables to custom.properties

This patch adds values to the custom.properties to enable l3 forwarding.

Note: I wasn't able to test it offline

Change-Id: Ie5f2c97e79289e5598a8add2da4e762b72117cb4
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
9 years agoRevert "Update clustering tests for Continuous Integration" 32/23132/1
Phillip Shea [Mon, 22 Jun 2015 21:26:06 +0000 (21:26 +0000)]
Revert "Update clustering tests for Continuous Integration"

This reverts commit 4b29b890c4baa4d30bea955ab17aaa7c6d5caed6.

Change-Id: I510dce690b6bfb11f220891cd492c9a310e9e002
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoUpdate clustering tests for Continuous Integration 01/23001/6
Phillip Shea [Fri, 19 Jun 2015 17:30:38 +0000 (10:30 -0700)]
Update clustering tests for Continuous Integration

This commit is a re-try of the following commit:
https://git.opendaylight.org/gerrit/#/c/22652/

The following changes were made:
    Change global variables to match those used in CI
    All ssh sign-ins now use certificates rather than passwords
    Remove Sleeps where possible.
    Move repeated variables into variables.py.
    Move repeated keywords into libraries.

Change-Id: I3c67c9fa5cbbfb1219f38cb9741481c28357185a
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agofixing the lib to be compatible with mininet 75/22975/1
Peter Gubka [Fri, 19 Jun 2015 09:11:44 +0000 (11:11 +0200)]
fixing the lib to be compatible with mininet

mininet start indexing switches with 1 but the lib did it with 0,
now the lib will start with 1 too

Change-Id: Ibbff0a43fe954ec49c439b8acf8cbdbf045d0081
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFix race conditions in lispflowmapping tests 58/22958/2
Lorand Jakab [Thu, 18 Jun 2015 18:33:53 +0000 (21:33 +0300)]
Fix race conditions in lispflowmapping tests

Ever so often there are some tests failing, because an add or remove
operation isn't processed internally by ODL before the next read is
sent.  Add some very short sleep periods to avoid failures of this type.

Change-Id: I9a4ad8dfae737e29897a796dadade444138bbf88
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit e2724f305927b6a69ca62355cf10b0070ed2b1f4)

9 years agoFix failing TC in flow-services suite 52/22952/3
Luis Gomez [Fri, 19 Jun 2015 02:42:36 +0000 (19:42 -0700)]
Fix failing TC in flow-services suite

A patch has been finally merged to set default flow timeouts=0

Change-Id: I52e5fcab72445543109bc020237b77952659c054
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFix test case to pass in CI 53/22953/2
Luis Gomez [Fri, 19 Jun 2015 03:00:49 +0000 (20:00 -0700)]
Fix test case to pass in CI

Netopeer has a bug that makes this TC to fail.

Change-Id: I3ec344f3f3caf044dd05ba5606b0f74759d518ba
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoFixing minor syntax errors on variables. "switchouput" to "switchoutput" 35/22935/2
Kailash Khalasi [Thu, 18 Jun 2015 23:00:06 +0000 (23:00 +0000)]
Fixing minor syntax errors on variables. "switchouput" to "switchoutput"

Change-Id: Ic38e1efc7feead907ff9417891fd75df6f23c580
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
9 years agoAdded scripts to start HBase server before controller 44/22344/15
vasanthan_balasubram [Thu, 11 Jun 2015 10:34:16 +0000 (16:04 +0530)]
Added scripts to start HBase server before controller
Added Waiting time for 6 polling cycle for TSDR collection

Change-Id: I9f4a652270231175e2f68e4abccb78929656d03f
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoTest case for ovsdb netvirt 02/22502/9
Mohamed El-Serngawy [Fri, 12 Jun 2015 20:58:44 +0000 (16:58 -0400)]
Test case for ovsdb netvirt

Change-Id: Ia852ec603efde41802caeee390f01e95120d5d77
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
9 years agoTest Cases for PacketCable PCMM Service 26/22926/2
Mohamed El-Serngawy [Thu, 18 Jun 2015 21:56:25 +0000 (17:56 -0400)]
Test Cases for PacketCable PCMM Service

Change-Id: I42da2b83d884988d1d2af62053b22b978744ded1
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>