integration.git
9 years agoFix VTN Manager CSIT Cases 54/22254/9
gvrangan [Wed, 10 Jun 2015 06:11:36 +0000 (15:11 +0900)]
Fix VTN Manager CSIT Cases

+ Get VTN Version to verify if VTN Manager is up

Change-Id: I6dc2966f413c36c85f5acea232792de315ae70da
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoMaking OVS Switch Prompts configurable. 45/22645/1
Kailash Khalasi [Fri, 12 Jun 2015 16:35:46 +0000 (16:35 +0000)]
Making OVS Switch Prompts configurable.

Change-Id: I4e02b78870f822466d28ced66388889d09fedf0f
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
(cherry picked from commit d9f02530840a28883fab792d8ecfd0c82daa4619)

9 years agoRevert "Remove region artifact from karaf distribution" 30/22630/2
Luis Gomez [Mon, 15 Jun 2015 17:52:39 +0000 (17:52 +0000)]
Revert "Remove region artifact from karaf distribution"

This reverts commit 7212b24a243d1aebe37238e0458842eed6616ce3.

Change-Id: Icb52875b6dfbf3557936c619cde2cd2d336c9cce
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoRefactor Docker README for clarity and formatting 59/22559/3
Daniel Farrell [Sun, 14 Jun 2015 17:13:12 +0000 (13:13 -0400)]
Refactor Docker README for clarity and formatting

Added examples of pulling the image from Docker Hub.

Extracted links to end of docs for readability.

Manually wrap lines for readability.

Change-Id: Ie823fed58d3ee99eabc3cdb9775a433be2ef8a47
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoRefactor batch of issues with Packer/Vagrant box 99/22499/2
Daniel Farrell [Thu, 11 Jun 2015 06:09:36 +0000 (02:09 -0400)]
Refactor batch of issues with Packer/Vagrant box

Use Packer variables to track ODL's version.

Don't require install of ODL Ansible role by user before
Packer build, let Packer manage it (everything should be
tracked in VCS).

Use new CentOS version system and various other minor bug
fixes.

Using a Kludge of ODL's version scheme to hack ODL's
broken versioning scheme into semantic versioning. Vagrant
requires versions of the form X.Y.Z, so we couldn't do
the (ideal) 0.2.3-1 (the last part is *-<package version>).
Since ODL isn't really using the its major version, just
rotating left for now.

Update docs to reflect all changes.

Change-Id: I618fb9b143144dd6019fc44cf9dd66a769df7419
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoModifications to deployer to install a dsbenchmark distribution 09/22509/2
Moiz Raja [Fri, 12 Jun 2015 21:14:32 +0000 (14:14 -0700)]
Modifications to deployer to install a dsbenchmark distribution

- Made a bunch of changes to deploy.py to just make it pep8 compatible
- Made some modifications so that if a template does not exist we
  return nothing. This allows us to put copy some of the templates
  only if they are available
- Added a new template for dsbenchmark tests

Change-Id: I9f3b274533c191d6e42b438dac75bb7830c3986a
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoUpdate the feature-repositories parameter in the openflow template 49/22549/1
Kamal Rameshan [Sat, 13 Jun 2015 22:19:03 +0000 (15:19 -0700)]
Update the feature-repositories parameter in the openflow template

Change-Id: I180b3b24755b351f43f9639ee8673ccccc7684b9
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoRemove region artifact from karaf distribution 43/22543/1
Luis Gomez [Sun, 14 Jun 2015 02:46:20 +0000 (19:46 -0700)]
Remove region artifact from karaf distribution

Change-Id: Ib5de32c7e92b6fb97769501a9513353559ae79e6
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
(cherry picked from commit 621656d231d746ae5eeb2937ef48b06c8cbc8514)

9 years agoThe start of some scripts to help debug performance issues 13/22313/3
Moiz Raja [Wed, 10 Jun 2015 21:25:35 +0000 (14:25 -0700)]
The start of some scripts to help debug performance issues

This may all be done in a better way but I'm hoping for this
to be a start

Change-Id: Ie73a1c708efca9f463e3cb85cc77ca0e70cac15e
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoreplacing the usage of private RequestsiLibrary to system one 50/22450/1
Peter Gubka [Fri, 12 Jun 2015 09:36:28 +0000 (11:36 +0200)]
replacing the usage of private RequestsiLibrary to system one

tity tool used to correctly format the file

Change-Id: I6968172c14beb8c144acd5f3b94f2ae1ea84acc1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoConfigure for minimum required features in deployer template. 18/22418/2
Phillip Shea [Thu, 11 Jun 2015 23:22:03 +0000 (16:22 -0700)]
Configure for minimum required features in deployer template.

odl-mdsal-clustering is installed by default in
Lithium, so it's no longer needed.

Change-Id: I4b8aeb212d0668f68d5b49f3bb9f5d283481a7fb
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoAdd Reservation to Integration 88/21888/6
Alexis de Talhouët [Thu, 4 Jun 2015 16:59:20 +0000 (12:59 -0400)]
Add Reservation to Integration

Patch Set 1: Index
Patch Set 2: Test

Change-Id: Id477199fa01242e43a57ad7b640ce5e462b0e4bc
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
9 years agoAdded testcase to fetch specific capwap wtp ipv4 address. 52/22152/2
Sajan Liyon [Tue, 9 Jun 2015 15:18:30 +0000 (20:48 +0530)]
Added testcase to fetch specific capwap wtp ipv4 address.

