integration/packaging/puppet-opendaylight.git
7 years agoFix CI 34/55634/1
srisankethu [Tue, 22 Nov 2016 10:55:49 +0000 (16:25 +0530)]
Fix CI

Closes https://github.com/dfarrell07/puppet-opendaylight/issues/109

Change-Id: Ic4e22ba08892f73c3f33feae0262eabec769dace
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRakefile: Add Travis-Lint check 33/55633/1
srisankethu [Sat, 19 Nov 2016 19:34:43 +0000 (01:04 +0530)]
Rakefile: Add Travis-Lint check

Closes https://github.com/dfarrell07/puppet-opendaylight/issues/85

Change-Id: I6fb5f817538bea3c0e1947d7b9443ba99054979b
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdds security group mode configuration 32/55632/1
Tim Rozet [Mon, 14 Nov 2016 20:07:06 +0000 (15:07 -0500)]
Adds security group mode configuration

Security grouop mode defaults to stateful in Boron release. Red Hat
based systems less than 7.3 release are unable to use stateful.  This
patch detects those OS types and fallsback to 'learn' mode.  The mode is
also configurable as a new param to the opendaylight class.

Change-Id: I45ac251a99194bce63a80e8c0b4777ab4001d2a3
Signed-off-by: Tim Rozet <tdrozet@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInstall ODL from latest Boron testing repo 31/55631/1
Daniel Farrell [Mon, 8 Aug 2016 19:19:47 +0000 (15:19 -0400)]
Install ODL from latest Boron testing repo

Change-Id: I7dc85d7d9b609581feb17d8d4bbfaf6e09b3057c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInstall ODL from latest Beryllium SR repo 30/55630/1
Daniel Farrell [Mon, 8 Aug 2016 18:45:57 +0000 (14:45 -0400)]
Install ODL from latest Beryllium SR repo

Change-Id: I49143f0bafec52ce3e1e5cf3ee0f580002133812
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd param to config RPM repo to install ODL from 29/55629/1
Daniel Farrell [Fri, 3 Jun 2016 01:09:00 +0000 (21:09 -0400)]
Add param to config RPM repo to install ODL from

Param allows user to change which version of ODL installed without
changes to puppet-opendaylight. Even better than limiting to a specific
version, the new rpm_repo param allows the user to select a the latest
RPM from a major release or SR, or a fixed and official release.

This patch includes the feature changes, rspec-puppet test changes,
Beaker test changes, in-code docs and README docs.

Change-Id: Ie01dafd485318d98410a2847e53ebd819a5cf7c3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate to ODL Beryllium SR2 4.2.0 28/55628/1
Daniel Farrell [Wed, 1 Jun 2016 20:39:37 +0000 (16:39 -0400)]
Update to ODL Beryllium SR2 4.2.0

Change-Id: I66ef11587435b729cd7b62863a907f1c44346781
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Fedora 23 Beaker tests 27/55627/1
Daniel Farrell [Wed, 1 Jun 2016 20:09:55 +0000 (16:09 -0400)]
Add Fedora 23 Beaker tests

Change-Id: If392ff743482f4ad02cc8816ce261d5e3796aec1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse official Fedora 22 base box for Beaker tests 26/55626/1
Daniel Farrell [Wed, 1 Jun 2016 20:08:07 +0000 (16:08 -0400)]
Use official Fedora 22 base box for Beaker tests

Change-Id: I5a02d23e9799363ff96e7af7cea606bfab0a0f6e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix false idempotence failure in Beaker tests 25/55625/1
Daniel Farrell [Wed, 1 Jun 2016 20:02:34 +0000 (16:02 -0400)]
Fix false idempotence failure in Beaker tests

Change-Id: I3d3d197ee0c786c094ef388d6f5aa168ba370f34
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded condition to exec 24/55624/1
Amar Krishna [Mon, 16 May 2016 06:23:16 +0000 (11:53 +0530)]
Added condition to exec

Added condition to exec for clustering , so that it should not run continuously.

Change-Id: I0c9c8ee595cbedcad9ba874b28699124825d51b2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoODL puppet was running continously causing it odl services to restart continously 23/55623/1
root [Thu, 12 May 2016 06:57:24 +0000 (12:27 +0530)]
ODL puppet was running continously causing it odl services to restart continously

Change-Id: I11c6bdb28d321f854ab290cc58db37b9313d84ef
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse official CentOS base box for Beaker tests 22/55622/1
Daniel Farrell [Wed, 1 Jun 2016 20:00:08 +0000 (16:00 -0400)]
Use official CentOS base box for Beaker tests

Change-Id: I8a2b9d1eae92ab005d206de82ae2c8bac40f4416
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium SR1 21/55621/1
Daniel Farrell [Wed, 23 Mar 2016 21:05:42 +0000 (17:05 -0400)]
Update ODL to Beryllium SR1

