integration/test.git
9 years agoGIT Reorganization - Create VTN suites
Luis Gomez [Mon, 1 Dec 2014 00:55:01 +0000 (16:55 -0800)]
GIT Reorganization - Create VTN suites

Change-Id: I43fb01cd6ae02821038a97a6079928606dc4e0d8
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoGIT restructure - Adding project folders and features
Luis Gomez [Sun, 30 Nov 2014 06:04:54 +0000 (22:04 -0800)]
GIT restructure - Adding project folders and features

Change-Id: I71a881ba17efc63ec15e5e48d8ffda46165db9d2
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdded shard performance tests (shard_perf_test.py and shard_multi_test.sh)
Jan Medved [Sat, 29 Nov 2014 07:07:46 +0000 (23:07 -0800)]
Added shard performance tests (shard_perf_test.py and shard_multi_test.sh)
Cleaned up help text for inventory crawler

Change-Id: I6b5791155e082e6267ebaf9aa3555ccb59f32677
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoAdded a printout for the overall test execution time
Jan Medved [Sat, 29 Nov 2014 04:15:11 +0000 (20:15 -0800)]
Added a printout for the overall test execution time

Change-Id: I0aa19bf0749dde07ce7ececc3ae8fb4bc3cd21ff
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoMerge "adding missing example flows"
Luis Gomez [Sun, 30 Nov 2014 01:26:44 +0000 (01:26 +0000)]
Merge "adding missing example flows"

9 years agoMerge "added output error message display by remote ssh execution"
Luis Gomez [Sun, 30 Nov 2014 01:24:32 +0000 (01:24 +0000)]
Merge "added output error message display by remote ssh execution"

9 years agoMerge "BUG 2344 : Refactor Clustering integration tests"
Luis Gomez [Sun, 30 Nov 2014 01:22:36 +0000 (01:22 +0000)]
Merge "BUG 2344 : Refactor Clustering integration tests"

9 years agoadding missing example flows
Peter Gubka [Thu, 27 Nov 2014 14:12:36 +0000 (15:12 +0100)]
adding missing example flows

source https://wiki.opendaylight.org/view/Editing_OpenDaylight_OpenFlow_Plugin:End_to_End_Flows:Example_Flows
especially mpls actions

Change-Id: I8257168dc190818451242fd1d8e0f80588c9f050
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoMerge "Updating Flow for IPv4 prefix"
Luis Gomez [Wed, 26 Nov 2014 22:15:59 +0000 (22:15 +0000)]
Merge "Updating Flow for IPv4 prefix"

9 years agoUpdating Flow for IPv4 prefix
Christopher O'Shea [Wed, 26 Nov 2014 19:41:28 +0000 (11:41 -0800)]
Updating Flow for IPv4 prefix

Change-Id: Id3fe902d47f875fddbc8560696d9d444f2522bab
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>
9 years agoMerge "Fix Netconf test to work with latest changes on Netconf connector"
Christopher O'Shea [Mon, 24 Nov 2014 23:48:08 +0000 (23:48 +0000)]
Merge "Fix Netconf test to work with latest changes on Netconf connector"

9 years agoNew Test(s) for AAA (disable/enable authentication and verify)
Jamo Luhrsen [Mon, 17 Nov 2014 23:13:11 +0000 (15:13 -0800)]
New Test(s) for AAA (disable/enable authentication and verify)

Change-Id: I578765894222dba933509c2f4e946ef28a3d143c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoadded output error message display by remote ssh execution
Michal Rehak [Tue, 18 Nov 2014 15:10:33 +0000 (16:10 +0100)]
added output error message display by remote ssh execution

- retriggered

Change-Id: Ied3dd6cf0bce60225c6d990a69adb3cfef6719ad
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoUpgraded WCBench to v2.0
Daniel Farrell [Wed, 19 Nov 2014 18:50:50 +0000 (13:50 -0500)]
Upgraded WCBench to v2.0

- Support for Helium 0.2.1
- Vagrantfile for trivial deployment
- Almost all GitHub Issues closed

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoBUG 2344 : Refactor Clustering integration tests
Moiz Raja [Fri, 14 Nov 2014 00:39:32 +0000 (16:39 -0800)]
BUG 2344 : Refactor Clustering integration tests

Deploy the 3-node cluster using deploy script and then run the scripts like so