Change-Id: Id7758a7eb70b4db765fe900cfb23b4e2b4fcc6cb
Signed-off-by: Sajan Liyon <sliyon@brocade.com>
9 years agoAdd RPC data type test cases for lispflowmapping 25/22325/1
Lorand Jakab [Wed, 10 Jun 2015 19:32:57 +0000 (22:32 +0300)]
Add RPC data type test cases for lispflowmapping

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

9 years agoAdding a testplan file for running datastore tests in CI. 03/22303/5
Phillip Shea [Wed, 10 Jun 2015 18:13:57 +0000 (11:13 -0700)]
Adding a testplan file for running datastore tests in CI.

This testplan file  with be for the clustering datastore tests.
Also adding a cluster-deployer template with a large number of features
for use in exploratory testing. This template will not be used in CI.

Change-Id: Ib7117215492b34b2f37f70d362ac950754e8ef0e
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoskip clear-actions check element in flow compare 07/22307/3
Jamo Luhrsen [Wed, 10 Jun 2015 21:38:25 +0000 (14:38 -0700)]
skip clear-actions check element in flow compare

the newer flow test suites has some flows that does a clear-actions
but that does not show up in the switch, as it just clears out all
existing actions.  So that element will not show up in operational
so we can skip it.

Change-Id: Iced26004df2c40c88ead5c92fa777d7178723d16
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoChanging the way the mac addrs is extracted from OVS switches. 91/22291/11
Kailash Khalasi [Wed, 10 Jun 2015 17:45:43 +0000 (17:45 +0000)]
Changing the way the mac addrs is extracted from OVS switches.

Since the "s1" interface and "s1" is hard-coded, this is a safer approach.

On Fedora, I found that the mac addr wasnt being extracted(but worked for Ubuntu).

This command will work for both platforms, and others as it uses
regular expression.

Change-Id: I008b1a3681eabdace6fbe26346750fb3b1169f7d
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
9 years agoClustering datastore tests for Lithium. 22/21822/7
Phillip Shea [Wed, 3 Jun 2015 19:09:36 +0000 (12:09 -0700)]
Clustering datastore tests for Lithium.

Some datastore functionality has changed between Helium and Lithium. The crud and settings libraries
needed to be modified for changes in restconf for the cars shard. Also, an unneccessary sleep was removed
from the crud library. Because there's a difference in the installed features required for Hydrogen
and Lithium cluster testing, the multi-node-test clustering template was changed. Some other features to
help with troubleshooting were also added. Finally, the clustering template temp directory was added to
gitignore to simplify test development.

Change-Id: I8b704d57af64985d8d4be6d2454601371c0f55e8
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoOVSDB Southbound testsuites, Earlier vlan port command was missing 49/22249/2
Chaudhry Muhammad Usama [Wed, 10 Jun 2015 03:46:30 +0000 (20:46 -0700)]
OVSDB Southbound testsuites, Earlier vlan port command was missing

Change-Id: I8723acbea96407e91b93040c9aa8538726ea5ab8
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
9 years agonew scalability testplan for Li-designed openflowplugin 57/22257/2
Peter Gubka [Wed, 10 Jun 2015 07:46:43 +0000 (09:46 +0200)]
new scalability testplan for Li-designed openflowplugin

Change-Id: I1bf1fe1e0d26ddafaba315acf13b016f2699d8f4
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoFix lispflowmapping RPC CRUD tests 66/22266/1
Lorand Jakab [Tue, 9 Jun 2015 08:56:34 +0000 (11:56 +0300)]
Fix lispflowmapping RPC CRUD tests

Relative path names are causing the lispflowmapping RPC CRUD tests to
fail with the error message:

    IOError: [Errno 2] No such file or directory:
    u'/opt/variables/lispflowmapping/rpc_add-key_ipv4.json'

Adding the ${CURDIR} variable in front of the path should fix the issue.

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

9 years agoOVSDB Southbound TestSuites Updated 26/22126/4
Chaudhry Muhammad Usama [Mon, 8 Jun 2015 18:47:46 +0000 (11:47 -0700)]
OVSDB Southbound TestSuites Updated

Change-Id: I362d90491fbd531cb2d8cdc6165e3a93450a50af
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
9 years agoInstall ODL on Vagrant base box via Packer+Ansible 40/22240/2
Daniel Farrell [Tue, 9 Jun 2015 22:13:19 +0000 (18:13 -0400)]
Install ODL on Vagrant base box via Packer+Ansible

Use the ODL Ansible role to install OpenDaylight on
the ODL Vagrant base box via the ansible-local Packer
provisioner.

All documentation updates included.

Attempted to clean up the VM as much as possible, to
minimize the size of the resulting base box. I think
there are still optimizations to be made, but most of
the size is consumed by required things like ODL, Java,
Ansible (for ansible-local) and their dependences.

Change-Id: If11d2308036b44feb5bada86482b7e4413468735
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoInstall VBox Additions, fixes Vagrant sync'd dirs 46/22146/2
Daniel Farrell [Tue, 9 Jun 2015 03:02:02 +0000 (23:02 -0400)]
Install VBox Additions, fixes Vagrant sync'd dirs

Have Packer's shell provisioner call a script that
installs the packages required by VirtualBox Guest
Additions, install VBox GA, clean up to save space.

Packer now builds a totally functional Vagrant base
box based on the latest CentOS (7.1, or 1503). Need
to use the Ansible role to install OpenDaylight.