Change-Id: I4a228f63a0a1d7e1286d1ef739310159c0db665e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBump version for ODL IP bind param 20/55620/1
Daniel Farrell [Sat, 12 Mar 2016 00:00:01 +0000 (19:00 -0500)]
Bump version for ODL IP bind param

Change-Id: Ice1d699c1c0052643fe20af1d488451b5b6c4d60
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate metadata and contrb docs for current tag 19/55619/1
Daniel Farrell [Fri, 11 Mar 2016 23:54:38 +0000 (18:54 -0500)]
Update metadata and contrb docs for current tag

Change-Id: I93d13b0d2e4f0aaf8cc797c5955a4f9083c3ab0f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoadding some docs for L3 and HA 18/55618/1
Dan Radez [Tue, 8 Mar 2016 18:27:00 +0000 (13:27 -0500)]
adding some docs for L3 and HA

Change-Id: I287099e0d1affaf85aaec7a622bbd4dc7c2be557
Signed-off-by: Dan Radez <dradez@redhat.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix style checks broken by pull #99 17/55617/1
Daniel Farrell [Tue, 8 Mar 2016 18:23:36 +0000 (13:23 -0500)]
Fix style checks broken by pull #99

Change-Id: Ic233916d24bc88aaddc180d477e7d2a71517174c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFixes binding ODL to specific IP 16/55616/1
Tim Rozet [Sat, 5 Mar 2016 15:30:43 +0000 (10:30 -0500)]
Fixes binding ODL to specific IP

Change-Id: If30be706f18ad8d36270d8f23cf733cc85b3c7a1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFixes content of jolokia.xml file 15/55615/1
Tim Rozet [Fri, 4 Mar 2016 21:57:22 +0000 (16:57 -0500)]
Fixes content of jolokia.xml file

File was being created as empty, using source to populate file as it is
compatible with eariler versions of puppet

Change-Id: I6399f679226120ddc36b3014147083699006befd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFixes ODL HA cluster config 14/55614/1
Tim Rozet [Fri, 4 Mar 2016 04:59:02 +0000 (23:59 -0500)]
Fixes ODL HA cluster config

Issue where bash commands inside of the cluster_config script need
proper pathing