pybot -v MEMBER1:10.194.126.49 -v MEMBER2:10.194.126.50 -v MEMBER3:10.194.126.51 -v PORT:8181 -v USERNAME:root -v PASSWORD:cvg123 -v KARAF_HOME:/root/deploy/current/odl ./datastore
pybot -v MEMBER1:10.194.126.49 -v MEMBER2:10.194.126.50 -v MEMBER3:10.194.126.51 -v PORT:8181 -v USERNAME:root -v PASSWORD:cvg123 -v KARAF_HOME:/root/deploy/current/odl ./routedrpc

Change-Id: I4582a94ea22f40a9236de330ac80727b2d1d4094
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Increasing timers for this test after stats mgr improvements"
Christopher O'Shea [Thu, 13 Nov 2014 19:27:41 +0000 (19:27 +0000)]
Merge "Increasing timers for this test after stats mgr improvements"

9 years agoFix Netconf test to work with latest changes on Netconf connector
Luis Gomez [Wed, 12 Nov 2014 01:06:44 +0000 (17:06 -0800)]
Fix Netconf test to work with latest changes on Netconf connector

Change-Id: I7c5b783e1529c0591cc38137b3e7f26ec75285bb
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoBUG 2344 : Add the multi-node-test template for clustering integration tests release/helium-sr1
Moiz Raja [Tue, 11 Nov 2014 01:35:04 +0000 (17:35 -0800)]
BUG 2344 : Add the multi-node-test template for clustering integration tests

The multi-node-test template installs all the odl-clustering-test-app and ensures
that the modules.conf and module-shards.conf is generated appropriately for testing
the app in a multi-node cluster

This patch is dependent on the following controller patch,

https://git.opendaylight.org/gerrit/#/c/12705/

Change-Id: I58b2938c3125068ef895733bcec8e26050190b39
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoadding netopeer via REST
Ekta Khurana [Fri, 31 Oct 2014 23:11:41 +0000 (16:11 -0700)]
adding netopeer via REST

Change-Id: Iaac81b4e6702186b61254e3de2a49aeb569a3b0b
Signed-off-by: Ekta Khurana <e.khurana@gmail.com>
9 years agorebasing with master after switchPOC was merged
Jamo Luhrsen [Thu, 30 Oct 2014 16:32:36 +0000 (09:32 -0700)]
rebasing with master after switchPOC was merged

Change-Id: I14dcda2432abf8e8aed310c68b04ce5c9c8547e6
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMerge "Switch Abstraction POC."
Christopher O'Shea [Thu, 30 Oct 2014 16:04:50 +0000 (16:04 +0000)]
Merge "Switch Abstraction POC."

9 years agoBUG 2276 : Add a script to restart a cluster
Moiz Raja [Thu, 30 Oct 2014 00:20:17 +0000 (17:20 -0700)]
BUG 2276 : Add a script to restart a cluster

Change-Id: I4fd10c2f9509d68df3dee2cdd62b8d83ccb8c432
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoBUG 2274 : User odl-restconf-noauth feature by default
Moiz Raja [Wed, 29 Oct 2014 20:59:17 +0000 (13:59 -0700)]
BUG 2274 : User odl-restconf-noauth feature by default

Change-Id: I90f7ace8ed004832fd70986f5a2cfc73175b0c17
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoIncreasing timers for this test after stats mgr improvements
Luis Gomez [Tue, 28 Oct 2014 03:21:24 +0000 (20:21 -0700)]
Increasing timers for this test after stats mgr improvements

Change-Id: I7920a24bd4e7aa57af269a691a88302b061b5fda
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge "[Fix for Bug 2189] - OpenFlow Karaf features config file now references 0...
Christopher O'Shea [Wed, 29 Oct 2014 03:18:48 +0000 (03:18 +0000)]
Merge "[Fix for Bug 2189] - OpenFlow Karaf features config file now references 0.2.0-Helium release instead of 0.2.0-SNAPSHOT - Changed Jolokia hot-deploy feature template format to:  - Install bundle automatically on deploy.  - Use proper namespaces to avoid warning during Karaf startup and loading. - Don't deploy Jolokia as featuresBoot since Karaf hot deployment is being used. - Extract ODL release version automatically from deploy.py script's distibution parameter."

9 years ago[Fix for Bug 2189]
mark.mozolewski [Thu, 23 Oct 2014 23:55:36 +0000 (16:55 -0700)]
[Fix for Bug 2189]
- OpenFlow Karaf features config file now references 0.2.0-Helium release instead of 0.2.0-SNAPSHOT
- Changed Jolokia hot-deploy feature template format to:
- Install bundle automatically on deploy.
- Use proper namespaces to avoid warning during Karaf startup and loading.
- Don't deploy Jolokia as featuresBoot since Karaf hot deployment is being used.
- Extract ODL release version automatically from deploy.py script's distibution parameter.