Change-Id: Idbbf105522e2f6c34d3bcb30aba2b46258ffa917
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoRefactor Packer README, use manually wrapped lines 45/22145/2
Daniel Farrell [Tue, 9 Jun 2015 02:44:29 +0000 (22:44 -0400)]
Refactor Packer README, use manually wrapped lines

As Vracko pointed out on the last review that touched
this README, using long lines and allowing an editor
to handle the wrapping doesn't work well in Gerrit.

Markdown will render both versions equivalently.

Change-Id: I1fee059b8066edc585aef7f166c6c3eaa1a21861
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoKill all the controllers first before deploying 35/22035/2
Moiz Raja [Fri, 5 Jun 2015 20:25:50 +0000 (13:25 -0700)]
Kill all the controllers first before deploying

This is to ensure that when deployment of a node is slow it does not
cause the new node to join an old cluster and to truly ensure a quick
start

Change-Id: I3ff3c8f483a2aa4ee7cc8d1ae5fcb83443dd396b
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoAdd RPC CRUD test cases for lispflowmapping 32/22132/2
Lorand Jakab [Mon, 8 Jun 2015 09:45:23 +0000 (12:45 +0300)]
Add RPC CRUD test cases for lispflowmapping

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

9 years agoTest plan for link scale test on lithium-redesign 38/22138/1
sandeepg [Tue, 9 Jun 2015 00:37:16 +0000 (17:37 -0700)]
Test plan for link scale test on lithium-redesign

Change-Id: Ic728df45f06e2df30fe27082622e3c0495fe0aa0
Signed-off-by: sandeepg <SANDEEP.GANGADHARAN@HP.COM>
9 years agotestplan for didm 24/22124/1
Pratima Doma [Mon, 8 Jun 2015 18:17:13 +0000 (11:17 -0700)]
testplan for didm

Change-Id: Idd5ca8243ca5b0dca86470bf8f5fd99aed9a8be2
Signed-off-by: Pratima Doma <pratima.doma@hp.com>
9 years agoAdded a library and test case for capwap project. 48/21748/5
Vaibhav Bhatnagar [Wed, 3 Jun 2015 19:37:39 +0000 (01:07 +0530)]
Added a library and test case for capwap project.

Change-Id: Ibd1e8cc7a1f6a5366e7aac2fac379851d537d4fd
Signed-off-by: Vaibhav Bhatnagar <vbhatnag@brocade.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFix issue with kill_controller not working in certain environments 05/22005/4
Moiz Raja [Fri, 5 Jun 2015 01:02:06 +0000 (18:02 -0700)]
Fix issue with kill_controller not working in certain environments

Move the kill functionality to a separate shell script which is
copied over to the destination system before invoking it

Change-Id: If9c01746263448e4dcb8920ebd962fe745275c8b
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoIncrementing versions by 0.1.0 for post-lithium master branch 12/22012/2
Luis Gomez [Sat, 6 Jun 2015 00:21:56 +0000 (17:21 -0700)]
Incrementing versions by 0.1.0 for post-lithium master branch

Change-Id: I1318fc8f2de6a66a6e166d159b16a05e16a62b2f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agodidm basic verification 26/21826/7
Pratima Doma [Wed, 3 Jun 2015 21:33:02 +0000 (14:33 -0700)]
didm basic verification

addressed: more information onto Documentation on to line 28
Change-Id: I63a2695015a5d2ce562ba27a8bdabed032efc1d4
Signed-off-by: Pratima Doma <pratima.doma@hp.com>
9 years agoAdd Packetcable to Integration 85/21885/3
Alexis de Talhouët [Thu, 4 Jun 2015 16:41:37 +0000 (12:41 -0400)]
Add Packetcable to Integration

Patch Set 1: Index
Patch Set 2: Test

Change-Id: I2cbcd87a4c63b41cd658c97009d524050661680d
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
9 years agoAdd Packer support for building Vagrant base boxes 21/21921/2
Daniel Farrell [Fri, 5 Jun 2015 05:28:37 +0000 (01:28 -0400)]
Add Packer support for building Vagrant base boxes

Now able to generate a valid base box that Vagrant
can log into. There's an issue with VBox Guest
Editions that's preventing shared dirs from mounting
properly, but `vagrant up` and `vagrant ssh` both
work.

Trello card tracking this TODO: https://goo.gl/J36ljc

Change-Id: I6bf0338a764256b3c9e378d3a1b17b801621deab
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoadding a statistic monitor script + minor changes 58/21858/4
Peter Gubka [Thu, 4 Jun 2015 09:18:15 +0000 (11:18 +0200)]
adding a statistic monitor script + minor changes

flow_add_delete_test.py - fixed output message

inventory_crawler.py - fix the problem when one instance of
  crawler runs more than once it did count nodes togenther

Change-Id: I3f59031349c18e1ed0e995e8a1d62c3a92512e2f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoUse full path to push custom mininet topo to VM 03/21903/1
Jamo Luhrsen [Thu, 4 Jun 2015 19:05:16 +0000 (12:05 -0700)]
Use full path to push custom mininet topo to VM

Change-Id: I7cd3dd46c688dbf717d60092a9c11c72453f7c5f
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
(cherry picked from commit f7b1f3a989ecbc23b4856a555444acfba218064e)

9 years agoUpdate ovsdb repository and create test plan 42/21842/2
Luis Gomez [Thu, 4 Jun 2015 03:19:59 +0000 (20:19 -0700)]
Update ovsdb repository and create test plan