Change-Id: I831b498c607275c72925c9da00887cde1af070aa
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agothe property is disabled, not disable :( 13/55613/1
Dan Radez [Thu, 3 Mar 2016 00:42:52 +0000 (19:42 -0500)]
the property is disabled, not disable :(

Change-Id: Ifbf98246d9d7692fc835b8e39f94c26d91aeb31b
Signed-off-by: Dan Radez <dradez@redhat.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix indentation error causing style checks to fail 12/55612/1
Daniel Farrell [Wed, 2 Mar 2016 19:13:33 +0000 (14:13 -0500)]
Fix indentation error causing style checks to fail

Change-Id: I8c03ac8623e3db4b6ee631df0b8f196a0fa87733
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdds ODL HA support 11/55611/1
Tim Rozet [Mon, 29 Feb 2016 21:30:01 +0000 (16:30 -0500)]
Adds ODL HA support

Change-Id: I86e30f85606d3bac4b1e9bc6cc38628be03061f2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoadding ovsdb.l3.arp.responder.disable=no for L3 deployments 10/55610/1
Dan Radez [Mon, 29 Feb 2016 19:06:12 +0000 (14:06 -0500)]
adding ovsdb.l3.arp.responder.disable=no for L3 deployments

Change-Id: Ie2864229c50824a03eab378b20cf630d36c7c0bf
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium official release 09/55609/1
Daniel Farrell [Fri, 19 Feb 2016 20:21:49 +0000 (15:21 -0500)]
Update ODL to Beryllium official release

Uses the 40-release repo to pin to ODL Be official, vs 4-testing, which
will always serve the latest Be build.

Change-Id: Ic102d9e4c7be86c76110bc1808bc3165617960ce
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix dates in CHANGELOG 08/55608/1
Daniel Farrell [Fri, 19 Feb 2016 20:15:35 +0000 (15:15 -0500)]
Fix dates in CHANGELOG

I had failed to update the dates for some releases in the CHANGELOG
file. Corrected them to git tag dates.

Change-Id: I0c7fd0cead0ff95cfc6fec39d4c4f0a77817b62b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC3.1 07/55607/1
Daniel Farrell [Tue, 16 Feb 2016 17:13:22 +0000 (12:13 -0500)]
Update ODL to Beryllium ERP RC3.1

Change-Id: I496e4003792705b4cbbd827fc9e57ff7857e409c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC3 06/55606/1
Daniel Farrell [Mon, 15 Feb 2016 17:05:55 +0000 (12:05 -0500)]
Update ODL to Beryllium ERP RC3

Change-Id: I81beec0d87f0b6d6fb8e0beda53e76f6608ab15c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC2.3 05/55605/1
Daniel Farrell [Fri, 12 Feb 2016 18:43:22 +0000 (13:43 -0500)]
Update ODL to Beryllium ERP RC2.3

Change-Id: I31fb5796a09a5382bee6489f0720a6d8f0bcd44b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC2.2 04/55604/1
Daniel Farrell [Thu, 11 Feb 2016 21:17:50 +0000 (16:17 -0500)]
Update ODL to Beryllium ERP RC2.2

Change-Id: Ice03b3d7593308587cecc034efced803d0ec4614
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove 14.04 Beaker tests from acpt rake task 03/55603/1
Daniel Farrell [Thu, 11 Feb 2016 21:14:07 +0000 (16:14 -0500)]
Remove 14.04 Beaker tests from acpt rake task

Remove the Ubuntu 14.04 Docker-based Beaker tests from the rake task
called "acceptance". This is more for clarity than because anything
changed. Ubuntu support is not-well-supported, and tarball-based
installs are less-than-ideal and (hopefully) soon to be replaced by .deb
installs (once ODL Int/Pack has a .deb). We wouldn't call a release of
puppet-opendaylight "failing" if it was failing the Ubuntu Beaker tests,
so we shouldn't include them in this rake task.

Change-Id: I9ab722bd8f58a941cfe2f4fcc19413074a59b346
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC2.1 02/55602/1
Daniel Farrell [Tue, 9 Feb 2016 23:42:14 +0000 (18:42 -0500)]
Update ODL to Beryllium ERP RC2.1

Change-Id: I11d6555b8c755bced8a628bb338ce1dec58f3224
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Fedora 23 Docker-based Beaker tests 01/55601/1
Daniel Farrell [Tue, 9 Feb 2016 03:04:03 +0000 (22:04 -0500)]
Add Fedora 23 Docker-based Beaker tests

Currently failing due to find missing on fedora:23 container.

Change-Id: I4197d267ce8e67b1f7b15b46b8f15dea4b4217d7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBump Puppet mod version for Forge upload 00/55600/1
Daniel Farrell [Tue, 9 Feb 2016 00:54:19 +0000 (19:54 -0500)]
Bump Puppet mod version for Forge upload

Change-Id: I8f9a3a20581334f60d66db7255efeeaeaa1b4a7b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd 3.2.2 notes to CHANGELOG 99/55599/1
Daniel Farrell [Tue, 9 Feb 2016 00:49:33 +0000 (19:49 -0500)]
Add 3.2.2 notes to CHANGELOG

Change-Id: I4ddcaf44c9bac334f1b1b8a211aecd1363b29fe0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate mod version and pup version in metadata 98/55598/1
Daniel Farrell [Tue, 9 Feb 2016 00:42:09 +0000 (19:42 -0500)]
Update mod version and pup version in metadata

Bump the version of puppet-opendaylight to 3.2.2 in metadata.json.

Update required Puppet version to reflect currently passing Travis
test versions.

Change-Id: I3ee30de292ecec6a582274ab538fa50e136a0470
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRun Travis rspec tests against Puppet 4.3 97/55597/1
Daniel Farrell [Tue, 9 Feb 2016 00:37:00 +0000 (19:37 -0500)]
Run Travis rspec tests against Puppet 4.3

Change-Id: Ic465dcf1ad1ffd0a73498b715cbc9037c14a5e04
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC2 96/55596/1
Daniel Farrell [Fri, 5 Feb 2016 17:41:49 +0000 (12:41 -0500)]
Update ODL to Beryllium ERP RC2

Change-Id: I7135e65409684c52b7aa17c35d5940e8fa21c215
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP 4.0.0-1.201602020032 95/55595/1
Daniel Farrell [Thu, 4 Feb 2016 05:46:51 +0000 (00:46 -0500)]
Update ODL to Beryllium ERP 4.0.0-1.201602020032

Change-Id: Id40b88ac066e5729fcf259104b46015d2a2a5bd7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMove from template to file_line for Karaf features 94/55594/1
Daniel Farrell [Thu, 4 Feb 2016 02:32:23 +0000 (21:32 -0500)]
Move from template to file_line for Karaf features

We were configuring the set of Karaf features to install at start (set
via featuresBoot) using a template. This template in particular
frequently exposed the major problem with templates - they override new
upstream content and need a manual update each time it changes. This
implementation uses file_line to do a sed-like replace on the
featuresBoot list, without impacting the rest of the file (the Karaf
feature repos via featuresRepositories most importantly, as it changed
every ODL version bump).

New rspec-puppet tests were added for the file_line step, and the
original file tests were updated. The Beaker tests haven't changed and
are still passing, which is desired/expected since we want the same
functional output from the two implementations.

Change-Id: I2e4fffc02989c7f790128e2b69f3c055bd32492c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd start of line to log level config check regex 93/55593/1
Daniel Farrell [Tue, 2 Feb 2016 20:32:49 +0000 (15:32 -0500)]
Add start of line to log level config check regex

When checking custom log level config, verify that the config starts the
line, and therefore that it's not commented out.

Change-Id: I00acfdb3ce432d8d855e202a026b7085315c6bb5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate enable_l3 param to also accept booleans 92/55592/1
Daniel Farrell [Tue, 2 Feb 2016 20:29:23 +0000 (15:29 -0500)]
Update enable_l3 param to also accept booleans

The enable_l3 param used to simply pass the recieved value
to the template for output, so they had to be the string
'yes' or 'no', as expected by ODL. The template now has
logic for accepting true or 'yes' and writing 'yes' or
false or 'no' and writing 'no.

The rspec-puppet tests, Beaker tests and docs are also updated.

Relevant to #87

Change-Id: I3443f4d3ee6f5a28e4590002636d0333aee954be
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd basic cfg file checks to Beaker generic tests 91/55591/1
Daniel Farrell [Tue, 2 Feb 2016 18:07:24 +0000 (13:07 -0500)]
Add basic cfg file checks to Beaker generic tests

Do basic file validations for all config files in generic test Beaker
helper function, which is run against most situations.

More detailed config file validations are handled by other helper
functions and called from dedicated test logic.

Change-Id: I43010740473dafd25f689183744f72e798862561
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd port tests to supported OS rspec-puppet tests 90/55590/1
Daniel Farrell [Tue, 2 Feb 2016 17:51:13 +0000 (12:51 -0500)]
Add port tests to supported OS rspec-puppet tests

Run specialized NB port tests with default values to main set of
tests run against all supported OSs.

The specialized NB tests are run with varied params against a fixed
OS (CentOS 7) elsewhere.

Change-Id: I0a70b69769274b52e40be5aa3371022805b8946f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd docs for ODL OVSDB enable/disable L3 param 89/55589/1
Daniel Farrell [Tue, 2 Feb 2016 17:28:14 +0000 (12:28 -0500)]
Add docs for ODL OVSDB enable/disable L3 param

Adds docs for enable_l3 param.

Relevant to #87.

Change-Id: I11570dca605910de5e74846db6e6d80f22d80e98
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Beaker tests for enable_l3 param 88/55588/1
Daniel Farrell [Tue, 2 Feb 2016 16:56:54 +0000 (11:56 -0500)]
Add Beaker tests for enable_l3 param

Adds normal set of Beaker tests for ODL OVDSB L3 enable/disable param.

Relevant to #87

Change-Id: Ie54487a51b4130116d2514fc54ae895ccb4bec57
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet tests for enable_l3 flag 87/55587/1
Daniel Farrell [Tue, 2 Feb 2016 16:13:24 +0000 (11:13 -0500)]
Add rspec-puppet tests for enable_l3 flag

Adds normal set of rspec-puppet tests for flag that enables ("yes") or
disables ("no") ODL OVSDB L3.

Relevant to #87

Change-Id: I75f4b8fd58c3dfc95988e52d2609ffb257100b66
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd docs for log level param 86/55586/1
Daniel Farrell [Tue, 2 Feb 2016 04:32:27 +0000 (23:32 -0500)]
Add docs for log level param

Adds README docs for new logger verbosity param.

Relevant to #42

Change-Id: Ic7353c2396452c6b30332dc103b10cdd4adf3474
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Beaker tests for log level param 85/55585/1
Daniel Farrell [Tue, 2 Feb 2016 04:24:58 +0000 (23:24 -0500)]
Add Beaker tests for log level param

Adds normal Baker tests for new logger verbosity param.

Relevant to #42

Change-Id: Id0e2767a5ec2c83f1c932efe72b5fd4afb24cbd7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate vagrant-odl box list in README 84/55584/1
Daniel Farrell [Tue, 2 Feb 2016 03:38:09 +0000 (22:38 -0500)]
Update vagrant-odl box list in README

Change-Id: Id9c5fc3043a657f6dc4b46516345ac49a6c2d9dc
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet tests for log level param 83/55583/1
Daniel Farrell [Tue, 2 Feb 2016 03:04:36 +0000 (22:04 -0500)]
Add rspec-puppet tests for log level param

Adds normal set of rspec-puppet tests for new logger verbosity param.

Change-Id: I4471a5d0002f1aed60bf5274e4e93773c7726e71
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate OS distro/version support 82/55582/1
Daniel Farrell [Tue, 2 Feb 2016 00:30:41 +0000 (19:30 -0500)]
Update OS distro/version support

Fedora 20 and 21 are EOL now, so supported Fedora versions are 22 and
23. We're also only trying to support Ubuntu at 14.04 for now.

Change-Id: I47d6c590d1bbaad3fe67c5cd571de395fdb80f61
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd CentOS 7 Vagrant box config'd for testing 81/55581/1
Daniel Farrell [Mon, 1 Feb 2016 23:11:47 +0000 (18:11 -0500)]
Add CentOS 7 Vagrant box config'd for testing

Box has everything required for syntax, rspec and Beaker tests.

Change-Id: Ieef5f31a57ebaac6f6836d6bfe6b34a5fda3ae7a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd param to configure ODL logger levels 80/55580/1
Daniel Farrell [Mon, 1 Feb 2016 21:56:02 +0000 (16:56 -0500)]
Add param to configure ODL logger levels

Allows custom logging verbosity configuration.

For example, the param

log_levels => { 'org.opendaylight.ovsdb' => 'TRACE' }

would cause the template to add this custom logger config

log4j.logger.org.opendaylight.ovsdb = TRACE

which would show via the Karaf shell as

opendaylight-user@root>log:list
Logger                     | Level
----------------------------------
ROOT                       | INFO
org.opendaylight.ovsdb     | TRACE

Provides most of #42, need Beaker tests and docs.

Change-Id: Id3af7fdf93bad8df1c8cadd3029d038083a3d357
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP RC1 79/55579/1
Daniel Farrell [Mon, 1 Feb 2016 18:56:01 +0000 (13:56 -0500)]
Update ODL to Beryllium ERP RC1

Change-Id: If9a00a348979d0363ed73cb7f909a973464f0d61
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL to Beryllium ERP 201601200134 78/55578/1
Daniel Farrell [Fri, 22 Jan 2016 17:58:07 +0000 (12:58 -0500)]
Update ODL to Beryllium ERP 201601200134

Update RPM install repo to Beryllium testing, which currently pulls down
Beryllium Experimental Release Preview 201601200134.

Change-Id: Ie04e795d2d02cd8552e9907998c7913a214ce31b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate templates and tarball URL for Li SR3 77/55577/1
Daniel Farrell [Thu, 14 Jan 2016 02:41:28 +0000 (21:41 -0500)]
Update templates and tarball URL for Li SR3

SR3 replaced SR2 as the latest Li RPM on the CBS, so the 3-candidate
repo config started pulling 3.3 and using 3.2 templates. This is a quick
fix, but the desired longer-term solution is to add a param to the ODL
Puppet module to allow for release selection.

CentOS 7 Docker Beaker tests are passing.

Change-Id: Ib001850a783ee6de071d8a8bb1962dca4898a958
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove old Ubuntu 15.04 Beaker node description 76/55576/1
Daniel Farrell [Fri, 4 Dec 2015 22:47:01 +0000 (17:47 -0500)]
Remove old Ubuntu 15.04 Beaker node description

Puppet isn't supported for Ubuntu > 14.04

Change-Id: I59dd4a51771a62dcd22c8b4ac38c0fa78e544bf2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Docker-based Beaker tests for Ubuntu 75/55575/1
Daniel Farrell [Fri, 4 Dec 2015 22:45:05 +0000 (17:45 -0500)]
Add Docker-based Beaker tests for Ubuntu

Add Beaker system tests for Ubuntu 14.04 using Docker.

Note that the ODL Upstart service doesn't currently start, which causes
test failures. This is tracked by #88.

Change-Id: If3f080d04d4180908c260594ed2c745ddc669d15
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd install reqs to contributing docs 74/55574/1
Daniel Farrell [Fri, 4 Dec 2015 22:42:31 +0000 (17:42 -0500)]
Add install reqs to contributing docs

Add system-level dependencies required for `bundle install`,
specifically the nokogiri gem compile.

Change-Id: Id3e56286fb3f170139d97f9f2638e3dd88628d3d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Vagrant env for Docker-based Baker tests 73/55573/1
Daniel Farrell [Fri, 4 Dec 2015 22:39:55 +0000 (17:39 -0500)]
Add Vagrant env for Docker-based Baker tests

Add a Vagrantfile to describe a Fedora 23 environment with the
configuration required by Baker for Docker-based acceptance tests.

`bundle exec rake test` and `bundle exec rake centos_7_docker` should
work on a freshly-provisioned box.

Change-Id: Iffd7cde9b81c773c8ff0b05727158451b34c206a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Docker-based CentOS 7 Beaker tests 72/55572/1
Daniel Farrell [Mon, 30 Nov 2015 21:01:43 +0000 (16:01 -0500)]
Add Docker-based CentOS 7 Beaker tests

Uses Docker instead of Vagrant as the Beaker provider.

This should make it possible to run Beaker tests on VMs, like in ODL's
CI system. It also works around long-standing instabilities with Vagrant
and Beaker

Change-Id: Ieed91687a0b0fa826070d5590f708b4e8de7f89e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't fail for unreleased Fedora, only EOL 71/55571/1
Daniel Farrell [Mon, 30 Nov 2015 19:19:41 +0000 (14:19 -0500)]
Don't fail for unreleased Fedora, only EOL

When checking if the version of Fedora is supported, only fail for known
EOL versions. Don't fail for unreleased or very new versions, to allow
for hopeful-compatibility and any actual bugs to be exposed.

Change-Id: I7d5b814ea9b3e1f1f3ce999993887e0d6c58a191
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL version 3.0.0 -> 3.2.0 70/55570/1
Daniel Farrell [Thu, 26 Nov 2015 00:17:45 +0000 (19:17 -0500)]
Update ODL version 3.0.0 -> 3.2.0

Updating from Lithium to the latest Lithium SR (SR2).

Change-Id: Ic9818754e52d5f05cd0ea1a939718907f951fb81
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd support for enabling ODL OVSDB L3 69/55569/1
Daniel Farrell [Wed, 25 Nov 2015 02:09:19 +0000 (21:09 -0500)]
Add support for enabling ODL OVSDB L3

Add template and param path to enable the configuration of the ODL OVSDB
project's custom ovsdb.l3.fwd.enabled flag.

Default value: 'no'
To enable: 'yes'

Change-Id: I47a1f404d860dc5ad0c8cb68f59f4d3b66d6ef23
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd bundle update step to dep install docs 68/55568/1
Daniel Farrell [Tue, 3 Nov 2015 00:11:43 +0000 (19:11 -0500)]
Add bundle update step to dep install docs

New versions will not be discovered by bundle install, need bundle
update.

Change-Id: I70de0dc4f23fe07cfaf9eefe76767e47b10445d3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDelay ODL startup and disable console 67/55567/1
Stanislaw Kardach [Thu, 1 Oct 2015 09:33:03 +0000 (11:33 +0200)]
Delay ODL startup and disable console

Delay ODL startup until networking service is up, otherwise if all
interfaces on the box come up with DHCP and there is no local
definition of FQDN (as in `/etc/hosts`), ODL fails to startup.

Secondly disable the server console when starting up, otherwise it will
hijack the startup tty.

Change-Id: I2e973d4207f95e1ef823c269aaa82b3b1fe5b71d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFilter ODL jobs based on user and process name 66/55566/1
Stanislaw Kardach [Wed, 30 Sep 2015 15:10:49 +0000 (17:10 +0200)]
Filter ODL jobs based on user and process name

On my Ubuntu 14.04 based system the previous script was causing
multiple instances of ODL to spawn due to the fact that PID tracking
was searching for `karaf` process, whereas the the karaf process
spawned a `java` instance. Hence Upstart tracked a wrong PID and
assumed that ODL job is always stopped. That also caused inability to
stop the service, because PID was incorrect, so upstart was sending
SIGTERM to a wrong process.
With this change, upstart searches for a `java` process belonging to
user `odl` in order to determine the PID.

Change-Id: I651fad52dde92289bfc374e73c84b1bbedb15b7c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor rename of gem group for clarity 65/55565/1
Daniel Farrell [Tue, 15 Sep 2015 20:33:44 +0000 (16:33 -0400)]
Minor rename of gem group for clarity

Change-Id: Ia0b07cefaa65083edf75b77feb066ee0745444c0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Travis tests for Puppet 4 and Ruby 2.2 64/55564/1
Daniel Farrell [Tue, 15 Sep 2015 20:31:50 +0000 (16:31 -0400)]
Add Travis tests for Puppet 4 and Ruby 2.2

Closes #83, closes #84

Change-Id: I4199732986ba2e55d97ade45609498fab0cd7dff
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfix for Puppet 4.x in var name 63/55563/1
Daniel Farrell [Tue, 15 Sep 2015 20:23:15 +0000 (16:23 -0400)]
Bugfix for Puppet 4.x in var name

Puppet 4.x seems to be more strict wrt var names.

This simply makes `7` the string `"7"`, then Puppet 4 seems happy with
the module overall.

Change-Id: I83345959a9ddce5217b675d5ea4bdf09efef99a0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor fix in module test dependency install docs 62/55562/1
Daniel Farrell [Tue, 15 Sep 2015 18:10:06 +0000 (14:10 -0400)]
Minor fix in module test dependency install docs

Change-Id: I4e63625b69fafdbdfccbdd77702f59bb4be27409
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL RPM repo name for CBS 61/55561/1
Daniel Farrell [Wed, 12 Aug 2015 19:46:26 +0000 (15:46 -0400)]
Update ODL RPM repo name for CBS

Since moving to the CentOS Community Build System for RPM building and
hosting, ODL now has a different repo name (based on Koji tags). Only
the `-candidate-` repo is currently used upstream, so of course we're
using that here.

Change-Id: Ib52b8ca930935ba25dc3db07a3534676175609d4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate port 8080 remap for Lithium 60/55560/1
Daniel Farrell [Wed, 12 Aug 2015 19:16:54 +0000 (15:16 -0400)]
Update port 8080 remap for Lithium

Lithium changed how ODL opens port 8080, so the config needed to be
updated to match.

This is needed to support running ODL with other apps that rely on 8080.

Ideally, we'll eventually support remapping 8181 as well.

Relevant to #82

Change-Id: Ic92da2cb923bafb71873eecaf5101e9d7d654810
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Ubuntu Vagrant boxes used by Beaker 59/55559/1
Daniel Farrell [Sat, 8 Aug 2015 00:36:08 +0000 (20:36 -0400)]
Update Ubuntu Vagrant boxes used by Beaker

Use (seemingly better) boxcutter Ubuntu 14.04 box.

Add Ubuntu 15.04 box. Note that the 15.04 Beaker tests are
currently failing (see #63).

Update Rake tasks accordingly.

Change-Id: I629101fed1560f92a5d00859472214e1adac9c6e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Vagrant boxes used by Beaker 58/55558/1
Daniel Farrell [Fri, 7 Aug 2015 23:29:40 +0000 (19:29 -0400)]
Update Vagrant boxes used by Beaker

Upgrade CentOS box to one that tracks the latest version (15.05 atm).

Use boxcutter boxes for all Vagrantfiles. Seem higher quality.

Add a Fedora 22 box.

Note that Beaker 2.18.3 (current version) is incompatible with F20+,
so those tests are currently failing. See #63

Change-Id: Ie95dc489da6a9b964839f40475fb13eaf699c6c5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate README for Helium SR3 -> Lithium upgrade 57/55557/1
Daniel Farrell [Fri, 7 Aug 2015 21:24:31 +0000 (17:24 -0400)]
Update README for Helium SR3 -> Lithium upgrade

Change-Id: I74de6a67a00ca47a36b51187703b09f72ba9990f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate refrences to ODL's NB port 8080->8282 56/55556/1
Daniel Farrell [Fri, 7 Aug 2015 20:49:50 +0000 (16:49 -0400)]
Update refrences to ODL's NB port 8080->8282

Change-Id: I1d276c732de33564d74067a71b09d4fe9f18d648
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Karaf and Tomcat templates from 2.3 to 3.0 55/55555/1
Daniel Farrell [Fri, 7 Aug 2015 20:38:53 +0000 (16:38 -0400)]
Update Karaf and Tomcat templates from 2.3 to 3.0

The template files we use to configure things like Karaf features
and ODL's NB REST port changed between Helium SR3 and Lithium.

Note that this changes ODL's default REST port to 8282!

Change-Id: Iebc87840c559a1ce3529068fd66b2ad90415247d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoChange RPM repo from Copr 2.3 to CentOS CBS 3.0 54/55554/1
Daniel Farrell [Fri, 7 Aug 2015 17:42:33 +0000 (13:42 -0400)]
Change RPM repo from Copr 2.3 to CentOS CBS 3.0

This both upgrades the version of OpenDaylight that's provided
by the RPM-based install method and changes the repo from which
we serve ODL's RPM.

OpenDaylight Lithium 3.0.0 is now installed via the RPM.

OpenDaylight's RPM is now built and hosted on the CentOS Community
Build System. The CentOS Network Function Virtualization Special
Interest Group (NFV SIG) and the upstream ODL Integration team
made that happen.

Change-Id: I6e269e23d815ac2fef2f2c60fe41ba8d031e2873
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoManually wrap contributing docs for readability 53/55553/1
Daniel Farrell [Mon, 27 Jul 2015 22:21:11 +0000 (18:21 -0400)]
Manually wrap contributing docs for readability

Change-Id: Idfed3fcd49229030657ac572a1be8192f53f901a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoManually wrap README lines for readability 52/55552/1
Daniel Farrell [Mon, 27 Jul 2015 22:13:57 +0000 (18:13 -0400)]
Manually wrap README lines for readability

Change-Id: Ib3b635b55e7003d9c212f3b4a07e7dae89f817a8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfix for Fedora 21 in OS support case statement 51/55551/1
Daniel Farrell [Sat, 25 Jul 2015 20:24:03 +0000 (16:24 -0400)]
Bugfix for Fedora 21 in OS support case statement

On at least one Fedora 21 system (the pakdep toolbox at v0.1.0),
the OS support case statement fails when the cases aren't strings.

Verified that this doesn't break the Beaker CentOS tests.

Change-Id: I736afdf151ad18f8aabf1425e94ab87cf3849a69
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfixes and clarifications in Beaker docs 50/55550/1
Daniel Farrell [Wed, 22 Jul 2015 18:32:20 +0000 (14:32 -0400)]
Bugfixes and clarifications in Beaker docs

The `bundle exec rake beaker` example was broken because `RS_SET`
is required.

The `RS_SET` isn't really meant to be user-visible, instead use
the pre-defined rake tasks.

Change-Id: I14fcbd0cc54cbb8c4e56d05a2c45957fa1dbfd3a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDocument dependency installs for test tools 49/55549/1
Daniel Farrell [Wed, 22 Jul 2015 05:26:14 +0000 (01:26 -0400)]
Document dependency installs for test tools

Change-Id: I1c7a4151ebbd73c00af6049803740db96ffeba4a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor clarification in install inline docs 48/55548/1
Daniel Farrell [Fri, 1 May 2015 15:52:54 +0000 (11:52 -0400)]
Minor clarification in install inline docs

There are subtle naming things that I'm correcting
with this. The proper module name, per the Forge's
best practices and defined in metatdata.json, is
`dfarrell07-opendaylight` (format `<user>-*`).

Change-Id: Idfdb8095d63795c87e532bc5a716be29694397d0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove symlink, copy file it pointed to, Forge req 47/55547/1
Daniel Farrell [Sun, 26 Apr 2015 22:15:44 +0000 (18:15 -0400)]
Remove symlink, copy file it pointed to, Forge req

The Puppet Forge doesn't allow symlinks, apparently.

Change-Id: I593ab5bb469cbd093bbd1e9281670e6c70e3cfda
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRelease initial stable version (1.0.0) 46/55546/1
Daniel Farrell [Sun, 26 Apr 2015 22:00:03 +0000 (18:00 -0400)]
Release initial stable version (1.0.0)

Change-Id: Ib39c346b2323ed6a87e3416f4840fb294b364aa6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoExtract links in contrib to references for clarity 45/55545/1
Daniel Farrell [Sun, 26 Apr 2015 20:43:11 +0000 (16:43 -0400)]
Extract links in contrib to references for clarity

Change-Id: I5e4381e3f010cebf4e2e46f5cc2e41ddb437d5bd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoLink to ODL Helium SR3 dls page in README 44/55544/1
Daniel Farrell [Sun, 26 Apr 2015 19:57:59 +0000 (15:57 -0400)]
Link to ODL Helium SR3 dls page in README

Change-Id: Iff85079a9a88a16f192b2f34ce1dae542d9d539f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoClarify README badge titles/helptexts 43/55543/1
Daniel Farrell [Sun, 26 Apr 2015 19:49:56 +0000 (15:49 -0400)]
Clarify README badge titles/helptexts

Change-Id: If49ce117eb95d3b4253b40c60677a362366dc228
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoExtract links in README to references for clarity 42/55542/1
Daniel Farrell [Sun, 26 Apr 2015 19:48:34 +0000 (15:48 -0400)]
Extract links in README to references for clarity

Goal is to make it easier to read the MD in plain text.

Change-Id: I32069bcfd00ee432e395a2d7aa39a83b1918cd88
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoExtract links from badges to link references 41/55541/1
Daniel Farrell [Sun, 26 Apr 2015 19:37:20 +0000 (15:37 -0400)]
Extract links from badges to link references

* This may not render correctly in GitHub MD, testing

Change-Id: I1ac45d93ef4a6b27863cc2d37d5a7140d72ba74b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd RSpec CLI options config file 40/55540/1
Daniel Farrell [Sun, 26 Apr 2015 18:38:15 +0000 (14:38 -0400)]
Add RSpec CLI options config file

* Old version needed s/---/--/ it turns out
* Added --tty option to get colors in pager

Change-Id: I68a31af788bee30d71346304c92b8b6aa0883b98
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd building/connecting vagrant-odl docs in README 39/55539/1
Daniel Farrell [Sat, 25 Apr 2015 23:54:00 +0000 (19:54 -0400)]
Add building/connecting vagrant-odl docs in README

Change-Id: I3df879d2b76de177ae01752e9522ef1d4725722f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove unused rspec options file 38/55538/1
Daniel Farrell [Sat, 25 Apr 2015 03:37:01 +0000 (23:37 -0400)]
Remove unused rspec options file

* The options it included were the default behavior
* It added clutter without value

Change-Id: I77eb202364e744a68b0896fd2e0e36608ea53efb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse JSON format in its default write-out style 37/55537/1
Daniel Farrell [Sat, 25 Apr 2015 03:28:49 +0000 (23:28 -0400)]
Use JSON format in its default write-out style

* The automated rake:metadata tasks write in this style

Change-Id: Ia36193d5996f330347955ed989b24d0aaf0d27a7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactored generally (assorted, small) final audit 36/55536/1
Daniel Farrell [Fri, 24 Apr 2015 23:32:01 +0000 (19:32 -0400)]
Refactored generally (assorted, small) final audit

Result of a final audit of the code before release is cut.

Closes #78

Change-Id: Ib2897cd9ac6cd18b33be18af59477f0b28346399
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactor the README in general, assorted ways 35/55535/1
Daniel Farrell [Fri, 24 Apr 2015 21:52:38 +0000 (17:52 -0400)]
Refactor the README in general, assorted ways

Relevant to: #77

Change-Id: Ice824458c7ab85e0227f74f2e4acbc71ec4c5d61
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>