Change-Id: Id8fa19e11a0c04459ded6f7e5eac3868e74e8969
Signed-off-by: mark.mozolewski <mark.mozolewski@hp.com>
9 years agoSwitch Abstraction POC.
Jamo Luhrsen [Tue, 7 Oct 2014 20:33:14 +0000 (13:33 -0700)]
Switch Abstraction POC.

- switch user made dynamic and defaults to ${MININET_USER}
- added ssh_key functionality for switches that use ssh for mgmt_protocol
- moved switch classes to a subdir in libraries for tidiness
- made Ovs default and SWITCH_IP == ${MININET} so that no changes
  need to be made to jenkins job

Change-Id: Ie563250ffd0b52c7c038f22fefde49f09ace209b
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
using @property for dynamic switch class attribute strings

moved some attributes to properties so that the values of the
properties could change dynamically as other class attributes
are changed (e.g. when you get a flow object you need to update
the controller_ip, and because of that a lot of the strings
(for configs, etc) need to be updated in real time)

Change-Id: I82cbafda72927a56b73d2196d9694d426e855b8c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
moved generic keywords to new SwitchUtils library

also:
-  ${SWITCH} and ${CONTROLLER_IP} need to be passed as cmdLine
   args regexp will now match verifications, so long strings
   can be condensed in object definition (if desired)

Change-Id: I87c7357c16cf971eb7c4ece0014dbb6228b309a6
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
renamed file

Change-Id: Ibd114274a1c402cb40b9c3d0ce7cf4530f9b6aa2
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
OpenFlow validation enhancements

Actions Suite ported to use new switch abstraction.

Change-Id: I2f1f735c73bdfd7a1b3e58a6a8647f8bfeabf586
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
${switch} object needed for read, write, execute wrappers

Change-Id: I7dce87eca1c3040c65716fc5585b9a2eb724a86b
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMerge "Fixed a bug where measured rate was not reported properly Added comments into...
Luis Gomez [Thu, 23 Oct 2014 20:25:35 +0000 (20:25 +0000)]
Merge "Fixed a bug where measured rate was not reported properly Added comments into flow_add_delete_test and inventory_crawler Updated README"

9 years agoFixed a bug where measured rate was not reported properly
Jan Medved [Thu, 23 Oct 2014 18:02:41 +0000 (11:02 -0700)]
Fixed a bug where measured rate was not reported properly
Added comments into flow_add_delete_test and inventory_crawler
Updated README

Change-Id: Iaa90667ebd549d3ed8072cfce7fbb477455a2c96
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoMerge "test to configure 100k flows"
Luis Gomez [Thu, 16 Oct 2014 23:29:13 +0000 (23:29 +0000)]
Merge "test to configure 100k flows"

9 years agoMerge "Removing unneeded files"
Luis Gomez [Thu, 16 Oct 2014 22:18:19 +0000 (22:18 +0000)]
Merge "Removing unneeded files"

9 years agoMerge "Disaster Recovery Scripts"
Luis Gomez [Thu, 16 Oct 2014 22:13:27 +0000 (22:13 +0000)]
Merge "Disaster Recovery Scripts"

9 years agoMerge "- Put duplicate code in flow_add_delete_test into a common function - Added...
Christopher O'Shea [Thu, 16 Oct 2014 19:59:10 +0000 (19:59 +0000)]
Merge "- Put duplicate code in flow_add_delete_test into a common function - Added support for Floodlight in config_cleanup"

9 years agoRemoving unneeded files
Jan Medved [Thu, 16 Oct 2014 18:11:56 +0000 (11:11 -0700)]
Removing unneeded files

Change-Id: Iff39b52f5c3c604c40513d05f4b0be7368b8df3c
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years ago- Put duplicate code in flow_add_delete_test into a common function
Jan Medved [Thu, 16 Oct 2014 17:16:18 +0000 (10:16 -0700)]
- Put duplicate code in flow_add_delete_test into a common function
- Added support for Floodlight in config_cleanup

Change-Id: I6f7e07e05138d4cd44195f8c4d8385aad6fe64f5
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoMerge "Added FlowConfigBlaster 'Floodlight Edition' - flow config blaster that uses...
Christopher O'Shea [Thu, 16 Oct 2014 04:08:03 +0000 (04:08 +0000)]
Merge "Added FlowConfigBlaster 'Floodlight Edition' - flow config blaster that uses Floodlight's static flow pusher REST API to program flows."