Bridge Domain is very old AD-SAL API so we get it out

We also need a test plan for Chaudry's work

Change-Id: Id54a24f869035117d20089de22b93f1c9e7de4f3
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoDebug help for triaging missing links in CI 32/21832/3
Jamo Luhrsen [Wed, 3 Jun 2015 22:45:47 +0000 (15:45 -0700)]
Debug help for triaging missing links in CI

The lithium redesign tests are failing because it's not
seeing that a link has been removed (mininet: link s1 s2 down).
I cannot reproduce this locally, but it's happening every time
in CI.  I'm using same OVS/Mininet versions.  At a loss now, so
pushing some steps to maybe help debug.

I've also reduced a few WUKS in other suites from 30s to
6s which is more reasonable and allows us to fail sooner
as 3s should be good enough.  after 6s we can fail.

Change-Id: Ib1178efb2f49b1c8bd1619c60ea3df543203fe9c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoLISP: Remove Northbound tests 31/21731/2
Lorand Jakab [Wed, 3 Jun 2015 10:13:01 +0000 (13:13 +0300)]
LISP: Remove Northbound tests

The old AD-SAL based Northbound interface was deprecated in Lithium and
is currently broken, so remove it from the test suite.

Change-Id: Ib5b88c8f3999b2c932a3cd2de92a5c2bdab79d2e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoOpenflowPlugin link scalability test 59/20759/10
sandeepg [Tue, 19 May 2015 23:22:01 +0000 (16:22 -0700)]
OpenflowPlugin link scalability test

This test incrementally connects switches in fully mesh topology and checks if the controller is able to discover links between them.
Test exits(max switch scale value found) when there is an out of memory, null pointer exception or if expected links are unavailable in operational DB.

Change-Id: Iffed85112f89efc328a9bc8a095884e39aff6d30
Signed-off-by: sandeepg <SANDEEP.GANGADHARAN@HP.COM>
9 years agoRemove SNMP4SDN and clean up feature files 30/21830/1
Luis Gomez [Wed, 3 Jun 2015 22:27:46 +0000 (15:27 -0700)]
Remove SNMP4SDN and clean up feature files

Change-Id: I6a725fd928e6a40845e8be10dda2c7077c20a4f4
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoPacker config to build a CentOS 7 VBox image 12/21712/3
Daniel Farrell [Wed, 3 Jun 2015 04:04:27 +0000 (00:04 -0400)]
Packer config to build a CentOS 7 VBox image

This will eventually support building Vagrant base boxes.

https://trello.com/c/OoS1aKaN/150-packaging-create-odl-vagrant-base-box

Change-Id: If850c117555d128dc6347f2e2143a33bc285e759
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoCreated test plan for Southbound API 33/21633/3
Chaudhry Muhammad Usama [Tue, 2 Jun 2015 10:13:36 +0000 (03:13 -0700)]
Created test plan for Southbound API

Change-Id: I3f4883ca5867a3d2f60c944c442d78f965bcabc7
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
9 years agoAdd test cases for l2switch link down/up and port remove/add 09/21709/3
Luis Gomez [Wed, 3 Jun 2015 02:51:37 +0000 (19:51 -0700)]
Add test cases for l2switch link down/up and port remove/add

This will uncover these 2 bugs:

https://bugs.opendaylight.org/show_bug.cgi?id=3345
https://bugs.opendaylight.org/show_bug.cgi?id=3346

Finally reduce timeouts in case of failure

Change-Id: I7c086ea91bf09933425cedbe2bc54f8fcb636a83
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoTools fastbgp: Replace dummy play.py with working one 44/21244/6
Vratko Polak [Wed, 27 May 2015 18:58:04 +0000 (20:58 +0200)]
Tools fastbgp: Replace dummy play.py with working one

Minor changes in bgpuser suite to use new command-line argument names.
CinfigViaRestconf library tolerates more status codes on DELETE.
Command to kill the tool does not write enter after ctrl+c anymore.

Change-Id: I4d241cfae04b592a55852ddfb225024b7a1fc651
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoFix integration pulling in incorrect distribution.vtn-coordinator version 04/21704/1
Thanh Ha [Wed, 3 Jun 2015 00:11:20 +0000 (20:11 -0400)]
Fix integration pulling in incorrect distribution.vtn-coordinator version

Bug: 3550
Change-Id: I1899d59f8b104da214d72492884da198a2dac938
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(cherry picked from commit 56227a22dfefe3f4e22986ec413c083f8b3c0b0e)

9 years agoUsing WUKS for initial node disco to avoid timing issue 91/21691/1
Jamo Luhrsen [Tue, 2 Jun 2015 18:44:25 +0000 (11:44 -0700)]
Using WUKS for initial node disco to avoid timing issue

also trimmed other operational checks from 60s to 6s.  for
openflowplugin, the default stats polling time is 3s, so if
it's not there in double that (6s) I think we have a real
problem and can just fail the test case then.

Change-Id: Iad30a6e582e28b5c57837159218013296c394014
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoRobot Test Suites for Southbound API. 06/20906/9
Chaudhry Usama [Thu, 21 May 2015 16:00:53 +0000 (09:00 -0700)]
Robot Test Suites for Southbound API.