9 years agoAdded FlowConfigBlaster 'Floodlight Edition' - flow config blaster that uses Floodlig...
Jan Medved [Wed, 15 Oct 2014 02:48:07 +0000 (19:48 -0700)]
Added FlowConfigBlaster 'Floodlight Edition' - flow config blaster that uses Floodlight's static flow pusher REST API to program flows.

Change-Id: I9572137ae12aa39d82859bd3742194bcb00669c5
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoupdating out_port and out_group to 0xffffffff (any)
Peter Gubka [Tue, 14 Oct 2014 13:00:36 +0000 (15:00 +0200)]
updating out_port and out_group to 0xffffffff (any)

- we had a problem with flow deletion, because the group
  was not present on the switch while deletion and
  error was returned and flow remained on the switch
- xml compare library opdated, because 0xffffffff is
  in operational represented as decimal, so be able to
  compare these two values

Change-Id: I3da7a403b2157f902f2c056ca3b88927d5e60ab6
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoMerge "robot integration tests for router rpc in datastore clustering"
Luis Gomez [Mon, 13 Oct 2014 16:54:48 +0000 (16:54 +0000)]
Merge "robot integration tests for router rpc in datastore clustering"

9 years agoMerge "- Added capability to read flow templates from files"
Luis Gomez [Mon, 13 Oct 2014 02:26:09 +0000 (02:26 +0000)]
Merge "- Added capability to read flow templates from files"

9 years agoMerge "Additional comments & spellcheck for the README file"
Luis Gomez [Mon, 13 Oct 2014 02:24:37 +0000 (02:24 +0000)]
Merge "Additional comments & spellcheck for the README file"

9 years ago- Added capability to read flow templates from files
Jan Medved [Mon, 13 Oct 2014 01:39:16 +0000 (18:39 -0700)]
- Added capability to read flow templates from files

- Added 'measured rate', which computes the flow programming rate as
  total_flows / total-elapsed-time from threads start to finish

- Small reorg of the code to get it ready for Floodlight flow config blaster

- README updates

- Helptext updates.

Change-Id: I1a286c790a05f4654f097b3d94f7f929c2ca1b8c
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoAdditional comments & spellcheck for the README file
Jan Medved [Sun, 12 Oct 2014 04:10:03 +0000 (21:10 -0700)]
Additional comments & spellcheck for the README file

Change-Id: I47343143146aebafff769f3b244265747807f815
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoAdded the README file documenting the test suite
Jan Medved [Sat, 11 Oct 2014 16:10:11 +0000 (09:10 -0700)]
Added the README file documenting the test suite

Change-Id: I2da2a79f3aa57f38872340155bd5fcc9e9443831
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoMerge "New test cases for openflow add and update"
Christopher O'Shea [Fri, 10 Oct 2014 21:25:12 +0000 (21:25 +0000)]
Merge "New test cases for openflow add and update"

9 years agoAdding Longevity Test for clustering data store
Harman Singh [Thu, 11 Sep 2014 04:45:11 +0000 (21:45 -0700)]
Adding Longevity Test for clustering data store

Usage example : pybot -v IP1:10.195.128.18 -v PORT:8181 -v IP2:10.195.128.35 -v IP3:10.195.128.19 -v DURATION:500 010__longevity.txt

Change-Id: I1d40e366bb59b14822dd6fa17a42146c700684ac
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoAdding clustering failure test cases
Harman Singh [Thu, 11 Sep 2014 02:13:20 +0000 (19:13 -0700)]
Adding clustering failure test cases

Usage : pybot -v LEADER:10.195.128.18 -v PORT:8181 -v FOLLOWER1:10.195.128.35 -v FOLLOWER2:10.195.128.19 -v USERNAME:root -v PASSWORD:Ecp123 -v KARAFHOME:/root/Documents/dist 010_restconf_rpc_crud_test_09_execute_on_last_node.txt

Change-Id: I6e4c00c34cdc9cef74fae65d253656d04c1ce59d
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoDisaster Recovery Scripts
Moiz Raja [Thu, 11 Sep 2014 02:57:25 +0000 (19:57 -0700)]
Disaster Recovery Scripts

Change-Id: Ifa766ae6b5e1e0d211e2ab3a9d7b2839ae501bd0
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "BUG 2067 : Utility to automate the deployment of a cluster"
Christopher O'Shea [Fri, 10 Oct 2014 17:57:20 +0000 (17:57 +0000)]
Merge "BUG 2067 : Utility to automate the deployment of a cluster"

9 years agotest to configure 100k flows
Peter Gubka [Fri, 10 Oct 2014 13:10:09 +0000 (15:10 +0200)]
test to configure 100k flows

no switch needed to be connected
it is and example of how to to run several threads in the background
comments expected for this solution
this test will be enlarged to 1M flows if concept acceptable
for 1M odl need to be run with -Xmx8196m

Change-Id: I6c6d5e24ec2be88513b744e46a103bc65246d735
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoUpdating OF10 actions to appropriate OF13 actions
Peter Gubka [Thu, 9 Oct 2014 11:44:14 +0000 (13:44 +0200)]
Updating OF10 actions to appropriate OF13 actions

Change-Id: I0ededed5faab61aa615e5fb283dcfc3c2e6f2195
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFix Return Codes with recent values
senthil [Tue, 7 Oct 2014 20:33:14 +0000 (13:33 -0700)]
Fix Return Codes with recent values

Change-Id: I3490c753d4e36965dd1cb7b93021fcda6cc31ca4
Signed-off-by: senthil <senthil-b@hcl.com>
9 years agoPerformance scripts modifications. Added 2 scripts, modified 2 scripts.
Jan Medved [Sun, 5 Oct 2014 17:00:27 +0000 (10:00 -0700)]
Performance scripts modifications. Added 2 scripts, modified 2 scripts.

Change-Id: I32842be18c1334542b1b48a87a02db2309f1a67e
Signed-off-by: jmedved@cisco.com <jmedved@cisco.com>
9 years agoModifying stats manager tests for collection of flow details release/helium
Peter Gubka [Wed, 1 Oct 2014 13:06:09 +0000 (15:06 +0200)]
Modifying stats manager tests for collection of flow details

Removing test cases which can be applicable only on cpqd switch
Adding update tests for sal operations

Change-Id: If07d844a8aa1474c24718fc0ff27a05c02ade300
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoVTN test fix. This works 100% in my laptop.
Luis Gomez [Sat, 27 Sep 2014 18:36:17 +0000 (11:36 -0700)]
VTN test fix. This works 100% in my laptop.

Change-Id: I5017733f9e58cc665eb9e3dd0fb14277ed96142a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoSuper patch to stabilize our suites
Luis Gomez [Sat, 27 Sep 2014 16:35:10 +0000 (09:35 -0700)]
Super patch to stabilize our suites

Change-Id: I181182355d8bf4ecf0f1921bc8ef99687cb7d0ff
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoBUG 2067 : Utility to automate the deployment of a cluster
Moiz Raja [Wed, 24 Sep 2014 20:04:21 +0000 (13:04 -0700)]
BUG 2067 : Utility to automate the deployment of a cluster

First pass at automating the deployment of a cluster.

To deploy a cluster do the following,
- cd to the cluster-deployer directory
- ./deploy.py --distribution=<absolute_path_of_the_distribution_zip> --hosts=<comma_separated_list_of_hosts> --rootdir=<root_directory_on_remote_host> --clean

To get usage unformation on the script
- ./deploy.py -h

There are some pre-requisites for the script which are mentioned as documentation at the top of the script

Change-Id: I1429f28ff4c6e565d44bfb1567f821ae2fb8454e
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoIncreasing stats time + adding adsal tag to allow MD-SAL only test
Luis Gomez [Thu, 25 Sep 2014 08:15:25 +0000 (01:15 -0700)]
Increasing stats time + adding adsal tag to allow MD-SAL only test

Change-Id: I0f036b629084d3410bf602be6e4ec697fca444b1
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge "bug 1772 is now fixed and verified in RC2. This test case can now be expected...
Christopher O'Shea [Thu, 25 Sep 2014 06:47:07 +0000 (06:47 +0000)]
Merge "bug 1772 is now fixed and verified in RC2.  This test case can now be expected to function and PASS.  Enabling it for regression."

9 years agoMerge "Adding test for hosttracker"
Luis Gomez [Thu, 25 Sep 2014 05:15:04 +0000 (05:15 +0000)]
Merge "Adding test for hosttracker"

9 years agobug 1772 is now fixed and verified in RC2. This test case can now be expected
Jamo Luhrsen [Wed, 24 Sep 2014 17:41:12 +0000 (10:41 -0700)]
bug 1772 is now fixed and verified in RC2.  This test case can now be expected
to function and PASS.  Enabling it for regression.