Change-Id: If9c9556ef820d743c4957820c03542949d7cc35b
Signed-off-by: Chaudhry Usama <chaudhryusama@gmail.com>
9 years agoAdd checking for flow ID in operational 65/21165/2
Luis Gomez [Wed, 27 May 2015 00:45:19 +0000 (17:45 -0700)]
Add checking for flow ID in operational

Change-Id: Ie96c9fe1422e64ee95fb31c30338d38de920182f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoIn addition to addressing the suggested changes, Added cat bond line to check if... 21/21021/5
mahesh.manivasagam [Sat, 23 May 2015 12:53:41 +0000 (18:23 +0530)]
In addition to addressing the suggested changes, Added cat bond line to check if the data has been copied correctly

Change-Id: If7e2960d57a9a2b8d4681858b5e005744ba3dd53
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agoSmall change for testing purposes 36/21236/1
Luis Gomez [Wed, 27 May 2015 17:22:43 +0000 (10:22 -0700)]
Small change for testing purposes

Change-Id: I191530bdc7c149a473024bc3e80e6056598233ff
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoIgnore tarballs in RPM building dir 16/21216/4
Daniel Farrell [Tue, 26 May 2015 17:37:40 +0000 (13:37 -0400)]
Ignore tarballs in RPM building dir

The build script downloads ODL's release tarball to
Vagrant's home directory, which is hard linked to
the user's local system as the git-tracked dir
with the RPM building Vagrantfile. Anyone that runs
the RPM-building script will benefit from this rule.

Change-Id: I60fa705938d947d8bf55fae8abba3f9e5f191a9d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoFix minor bug in RPM build script cache handling 15/21215/2
Daniel Farrell [Tue, 26 May 2015 17:34:25 +0000 (13:34 -0400)]
Fix minor bug in RPM build script cache handling

The release tarball wasn't being curl'd down to the
same location deemed to be the cache path, so it
wasn't used unless the user manually copied it to
the cache path.

Change-Id: Ic4154034d5b43429f3f330e0679c94d8c9ce8d0a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoRefactor cluster monitor README to markdown format 13/21013/2
Daniel Farrell [Fri, 22 May 2015 19:58:01 +0000 (15:58 -0400)]
Refactor cluster monitor README to markdown format

Post file extension change, actually format the README as MD.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoAdding new AAA idmlite Robot test suite (More tests will be implemented in this suite) 99/18499/5
Kailash Khalasi [Thu, 16 Apr 2015 23:57:25 +0000 (16:57 -0700)]
Adding new AAA idmlite Robot test suite (More tests will be implemented in this suite)

Change-Id: I007112a6ae63bee94eafd684a06dd1ee7bf52aa9
Signed-off-by: Kailash Khalasi <kailash.khalasi@hp.com>
9 years agoRename cluster monitor README to mkdown extension 12/21012/2
Daniel Farrell [Fri, 22 May 2015 19:46:27 +0000 (15:46 -0400)]
Rename cluster monitor README to mkdown extension

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoChanged the PROMPT to LINUX_PROMPT, Updated Library call of RequestsLibrary on both... 68/20368/4
mahesh.manivasagam [Thu, 14 May 2015 12:46:02 +0000 (18:16 +0530)]
Changed the PROMPT to LINUX_PROMPT, Updated Library call of RequestsLibrary on both the scripts,Added Execute command instead of Write/Read Until

Change-Id: I5dcedb3c720267e1a6001da7a1b37ef54d12520f
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agoTemporary test to see if we can run a script stored in integration repo 68/21168/2
Luis Gomez [Wed, 27 May 2015 04:15:12 +0000 (21:15 -0700)]
Temporary test to see if we can run a script stored in integration repo

Change-Id: I53f8aec424d9b615f1f53f206cbb3e77ecb4e376
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdded new testcases for FlowMeter,FlowGroupMetrics on both H2 and 86/20886/18
vasanthan_balasubram [Thu, 21 May 2015 11:51:21 +0000 (17:21 +0530)]
Added new testcases for FlowMeter,FlowGroupMetrics on both H2 and
HBase DataStore.
Modified TsdrUtils.txt to taken care of hbase server and stop

Change-Id: I65df5c8f7dcd2d0123a32cbb6f0563c3ca43304d
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoRound-robin load-balancing for flow_config_blaster 28/20928/1
Gary Wu [Thu, 21 May 2015 22:45:41 +0000 (15:45 -0700)]
Round-robin load-balancing for flow_config_blaster

Add round-robin load-balancing to flow_config_blaster.py.
The feature is enabled when a comma-separated list of
hosts is specified for the --host command line argument.

Change-Id: Ia4a63d55ad11643bfa0bd6e71c61926bf80de8b3
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agoTools: Dummy play.py file added 05/20905/1
Vratko Polak [Thu, 21 May 2015 14:56:04 +0000 (16:56 +0200)]
Tools: Dummy play.py file added

There are jobs running "bgpuser" suite, which
relies on play.py script already in suite setup,
so currently it skips all test cases.

The full-blown play.py has still several days to
become polished enough to warrant merge into repository;
this change adds a file that just prints a message and quits.

The suite would still mostly fail because of that,
but with this file in place, the suite would
at least test for presence of Bug 3182.

Change-Id: Iee27fecc82e9d701e36a061766c9976598ada990
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoFlip x and y axes in monitor.py on-screen table. 49/20849/2
Gary Wu [Wed, 20 May 2015 20:51:55 +0000 (13:51 -0700)]
Flip x and y axes in monitor.py on-screen table.