Change-Id: I1e5c0e2c1056f159957da85d0e4b418efd366222
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMerge "large rework to optimize test code. removed lots of sleeps in favor of "Wait...
Luis Gomez [Thu, 25 Sep 2014 05:13:41 +0000 (05:13 +0000)]
Merge "large rework to optimize test code. removed lots of sleeps in favor of "Wait Until Keyword Succeeds" (WUKS) calls moved common functionality in to higher level keywords in the new Utils.txt resource"

9 years agolarge rework to optimize test code.
Jamo Luhrsen [Tue, 23 Sep 2014 20:07:44 +0000 (13:07 -0700)]
large rework to optimize test code.
removed lots of sleeps in favor of "Wait Until Keyword Succeeds" (WUKS) calls
moved common functionality in to higher level keywords in the new Utils.txt
resource

Change stats for performance from 30s to 60s

Change-Id: Iab144bfb46c9789bbb0d8a9bc2e27eb57082881e
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoUtilLibrary now uses requests session instead of
Basheeruddin Ahmed [Wed, 10 Sep 2014 21:54:27 +0000 (14:54 -0700)]
UtilLibrary now uses requests session instead of
direct post /get which seem to open active connections

Change-Id: I3261d78b8497f8b1a97f991866511254bbf07628
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoAdding test for hosttracker
Christopher O'Shea [Mon, 22 Sep 2014 23:21:47 +0000 (16:21 -0700)]
Adding test for hosttracker

- Check to see if host are add to the topology
- Check that host are deleted once mininet is stopped
- Change the init script to have predefine mac with --mac
- Add test to check host are deleted.

Change-Id: I2c0fe00be1d99fa3905617ae3b92c57cb1d98445
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>
9 years agoMerge "Adding new netconf test suite."
Luis Gomez [Wed, 24 Sep 2014 07:18:39 +0000 (07:18 +0000)]
Merge "Adding new netconf test suite."

9 years agoAdding new netconf test suite.
carolsand [Wed, 24 Sep 2014 05:19:16 +0000 (22:19 -0700)]
Adding new netconf test suite.

Signed-off-by: carolsand <carolsand@gmail.com>
9 years agorobot integration tests for router rpc in datastore clustering
Kamal Rameshan [Fri, 12 Sep 2014 02:29:58 +0000 (19:29 -0700)]
robot integration tests for router rpc in datastore clustering

Change-Id: Idf2041a897bdf6727b65b29c790bdea67004c945
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agorenamed the test cases file name to contain proper
Basheeruddin Ahmed [Thu, 11 Sep 2014 07:21:01 +0000 (00:21 -0700)]
renamed the test cases file name to contain  proper
sequence number

updated test cases to utilize getLeader api

Change-Id: I34ba798382587290d83cb71160b1ed0725d406e4
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agoIncreasing sleep after mininet to stabilize l2switch suite
Luis Gomez [Sun, 21 Sep 2014 02:39:31 +0000 (19:39 -0700)]
Increasing sleep after mininet to stabilize l2switch suite

Change-Id: I7762ba3df0eef7e54433e6c7860c451fb0cc4d3e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdding sleep to l2switch suite
Luis Gomez [Sat, 20 Sep 2014 17:06:01 +0000 (10:06 -0700)]
Adding sleep to l2switch suite

Change-Id: Ic4d423a6235410782a820038f18c3d9eacee6d8d
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdded library to determine Shard Cluster Roles
Basheeruddin Ahmed [Wed, 10 Sep 2014 21:54:27 +0000 (14:54 -0700)]
Added library to determine Shard Cluster Roles

patch 2: added getLeader and getFollowers API

Change-Id: Ie0acd69d83d0e7a37fd4ccfd0089029eb7722120
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
9 years agokill controller and clean journal command utilities
Kamal Rameshan [Fri, 19 Sep 2014 05:00:04 +0000 (22:00 -0700)]
kill controller and clean journal command utilities

Change-Id: If3fb107f38899534595fd6b0911ee49c028ad9d2
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoMerge "Initial isolation test integrated with robot framework Usage: pybot -v LEADER...
Christopher O'Shea [Thu, 18 Sep 2014 18:53:03 +0000 (18:53 +0000)]
Merge "Initial isolation test integrated with robot framework Usage: pybot -v LEADER:<leader_ip> -v PORT:8080 -v FOLLOWER1:<flwr1_ip> -v FOLLOWER2:<flwr2_ip> ~/integration/test/csit/suites/clustering/datastore/basic/<testname.txt> Adding start/stop controller util methods"

9 years agoMerge "Adding tests to check number of switches and links connected"
Christopher O'Shea [Thu, 18 Sep 2014 17:29:07 +0000 (17:29 +0000)]
Merge "Adding tests to check number of switches and links connected"