Flip the x and y axes in the on-screen table
shown by cluster monitor.py, so that nodes are
on the vertical axis while shards are across.

This is to make the output more readable when
there is a large number of nodes (e.g. > 10)
in the cluster vs. the typically small number
of shards.

Change-Id: If866d1409bf143391d7f020fa72a82d03be456df
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agoAdd basic test case for SFC, mainly Restconf Operations 81/19781/8
Johnson Li [Thu, 21 May 2015 05:08:13 +0000 (13:08 +0800)]
Add basic test case for SFC, mainly Restconf Operations

Add Some integration test cases for the Service Function
Chain Project. These cases mainly verify the Restconf
APIs works well or not.

Change Log:
Manually rebase, fix conflicts in Utils.txt
Add new Keywords to Utils.txt and use these words
Rename *.txt to *.robot and remove __init__.txt
Use Keywords from Library Utils.txt
Use Public RequestsLibrary to send requests
Add Test Cases for SFP and RSP

Signed-off-by: Johnson Li <johnson.li@intel.com>
9 years agoAdded and revised following TSDR testcase 88/20388/13
vasanthan_balasubram [Mon, 18 May 2015 17:38:53 +0000 (10:38 -0700)]
Added and revised following TSDR testcase
1.Interface Metrics (Revised)
2.Flow Metrics
3.Flow Table Metrics
4.Queue Metrics
Added the additional methods on Utils.txt

Change-Id: Id0bbf68d3a27208a571ea74dd1d99341ea6a229c
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoWe have to give example on how to use RequestsLibary 52/20852/3
Luis Gomez [Wed, 20 May 2015 21:54:59 +0000 (14:54 -0700)]
We have to give example on how to use RequestsLibary

Change-Id: I253ea4b4a1c6ea4fc908c6cbc477ad4fb8a5dc03
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoadding missing testplan for existing job 53/20853/1
Jamo Luhrsen [Wed, 20 May 2015 21:56:42 +0000 (14:56 -0700)]
adding missing testplan for existing job

Change-Id: Ib8d672dc2f70c5cb053f5d323d36e63010f4d089
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMoved LACP project to non-compatible feature list. 80/20780/1
Rajesh_Sindagi [Wed, 20 May 2015 08:45:51 +0000 (01:45 -0700)]
Moved LACP project to non-compatible feature list.

Change-Id: Iccb04b25c8d330de45607de44f2d93d10b18affc
Signed-off-by: Rajesh_Sindagi <Rajesh_Sindagi@dell.com>
9 years agoAdded testplan for capwap for ac functionality 33/19833/2
Vaibhav Bhatnagar [Fri, 8 May 2015 02:46:43 +0000 (08:16 +0530)]
Added testplan for capwap for ac functionality

Change-Id: I18cf0c5d851320442f8374a7182586ff34b733b1
Signed-off-by: Vaibhav Bhatnagar <vbhatnag@brocade.com>
9 years agofeatures for alto 83/20383/2
Emiapwil (Gao Kai) [Thu, 14 May 2015 13:57:04 +0000 (21:57 +0800)]
features for alto

Change-Id: I06081517e7546844e62851c3d1ee3fdd5b5fcd63
Signed-off-by: Emiapwil (Gao Kai) <gaok12@mails.tsinghua.edu.cn>
9 years agoBeta version of a longevity test 58/20758/2
Jamo Luhrsen [Tue, 19 May 2015 22:48:08 +0000 (15:48 -0700)]
Beta version of a longevity test

openflow specific

reuses smaller values and single iterations of the hosts and switch
scale tests

this is intended to help meet Lithium deliverables for the integration
group, however this is also a Linux Foundation summer intern project.
I hope this can be a building block for that project.

Change-Id: If84ed95106bbde84f50edbd4c45b189341935407
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoChange monitor to support flexible shard config. 61/20761/2
Gary Wu [Tue, 19 May 2015 23:32:45 +0000 (16:32 -0700)]
Change monitor to support flexible shard config.

Change cluster monitor.py to not require that all
nodes have the same shards.  This is useful for
monitoring large clusters that have small
replication factors.

Change-Id: I20d437b3b3bc21f65fdc0e496b6c1b38e23f95b5
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agotest suites which use more flows available in variables/xml 22/19622/8
Peter Gubka [Tue, 5 May 2015 13:22:51 +0000 (15:22 +0200)]
test suites which use more flows available in variables/xml

test suites are moved from tools part to csit and new testplan
is created for that suite

the plan is tests placed in openflowplugin/Flows_Additional_TCs
will be independent and several test plans can use different
tests

-more- refactoring to remove duplication

Change-Id: Ib62e02f4a8656fcf969521fcbadc084e8ef6825c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoChanged the name of the test plan file 66/20666/2
Sindhuri [Mon, 18 May 2015 17:38:53 +0000 (10:38 -0700)]
Changed the name of the test plan file

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
9 years agoModify VTN Coordiantor Robot Cases for Lithium 72/20372/2
gvrangan [Thu, 14 May 2015 18:41:30 +0000 (00:11 +0530)]
Modify VTN Coordiantor Robot Cases for Lithium

Change-Id: I9514de675c4f124ef044ed1e593277917a00f119
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoAdd bgpuser suite, refactor tcpmd5user suite 51/19651/9
Vratko Polak [Tue, 5 May 2015 18:06:56 +0000 (20:06 +0200)]
Add bgpuser suite, refactor tcpmd5user suite