9 years agoAdding tests to check number of switches and links connected
Peter Gubka [Wed, 17 Sep 2014 13:23:22 +0000 (15:23 +0200)]
Adding tests to check number of switches and links connected

These tests are dependent on mininet depth and fanout variables

Change-Id: Ida6b37247fe634b11ecc618cd470428fdd4623dc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoNew test cases for openflow add and update
Peter Gubka [Thu, 18 Sep 2014 10:53:00 +0000 (12:53 +0200)]
New test cases for openflow add and update

These tests test particular scenarios and are not
design to run within integration process because
of their time requirements.

Change-Id: Idcbbc7baad98c7e095bd0662176659a37de1943b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoA test which connects 256 switches.
Peter Gubka [Fri, 12 Sep 2014 10:05:06 +0000 (12:05 +0200)]
A test which connects 256 switches.

Then checks if they are present
in /restconf/operational/network-topology:network-topology/topology/flow:1
This test does not affect integration process.

Change-Id: I3cc5446b5a636d252a0021ae714c49c7d4e7c5b3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years ago(two tiny cleanups and re-triggering the patch tests now that all the 503
Jamo Luhrsen [Fri, 12 Sep 2014 19:53:19 +0000 (12:53 -0700)]
(two tiny cleanups and re-triggering the patch tests now that all the 503
errors are gone)

(moving code to karaf suite locations)

INPORT action test now functional.  There is a bug open to move that
action to IN_PORT, but that may or may not be resolved.  Depending
on that, this test case may have to revert back to IN_PORT (bug is
https://bugs.opendaylight.org/show_bug.cgi?id=1725)

The FlowLib files (.py and .txt) have been upgraded.  There is now
an "Inventory" and "Service" type flow object to be used.  This was
needed so that the keyword to remove default flows (Steal to Controller)
could be removed via restconf @ the sal-flow:remove-flow RPC.

Change-Id: I85b40246e539d1c7872abc7e25f3b775efb0d596
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoXml compare library improvement
Peter Gubka [Tue, 16 Sep 2014 10:03:22 +0000 (12:03 +0200)]
Xml compare library improvement

Tests based on f45.xml and f218.xml needs to make
a value manipulation before the compare happen.

Change-Id: Icbffb618ae31a817900618fb7cb5450786f35b0d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoOrganizing karaf suites
Luis Gomez [Mon, 15 Sep 2014 01:46:32 +0000 (18:46 -0700)]
Organizing karaf suites

Change-Id: I15e874df7c0164591b9577af66a93d8a0137037f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge " Updating xmls for flows to have unique flow id"
Luis Gomez [Sat, 13 Sep 2014 06:02:32 +0000 (06:02 +0000)]
Merge "    Updating xmls for flows to have unique flow id"

9 years agoInitial isolation test integrated with robot framework
Basheeruddin Ahmed [Fri, 5 Sep 2014 20:16:08 +0000 (13:16 -0700)]
Initial isolation test integrated with robot framework
Usage:
pybot -v LEADER:<leader_ip> -v PORT:8080 -v FOLLOWER1:<flwr1_ip> -v FOLLOWER2:<flwr2_ip> ~/integration/test/csit/suites/clustering/datastore/basic/<testname.txt>
Adding start/stop controller util methods

Change-Id: I512275595cd90d35c350456388420496d6633734
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years ago Updating xmls for flows to have unique flow id
Peter Gubka [Fri, 12 Sep 2014 08:46:20 +0000 (10:46 +0200)]
Updating xmls for flows to have unique flow id

    None of these xmls are used within integration process
    and have not seend these xmls to be used anywhere
    except my suite in test/tools/OF_Tests/robot_suites
    so this commit should be harmless

Change-Id: I6ed8edf7fc05e26343dc32b0a4bbf4ef4c13210f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoUpdating and fixing xmls
Peter Gubka [Thu, 11 Sep 2014 12:19:28 +0000 (14:19 +0200)]
Updating and fixing xmls

None of these xmls are used within integration process
and have not seend these xmls to be used anywhere
except my suite in test/tools/OF_Tests/robot_suites
so this commit should be harmless

Change-Id: I6deb91fc9412216a7baaa97140ed1b1808b0bcc9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoMerge "Update RESTCONF statistics to remove namespace"
Luis Gomez [Thu, 11 Sep 2014 05:53:43 +0000 (05:53 +0000)]
Merge "Update RESTCONF statistics to remove namespace"

9 years agoUpdate RESTCONF statistics to remove namespace
Christopher O'Shea [Wed, 10 Sep 2014 22:44:10 +0000 (15:44 -0700)]
Update RESTCONF statistics to remove namespace

Change-Id: I5fe3047da52740faf20905b0d56f2c19c2bb0703
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>
9 years agoMerge "Change from sleep to Read Until"
Luis Gomez [Wed, 10 Sep 2014 22:50:23 +0000 (22:50 +0000)]
Merge "Change from sleep to Read Until"

9 years agoMerge "Adding new suites which uses all xml files present in ./csit/variables/xmls"
Luis Gomez [Wed, 10 Sep 2014 17:15:50 +0000 (17:15 +0000)]
Merge "Adding new suites which uses all xml files present in ./csit/variables/xmls"

9 years agoChange from sleep to Read Until
Christopher O'Shea [Wed, 10 Sep 2014 00:22:39 +0000 (17:22 -0700)]
Change from sleep to Read Until

- Speed up test case and better using Read Until than Sleep

Change-Id: I322d54854adb0fde7b88d030349b0d8d08d0e242
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>
9 years agoMerge "Update L2switch test case"
Luis Gomez [Wed, 10 Sep 2014 15:30:51 +0000 (15:30 +0000)]
Merge "Update L2switch test case"

9 years agoMerge "fixing xml value syntax error"
Christopher O'Shea [Wed, 10 Sep 2014 14:43:11 +0000 (14:43 +0000)]
Merge "fixing xml value syntax error"

9 years agoAdding new suites which uses all xml files present in ./csit/variables/xmls
Peter Gubka [Tue, 9 Sep 2014 16:14:53 +0000 (18:14 +0200)]
Adding new suites which uses all xml files present in ./csit/variables/xmls

These suites can be run as usual suites based in csit/suites/ directory
They do not influence any integration job

Change-Id: I995d935b6139c5b4e27a1793e9243d1f7d744ac4
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoUpdate L2switch test case
Christopher O'Shea [Tue, 9 Sep 2014 22:58:18 +0000 (15:58 -0700)]
Update L2switch test case

- Also change some sleep to Read Unti to speed up test case drop from 2:35 minutes to 1:01 minutes
- Change address-tracker:addresses to addresses to remove namespaces

Change-Id: Ibd0a5a6ced85a0d321166b5cfa01923879d8df44
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>
9 years agofixing xml value syntax error
Peter Gubka [Tue, 9 Sep 2014 16:11:13 +0000 (18:11 +0200)]
fixing xml value syntax error

Change-Id: Ibc54382ec68989541d3a2a96d65b813c002ccb63
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoMerge "Adding configuration maven project for test app of clustering"
Luis Gomez [Tue, 9 Sep 2014 15:37:26 +0000 (15:37 +0000)]
Merge "Adding configuration maven project for test app of clustering"

9 years agoMerge "Update test case due to XML file changing"
Luis Gomez [Tue, 9 Sep 2014 15:34:14 +0000 (15:34 +0000)]
Merge "Update test case due to XML file changing"

9 years agoAdding configuration maven project for test app of clustering
Harman Singh [Mon, 8 Sep 2014 17:45:11 +0000 (10:45 -0700)]
Adding configuration maven project for test app of clustering

Signed-off-by: Harman Singh <harmasin@cisco.com>
9 years agoActions suite to cover
Jamo Luhrsen [Fri, 5 Sep 2014 22:59:01 +0000 (15:59 -0700)]
Actions suite to cover

      OFPP_IN_PORT (NOTE: This test case will fail normally, but is currently
                    being blindly marked as passed without any execution)
      OFPP_TABLE
      OFPP_NORMAL
      OFPP_FLOOD
      OFPP_ALL
      OFPP_CONTROLLER
      OFPP_LOCAL
      OFPP_ANY

    Moved some common work previously in 305__ttl.txt suite to the Robot lib
    FlowLib.txt

    moved longer doc strings to variables so that the data driven tables are
    more readable.

    Added keyword to clean out default flows

    Moved ANY test case to auto-pass since there is a bug causing it to
    fail for now.

Change-Id: I101908e0901ed5fda016481e28519a84dec49b8a
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoUpdate test case due to XML file changing
Christopher O'Shea [Mon, 8 Sep 2014 15:58:49 +0000 (08:58 -0700)]
Update test case due to XML file changing

-  Idle/hard timeout
-  priority

Change-Id: I375900fba635834c9e7aa6496c5e28235bd144ba
Signed-off-by: Christopher O'Shea <christopher.o.shea@ericsson.com>