Specification for bgpuser suite:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:Lithium_Feature_Tests#How_to_test_2

Jozef Behran has created the original suite,
Vratko Polak has made additional changes.

ConfigViaRestconf library (Resource) was updated with Put_* keywords,
suite uses them. It also supports reading templated data from files.
FailFast robot library/resource was added and used.
WaitForFailure Resource expands BuiltIn library.
KillPythonTool Resource for making sure processes are gone.

Switched all bgpcep suites to use the standard RequestsLibrary.
Changed Tcpmd5User suite to use PUT with correct URI.
Less urgent changes left as FIXMEs and TODOs.

Change-Id: I8793d5ffb311c2754dfeef5d04cb9b26f4babefa
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoFix W391 in tools/OF_Test/robot_suites/500__OF_Cluster_Sanity_OF 49/20649/1
Vratko Polak [Mon, 18 May 2015 13:50:16 +0000 (15:50 +0200)]
Fix W391 in tools/OF_Test/robot_suites/500__OF_Cluster_Sanity_OF

Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Change-Id: If9df79bf0ae1db0f6ce1ce8886f3e077b8f74206

9 years agobug fixing 48/20648/2
Peter Gubka [Mon, 18 May 2015 13:21:59 +0000 (15:21 +0200)]
bug fixing

before it's move to csit some revork will be needed

Change-Id: I6752a41894975199e15ce6a6a10ca4c33f27d6be
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoRenaming the LACP testplan as lacp-lacp.txt 52/20352/2
mahesh.manivasagam [Thu, 14 May 2015 09:49:36 +0000 (15:19 +0530)]
Renaming the LACP testplan as lacp-lacp.txt

Change-Id: I68c95ccb1f28babc1f8e119c7d470bc93d31e9a2
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agobasic stats collection scenario 67/20367/5
Peter Gubka [Thu, 14 May 2015 12:35:38 +0000 (14:35 +0200)]
basic stats collection scenario

it configures and deconfigure 16k flows, then again configure,
disconnect mininet, again connect and deconfigure flows. Between
each step the flows stats are checked

Change-Id: Id12994fd5695b788f21709cd4b2b8f2ec5c24951
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoChanged the file 010__vpn.robot and added testplan 49/20549/4
Sindhuri [Fri, 15 May 2015 17:51:16 +0000 (10:51 -0700)]
Changed the file 010__vpn.robot and added testplan

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

9 years agoTest Suite to configure vpnservice,verify and delete 87/20487/5
Sindhuri [Thu, 14 May 2015 12:30:34 +0000 (05:30 -0700)]
Test Suite to configure vpnservice,verify and delete

Change-Id: I9315186a50315217eba9d3e24b4240fd573ca53a
Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
9 years agorenamed the old testplan file 53/20553/2
SANDEEP GANGADHARAN [Fri, 22 Sep 1995 23:20:21 +0000 (16:20 -0700)]
renamed the old testplan file
Scale Test To Find Maximum Hosts
Added testplan for l2switch scale

Change-Id: Ib5bdc23d2e1023b44b0b8536efdd2a3e44b93cae

Signed-off-by: SANDEEP GANGADHARAN <SANDEEP.GANGADHARAN@HP.COM>
9 years agomove vpnservice back to compatible list 33/20333/3
Vishal Thapar [Thu, 14 May 2015 06:42:27 +0000 (12:12 +0530)]
move vpnservice back to compatible list

Reverts https://git.opendaylight.org/gerrit/#/c/18666/

Change-Id: Icaa87cccff77b027cf9f739950451fc9a2f5ae64
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
9 years agoTest for SingleFeature 92/20392/2
Luis Gomez [Thu, 14 May 2015 14:55:23 +0000 (07:55 -0700)]
Test for SingleFeature

Change-Id: I032cc9a49fabfdd74bf8d8a8f6f03ae346692afc
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdd WUKS to suite setup 65/20165/3
Jamo Luhrsen [Tue, 12 May 2015 19:03:14 +0000 (12:03 -0700)]
Add WUKS to suite setup

Change-Id: I266c4d47ed71fad72b7ef78e184d3321fedcb738
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFixing iotdm bugzilla 3214: 20/20320/1
Joseph Stewart [Thu, 14 May 2015 02:36:06 +0000 (22:36 -0400)]
Fixing iotdm bugzilla 3214:

https://bugs.opendaylight.org/show_bug.cgi?id=3214
"localhost" being used as server address should be ${CONTROLLER}

Change-Id: I446415de5ecfa60c882b961bfbdd71c3daf49f87
Signed-off-by: Joseph Stewart <josstewa@cisco.com>
9 years agoClarifying code and complying with standards. 35/20035/5
Joseph Stewart [Mon, 11 May 2015 16:15:16 +0000 (12:15 -0400)]
Clarifying code and complying with standards.

Make code compliant with PEP8 as per ODL check-in rules.
Commit IoTDM tests.
Move libraries from robot test area to "libraries".
Changed tabs to spaced in robot test cases.
Removed commented-out code.

Change-Id: I9b22e3a999d8cf27413ec9ebd6b0f053acbd8783
Signed-off-by: Joseph Stewart <josstewa@cisco.com>
9 years agoScale Test To Find Maximum Hosts 15/20215/1
SANDEEP GANGADHARAN [Fri, 22 Sep 1995 23:20:21 +0000 (16:20 -0700)]
Scale Test To Find Maximum Hosts
Added testplan for l2switch scale
Change-Id: Ib5bdc23d2e1023b44b0b8536efdd2a3e44b93cae

Signed-off-by: SANDEEP GANGADHARAN <SANDEEP.GANGADHARAN@HP.COM>
9 years agoAdd odl-dsbenchmark-impl feature to Integration distribution 29/19729/7
Vratko Polak [Wed, 6 May 2015 11:55:25 +0000 (13:55 +0200)]
Add odl-dsbenchmark-impl feature to Integration distribution

The coretutorials has not declared any feature to be user-facing,
but Dsbenchmark can be useful for users (to compare installations)
and it is very useful for CI: tracking DS performance.

As CI only uses builds from ${project}-distribution-${stream} jobs,
this change is needed for CI tests to happen.

Change-Id: If08d6893f0434d1eae2e47aed389f186588e9d30
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoUpdate the featureRepositories parameter in the multi-node-cluster template. 72/20172/3
Phillip Shea [Tue, 12 May 2015 20:10:38 +0000 (13:10 -0700)]
Update the featureRepositories parameter in the multi-node-cluster template.
This updates the parameter to match versions in current snapshots.
Without this change, controllers will not form a cluster when deployed
with the cluster deployer script.

Change-Id: Idb600d63a450abdb4589a3872c1d17bfacbc72b5
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoTest Plans seperation on TSDR H2 and HBase datastore 74/20074/2
vasanthan_balasubram [Tue, 12 May 2015 04:32:27 +0000 (10:02 +0530)]
Test Plans seperation on TSDR  H2 and HBase datastore

Change-Id: I8b66fe12aea57e3ffcc55d7576a98f826abed639
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoAutomation to track and catch bug 2429 65/20065/5
Jamo Luhrsen [Mon, 11 May 2015 23:19:33 +0000 (16:19 -0700)]
Automation to track and catch bug 2429

adding Bug_Validation folder to flow-services testplan

Change-Id: I33393ffae19d789f3a2cdd91fc4d51e46556d860
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFixing cleanup and setup 31/19931/2
Jesus Arechiga [Fri, 8 May 2015 17:55:42 +0000 (10:55 -0700)]
Fixing cleanup and setup

Change to switch initialization:
Making sure the interface is up after config by sending ifconfig up.
Otherwise If the interface had previously existed and brought down,
it never comes up and the  test case will fail.

Change to switch tear down:
Make sure to list down interfaces when deleting bridges, by using ifconfig -a modifier.
Otherwise if the interface is down (due to previous ifconfig down) the bridge is not deleted.

Also removing blank lines to pass tox test.

Change-Id: Ief23ca02d9f3bd0d14155642b517695ef23dcbe1
Signed-off-by: Jesus Arechiga <jesus.arechiga@gmail.com>
9 years agoTcpmd5user suite: Use pcc-mock in reconnecting mode 48/19648/3
Vratko Polak [Tue, 5 May 2015 17:25:26 +0000 (19:25 +0200)]
Tcpmd5user suite: Use pcc-mock in reconnecting mode

The initial specification for TCPMD5 user-facing feature
system tests states that pcc-mock should be used in reconnecting mode.

Pcc-mock already supports --reconnect command line argument,
and some of the previous failures can be attributed to the fact
that this argument was not used in initial check-in of tcpmd5user suite.

This change makes pcc-mock reconnecting in 1 second intervals.

Also, test for not seeing prompt is more narrow now.

Change-Id: I07c36d111908aa0f70a3741f11e897d310aaf59c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agotestplan file for Li-Redesign daily switch scale test 38/20038/1
Jamo Luhrsen [Mon, 11 May 2015 17:01:26 +0000 (10:01 -0700)]
testplan file for Li-Redesign daily switch scale test

Change-Id: I2b201f28dddc8103916a186dbae6483541394bc9
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agochanges for parsing the new output format 77/19577/2
Peter Gubka [Tue, 5 May 2015 08:35:58 +0000 (10:35 +0200)]
changes for parsing the new output format

these changes were triggered by https://git.opendaylight.org/gerrit/#/c/19494/

Change-Id: Iec3e1fb6775021c3b7cfa1b4a1a8bffbbaafb1eb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoAdding priority to flow mods in TTL suite 44/19944/3
Jamo Luhrsen [Fri, 8 May 2015 18:53:38 +0000 (11:53 -0700)]
Adding priority to flow mods in TTL suite

-  the reason for this patch is seen in the Flows_OF13/305__ttl.robot
suite.  BUT...

-  using the boyscout rule I've also tried to leave the campsite
a little bit cleaner by removing unneeded lines and using the global
${OPERATIONAL_NODES_API} variable

Change-Id: I66d84f91beba7e8889796dcc2b4a6a0e61f9634c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoRemoving unused suites in AD_SAL_Apps_* folders 68/19868/3
Jamo Luhrsen [Thu, 7 May 2015 22:35:50 +0000 (15:35 -0700)]
Removing unused suites in AD_SAL_Apps_* folders

Change-Id: I22c7fd735a00148879a44f221cc37d3ff7f37c2f
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoAdd tools to isolate controllers. 62/19862/7
Phillip Shea [Thu, 7 May 2015 22:02:06 +0000 (15:02 -0700)]
Add tools to isolate controllers.
Change-Id: I367c2a00a32d7a84d6468ee590322bc7512a4d15
Signed-off-by: Phillip Shea <phillip.shea@hp.com>