integration/packaging.git
8 years agoMerge "Move RPM directory out of old packaging dir"
Jamo Luhrsen [Fri, 28 Aug 2015 05:21:18 +0000 (05:21 +0000)]
Merge "Move RPM directory out of old packaging dir"

8 years agoMerge "Move Packer directory out of old packaging dir"
Jamo Luhrsen [Fri, 28 Aug 2015 05:08:19 +0000 (05:08 +0000)]
Merge "Move Packer directory out of old packaging dir"

8 years agoMove RPM directory out of old packaging dir 31/26131/1
Daniel Farrell [Fri, 28 Aug 2015 01:16:12 +0000 (21:16 -0400)]
Move RPM directory out of old packaging dir

The packaging dir is a legacy from the split, now that we're namespaced
into a different repo we can bump the RPM dir up one level.

Change-Id: I00d071019e03a92ff75fcea76a1edbcf9df1cd71
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoMove Packer directory out of old packaging dir 30/26130/1
Daniel Farrell [Fri, 28 Aug 2015 01:13:37 +0000 (21:13 -0400)]
Move Packer directory out of old packaging dir

The packaging dir is a legacy from the split, now that we're namespaced
into a different repo we can bump the Packer dir up one level.

Change-Id: I324123f310df4c60b99b01ad77301bd9cdda13c0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoMove Docker directory out of old packaging dir 29/26129/1
Daniel Farrell [Fri, 28 Aug 2015 01:07:50 +0000 (21:07 -0400)]
Move Docker directory out of old packaging dir

The packaging dir is a legacy from the split, now that we're namespaced
into a different repo we can bump the Docker dir up one level.

Change-Id: I5981352ad80aa86fb30f313ebf82448283fe6b93
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoAdd .gitreview for integration/packaging 25/26125/1
Andrew Grimberg [Thu, 27 Aug 2015 23:54:20 +0000 (16:54 -0700)]
Add .gitreview for integration/packaging

Add a .gitreview file for the integration/packaging project after the
split from the base integration

Change-Id: If48b2ded7cf70783776b87107a8be457f52ce035
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoUpdated docker image to lithium added centos version.
Marcus G K Williams [Fri, 7 Aug 2015 14:59:44 +0000 (07:59 -0700)]
Updated docker image to lithium added centos version.

Each version has Lithium 0.3.0 and has been placed into sub-folders.

Change-Id: I148bacb68f26a6fbbaff6c7cfe4015a0ec3d65e3
Signed-off-by: Marcus G K Williams <marcus.g.williams@gmail.com>
(cherry picked from commit 67c79760503385744cc9665d5989aeb5b8c12790)

8 years agoAdd Li Docker image, update Vagrant base box to Li
Daniel Farrell [Thu, 2 Jul 2015 18:38:25 +0000 (14:38 -0400)]
Add Li Docker image, update Vagrant base box to Li

Builds/configures ODL Docker images via the same pipeline used by
Packer when creating Vagrant base boxes.

Upgrades the Vagrant base box to Lithium, mostly for free via updates
to the Ansible role.

Starts with a recent, fresh CentOS 7 image, does low-level provisioning
via Kickstart, then Packer scripts, then ODL's Ansible role, which uses
ODL's CBS RPM. The result is post-processed into a Vagrant box and a
Docker image.

I did a bit of a docs update, but I need to revisit Packer's docs in
general and do more.

Change-Id: I123e416573ab079c9350998c4f4deed8d02f7568
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoAdd example RPM repo configs and associated docs
Daniel Farrell [Tue, 11 Aug 2015 17:58:50 +0000 (13:58 -0400)]
Add example RPM repo configs and associated docs

See the docs for more details.

Change-Id: Ia496d2266f84de9c34da30502b31124a45fe9fa8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoOverride RPM disttag to el7 for CBS best practices
Daniel Farrell [Tue, 4 Aug 2015 20:11:24 +0000 (16:11 -0400)]
Override RPM disttag to el7 for CBS best practices

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

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

Change-Id: I1f6b2725b2d4cfb193d577710a83ed1c1a9b0478
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoImplement smarter RPM-building artifact caching
Daniel Farrell [Fri, 24 Jul 2015 16:51:21 +0000 (12:51 -0400)]
Implement smarter RPM-building artifact caching

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

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

Change-Id: I3f83035ca0d81caf3193923a3216856a4e620070
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoInclude required disttag in RPM release version
Daniel Farrell [Fri, 17 Jul 2015 17:12:51 +0000 (13:12 -0400)]
Include required disttag in RPM release version

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

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

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

Also generally refactor RPM building helper scripts and docs.

Change-Id: I0420e823bbdc30ca060fe6693e919f38f57d1a2a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoRefactor Docker README for clarity and formatting
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>
8 years agoRefactor batch of issues with Packer/Vagrant box
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>
8 years agoInstall ODL on Vagrant base box via Packer+Ansible
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>
8 years agoInstall VBox Additions, fixes Vagrant sync'd dirs
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>
8 years agoRefactor Packer README, use manually wrapped lines
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>
8 years agoAdd Packer support for building Vagrant base boxes
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 agoPacker config to build a CentOS 7 VBox image
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 agoIgnore tarballs in RPM building dir
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
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 agoMerge "Force RPM to use Java 1.7, not newer versions"
Daniel Farrell [Thu, 23 Apr 2015 16:01:25 +0000 (16:01 +0000)]
Merge "Force RPM to use Java 1.7, not newer versions"

9 years agoDelete useless rm options in Dockerfile
Cédric Ollivier [Thu, 23 Apr 2015 10:36:12 +0000 (12:36 +0200)]
Delete useless rm options in Dockerfile

This patch deletes force and recursive options which are not required
to remove an existent file.

Change-Id: Ie8d6781437b33aef6bd832c89edc48a28ea1ffc9
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
9 years agoForce RPM to use Java 1.7, not newer versions
Daniel Farrell [Fri, 17 Apr 2015 00:18:20 +0000 (20:18 -0400)]
Force RPM to use Java 1.7, not newer versions

* CentOS now installs 1.8 by default, which breaks ODL
* Bumps RPM version to 0.2.3-2

Change-Id: If9bce5f5eb4a4d5cbfdf7e981a379ffdcb3acc89
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Update Dockerfile and Docker README for SR3"
Luis Gomez [Tue, 24 Mar 2015 00:59:39 +0000 (00:59 +0000)]
Merge "Update Dockerfile and Docker README for SR3"

9 years agoUpdate Dockerfile and Docker README for SR3
Daniel Farrell [Mon, 23 Mar 2015 22:51:18 +0000 (18:51 -0400)]
Update Dockerfile and Docker README for SR3

Change-Id: Iee7e93208af16f96a6a8010338697cccf95b9b04
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoUpdate ODL RPM spec, docs, helper scripts to SR3
Daniel Farrell [Mon, 23 Mar 2015 22:22:31 +0000 (18:22 -0400)]
Update ODL RPM spec, docs, helper scripts to SR3

* Also added an uninstall.sh helper script
* Generally cleaned up the README

Change-Id: I9b765640b800b68c33099c6832fb052cfc876ecd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Adding tox files to .gitignore"
Luis Gomez [Wed, 18 Mar 2015 05:43:42 +0000 (05:43 +0000)]
Merge "Adding tox files to .gitignore"

9 years agoAdding tox files to .gitignore
Luis Gomez [Wed, 18 Mar 2015 00:02:40 +0000 (17:02 -0700)]
Adding tox files to .gitignore

Change-Id: I3f34be7c94435a17e0842d784a8fa692a14ce97f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdd very basic Vagrantfile for RPM-building env
Daniel Farrell [Mon, 16 Mar 2015 03:35:58 +0000 (23:35 -0400)]
Add very basic Vagrantfile for RPM-building env

* Standard F20 box, but known-to-work with helper scripts
* Add .gitignore with rule for RPMs (built in Vagrantbox)

Change-Id: I1c14fb89207f7613efb0fbd2856cbbab1af62c07
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoSmall batch of ODL RPM updates, version to 0.2.2-4
Daniel Farrell [Mon, 16 Mar 2015 03:24:02 +0000 (23:24 -0400)]
Small batch of ODL RPM updates, version to 0.2.2-4

* Bugfix in URL to download ODL systemd .service file
* Don't include ODL version in ODL dir name
* Don't override ODL dir mode, explicitly set unitfile owner:group
* Generic related updates to RPM helper scripts

Change-Id: I3f59793311874f30031a3fda7c24f03498b946a9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoUpdate ODL RPM to Helium SR2
Daniel Farrell [Mon, 2 Feb 2015 18:49:37 +0000 (13:49 -0500)]
Update ODL RPM to Helium SR2

- Makes current RPM version 0.2.2-1
- Includes 0.2.1-6 update, which fixed a home dir-related bug

Change-Id: Id022190a5689a93e4650e6b69010819530bec988
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMove to new Karaf-based RPM
Daniel Farrell [Tue, 27 Jan 2015 19:38:58 +0000 (14:38 -0500)]
Move to new Karaf-based RPM

- Removed everything related to Hydrogen RPM
- Added ODL Karaf RPM .spec file, helper scripts, docs

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Set JAVA_HOME before launching karaf inside containers"
Daniel Farrell [Tue, 24 Feb 2015 15:18:27 +0000 (15:18 +0000)]
Merge "Set JAVA_HOME before launching karaf inside containers"

9 years agoSet JAVA_HOME before launching karaf inside containers
Cédric Ollivier [Mon, 23 Feb 2015 10:42:23 +0000 (11:42 +0100)]
Set JAVA_HOME before launching karaf inside containers

This patch sets JAVA_HOME to delete the related warning "results may vary" when
karaf starts.

Change-Id: I2c29fd331076b4d4b0473c9c254c8d1c1af19ffb
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
9 years agoChanged Dockerfile to use Helium SR2
Babis Kaidos [Mon, 2 Feb 2015 14:14:57 +0000 (16:14 +0200)]
Changed Dockerfile to use Helium SR2

Change-Id: I3feb0cd806b5ca3d0ae89e5448ab1041684fd6fe
Signed-off-by: Babis Kaidos <ckaidos@intracom-telecom.com>
9 years agoChanged Dockerfile to use 0.2.1-Helium-SR1 instead of 0.2.0-Helium
Charalampos Kaidos [Wed, 3 Dec 2014 18:06:11 +0000 (20:06 +0200)]
Changed Dockerfile to use 0.2.1-Helium-SR1 instead of 0.2.0-Helium

Change-Id: I129b97908f239a5ced78bab23ad4365f8d20736a
Signed-off-by: Charalampos Kaidos <ckaidos@intracom-telecom.com>
9 years agoUpdated Helium Dockerfile to reduce size of image.
Daniel Farrell [Thu, 30 Oct 2014 17:43:31 +0000 (13:43 -0400)]
Updated Helium Dockerfile to reduce size of image.

- Squash a few steps to reduce image size by 229MB.
- Functionality of image is unchanged.
- Slightly better docs in Dockerfile.

Change-Id: I22706b2699d5610a56c091a0f9bf2b88c27a7316
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Updated Docker packaging for Helium."
Christopher O'Shea [Tue, 28 Oct 2014 19:24:36 +0000 (19:24 +0000)]
Merge "Updated Docker packaging for Helium."

9 years agoUpdated Docker packaging for Helium.
Daniel Farrell [Sat, 18 Oct 2014 01:32:25 +0000 (21:32 -0400)]
Updated Docker packaging for Helium.

- Removed old base/vert/service provider builds
- Created Helium Dockerfile
- Updated README

Change-Id: I5cd60ab5955295d4d31e9ba1cd4f21434ad4e509
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoInitial Commit of ODL OpenStack Integration release/helium
Dave Tucker [Thu, 24 Jul 2014 14:03:34 +0000 (15:03 +0100)]
Initial Commit of ODL OpenStack Integration

- Add Vagrantfile for Devstack VMs
- Add Puppet manifests for provisioning the VMs

Change-Id: I099dd25feb2bdeafee6ef360b346cbe10ab9ac00
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
9 years agoMerge "Switch to new ofplugin"
Luis Gomez [Tue, 8 Jul 2014 00:10:29 +0000 (00:10 +0000)]
Merge "Switch to new ofplugin"

9 years agoSwitch to new ofplugin
Ed Warnicke [Tue, 10 Jun 2014 01:28:25 +0000 (20:28 -0500)]
Switch to new ofplugin

Default is now the new ofplugin
-of13 still works and uses the new ofplugin
-of10 now uses the legacy plugin

Because of the change, bumped version from
0.1.2-SNAPSHOT to 0.2.0-SNAPSHOT

Change-Id: I610de4b8a31bbc926ea6a27029ed1961bab21c9d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Update buildrpm to include latest project changes."
Sam Hague [Wed, 14 May 2014 00:25:58 +0000 (00:25 +0000)]
Merge "Update buildrpm to include latest project changes."

10 years agoMerge "Add rpmbuild utility scripts."
Sam Hague [Wed, 14 May 2014 00:25:15 +0000 (00:25 +0000)]
Merge "Add rpmbuild utility scripts."

10 years agoUpdate buildrpm to include latest project changes.
Sam Hague [Wed, 14 May 2014 00:19:49 +0000 (20:19 -0400)]
Update buildrpm to include latest project changes.

This commit adds post-hydrogen changes for bgpcep and
lispflowmapping projects.

Also add changes to buildrpm.sh to build from a specific
branch.

Change-Id: Icba5360be510a94bb59a480bbcafe0e9dbf54f27
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd rpmbuild utility scripts.
Sam Hague [Wed, 14 May 2014 00:16:58 +0000 (20:16 -0400)]
Add rpmbuild utility scripts.

Three scripts are added to help when working with RPMs:
- setbuildrpm.sh: Used to setup an environment to build RPMs.
- odlrepo.sh: Used to setup a local repo with the built RPMs.
- checkint: Used to validate the RPMs against the integration builds.

All the scripts have "-?" text to show the options and usage.

Change-Id: I512d815242463160e8420d23dcf2b2f621c3dfd1
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoSet default edition for rpm installs to be the Base edition.
Sam Hague [Thu, 13 Feb 2014 21:32:12 +0000 (16:32 -0500)]
Set default edition for rpm installs to be the Base edition.

Change-Id: I695d944b247dd566e838aa6b37c95989ded3b6fd
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd pom versioning to rpm builds.
Sam Hague [Thu, 13 Feb 2014 03:09:57 +0000 (22:09 -0500)]
Add pom versioning to rpm builds.

- buildrpm.sh will use the version in the pom.xml for each project to
create the version in the spec.
- finished up the bgpcep.spec now that the project builds a distribution.zip.
- added bgpcep to the opendaylight.spec.
- fixed a minor typo in the controller.spec changelog.

Change-Id: I489d47c1b3a700fffae0f373d4f3ff6f4c250a93
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Update POM files after release - fixing topology version"
Luis Gomez [Wed, 12 Feb 2014 05:11:24 +0000 (05:11 +0000)]
Merge "Update POM files after release - fixing topology version"

10 years agoUpdate POM files after release - fixing topology version
Sam Hague [Mon, 10 Feb 2014 20:20:49 +0000 (15:20 -0500)]
Update POM files after release - fixing topology version

Change-Id: Ic358d3e697a7d4fec96ac22008ec5f54d0d56dd3
Signed-off-by: Luis Gomez <luis.gomez@ericsson.com>
10 years agoAdd release tagged support to buildrpm.
Sam Hague [Mon, 10 Feb 2014 20:20:49 +0000 (15:20 -0500)]
Add release tagged support to buildrpm.

Change-Id: Ica969962fbf309fedc2149e94840354325cfeb2b
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd snmp4sdn, affinity, yangtools and bgpcep to buildrpm.sh.
Sam Hague [Mon, 10 Feb 2014 04:39:59 +0000 (23:39 -0500)]
Add snmp4sdn, affinity, yangtools and bgpcep to buildrpm.sh.

Change-Id: I8b0fc6c9e8c5b2c7219cffa77d50ccbc0ed27174
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoUpdates to include higher resource limits.
Miroslav Miklus [Mon, 27 Jan 2014 10:10:13 +0000 (11:10 +0100)]
Updates to include higher resource limits.

The default limits may affect deamon use in production environment.
Fix introduce higer limit for max. number of processes (threads) 1024 -> 20480
and higher limit for max. opened file descriptors 1024 -> 30720.

Change-Id: I8b11e7f8bbd498fd9572e4f746c27e1d804a066e
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
10 years agoMerge "change opendove.spec to use libevent_devel instead of libevent2_devel"
Sam Hague [Sun, 9 Feb 2014 21:14:10 +0000 (21:14 +0000)]
Merge "change opendove.spec to use libevent_devel instead of libevent2_devel"

10 years agochange opendove.spec to use libevent_devel instead of libevent2_devel
Sam Hague [Sun, 9 Feb 2014 21:11:59 +0000 (16:11 -0500)]
change opendove.spec to use libevent_devel instead of libevent2_devel

- Also fixed some rm calls to be rm -f in case the files do not exist.
- Also fixed soem changelog versions.

Change-Id: I0437f6c800ee804403a33db3d0668ee756e2ce4d
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Add bgpcep to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:30:21 +0000 (19:30 +0000)]
Merge "Add bgpcep to rpm packaging."

10 years agoMerge "Add yangtools to rpm packaging. Also remove test artifacts from some packages."
Sam Hague [Sun, 9 Feb 2014 19:29:45 +0000 (19:29 +0000)]
Merge "Add yangtools to rpm packaging. Also remove test artifacts from some packages."

10 years agoMerge "Add affinity to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:29:29 +0000 (19:29 +0000)]
Merge "Add affinity to rpm packaging."

10 years agoMerge "Add snmp4sdn to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:28:58 +0000 (19:28 +0000)]
Merge "Add snmp4sdn to rpm packaging."

10 years agoAdd bgpcep to rpm packaging.
Sam Hague [Sun, 9 Feb 2014 04:47:16 +0000 (23:47 -0500)]
Add bgpcep to rpm packaging.

This is just a placeholder for bgpcep. The spec file is mostly complete, but
there is an issue in that bgpcep does not keep the artifacts within the build
directory and only pushes them to the maven repo. Thus, the artifacts cannot
be properly packaged. Committing the file so when that issue is fixed the
packaging will be ready.

Change-Id: If87952b94865d783c9b0717524f7a04a78b0628c
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd yangtools to rpm packaging. Also remove test artifacts from some packages.
Sam Hague [Sun, 9 Feb 2014 04:41:53 +0000 (23:41 -0500)]
Add yangtools to rpm packaging. Also remove test artifacts from some packages.

- Added yangtools.spec to make the yangtools.rpm.
- Modified controller.spec to not package the yangtools. There is still an issue
with the yangtools.thirdparty.(antlr4|extend-lib-osgi) jars still being pulled in
by the controller project. Need to have them moved to the yangtools package.
- Modified opendaylight.spec to include the new yangtools rpm.
- Removed test artifacts from openflowjava and openflowplugin rpms.

Change-Id: I9535bc0b18e68d3a5a8f7940312ce2ebc730e2ba
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd affinity to rpm packaging.
Sam Hague [Sat, 8 Feb 2014 23:56:21 +0000 (18:56 -0500)]
Add affinity to rpm packaging.

Change-Id: Ie643e4ba09605f0c10fb54be38ca5aaac52355c5
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd snmp4sdn to rpm packaging.
Sam Hague [Sat, 8 Feb 2014 22:48:25 +0000 (17:48 -0500)]
Add snmp4sdn to rpm packaging.

Change-Id: If4acf1da1fcdc486713a54b24a755fd6ad80da31
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoTemporary fix to remove OpenDove from RPM builds until libevent2-devel dependency...
Sam Hague [Sun, 2 Feb 2014 05:13:15 +0000 (00:13 -0500)]
Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved.

Change-Id: I3afbc5c83e8ec4002e0863c2599831ff0720386f
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Temporary fix to remove OpenDove from RPM builds until libevent2-devel depende...
Sam Hague [Sun, 2 Feb 2014 04:54:58 +0000 (04:54 +0000)]
Merge "Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved."

10 years agoTemporary fix to remove OpenDove from RPM builds until libevent2-devel dependency...
Sam Hague [Sun, 2 Feb 2014 04:52:16 +0000 (23:52 -0500)]
Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved.

libevent2-devel is not available to f19 so the OpenDove RPM build fails.

Change-Id: I363925c69d4e69f996b3dd93b111c2fbba8907ee
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Add support for different editions"
Sam Hague [Sun, 2 Feb 2014 04:23:46 +0000 (04:23 +0000)]
Merge "Add support for different editions"

10 years agoAdd support for different editions
Sam Hague [Sun, 2 Feb 2014 04:16:33 +0000 (23:16 -0500)]
Add support for different editions

- Added virtualization and service provider sub packages
- Renamed opendaylight-distribution to opendaylight
- Added proper bundle filters to run.odl.sh script
- Added virt-affinity option to run.odl.sh script
- Added a release build option to buildrpm.sh

Change-Id: Ib164c0e6fd8eedd22bc1ad2447789d1d07854a94
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "update rpmbuild with latest versions and add opendove and lispflowmapping...
Sam Hague [Sat, 1 Feb 2014 04:45:31 +0000 (04:45 +0000)]
Merge "update rpmbuild with latest versions and add opendove and lispflowmapping projects."

10 years agoupdate rpmbuild with latest versions and add opendove and lispflowmapping projects.
Sam Hague [Sat, 1 Feb 2014 02:37:37 +0000 (21:37 -0500)]
update rpmbuild with latest versions and add opendove and lispflowmapping projects.

- fixed version error in ovsdb and lipsflowmapping. An older snapshot version was hardcoded in the spec causing the rpm build to fail becuase it could not find the file.
- added opendove and lipsflowmapping to the buildrpm script.
- modified opendove.spec Requires: libjansson-devel. Package could not be found so switched to jansson-devel.
- modified description string in opendaylight-controller.spec with more text.
- added some debugger options to buildrpm.sh. --shortcircuit flags to restart building on specific projects.

Change-Id: Id2487f7ea0fb40fbd43d8e9accb6345b8233cac5
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoupdating the docker artifact version information to sync with the release version...
David K. Bainbridge [Fri, 31 Jan 2014 22:28:50 +0000 (14:28 -0800)]
updating the docker artifact version information to sync with the release version tick

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoupdated docker files to be more in line with some best practices as well as enable...
David K. Bainbridge [Fri, 31 Jan 2014 07:34:13 +0000 (23:34 -0800)]
updated docker files to be more in line with some best practices as well as enable the build system, which uses fedora as opposed to ubuntu. this commit also fixes the release versions in the docker files for the release

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agomove the release docker files to their own directories to help facilitate automated...
David K. Bainbridge [Thu, 30 Jan 2014 18:28:47 +0000 (10:28 -0800)]
move the release docker files to their own directories to help facilitate automated docker trusted builds

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoMerge "Updated spec file to build Open DOVE component rpms from a single file."
Sam Hague [Thu, 30 Jan 2014 13:34:35 +0000 (13:34 +0000)]
Merge "Updated spec file to build Open DOVE component rpms from a single file."

10 years agoupdated version information in pom to 0.1.1-SNAPSHOT
David K. Bainbridge [Wed, 29 Jan 2014 16:56:37 +0000 (08:56 -0800)]
updated version information in pom to 0.1.1-SNAPSHOT

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoAdd opendaylight-release packaging sources
Andrew Grimberg [Mon, 27 Jan 2014 20:43:36 +0000 (12:43 -0800)]
Add opendaylight-release packaging sources

I realized as I was about to go generating new packages that this really
should be in gerrit and done via Jenkins. So, initial upload with my fix
to the fedora URLs already in it.

Change-Id: I12f46a4767cebdc1dc8d532ad68ad3450248b258
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMerge "Fixed paths patch for run.sh scripts"
Sam Hague [Fri, 24 Jan 2014 22:13:23 +0000 (22:13 +0000)]
Merge "Fixed paths patch for run.sh scripts"

10 years agoUpdated spec file to build Open DOVE component rpms from a single file.
Anees Shaikh [Fri, 24 Jan 2014 17:18:55 +0000 (09:18 -0800)]
Updated spec file to build Open DOVE component rpms from a single file.

Signed-off-by: Anees Shaikh <aasdevaddr@gmail.com>
10 years agoFixed paths patch for run.sh scripts
Miroslav Miklus [Thu, 23 Jan 2014 22:04:59 +0000 (23:04 +0100)]
Fixed paths patch for run.sh scripts

Change introduced in distributions/virtualization/src/assemble/resources/run.sh
broke the rpm build

Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Change-Id: I6b3c0f0671b55004c517d3629cb624515ce9f4ca

10 years agoMerge "Fix up a bogus changelog date"
Sam Hague [Thu, 23 Jan 2014 20:51:18 +0000 (20:51 +0000)]
Merge "Fix up a bogus changelog date"

10 years agoMerge "updated docker build files to expose additional ports in support of clustering...
Sam Hague [Thu, 23 Jan 2014 20:49:44 +0000 (20:49 +0000)]
Merge "updated docker build files to expose additional ports in support of clustering, rpcs and lisp. added to readme to describe how to make clustering work with containers"

10 years agoMerge "added rpm spec for lispflowmapping"
Luis Gomez [Thu, 23 Jan 2014 18:40:05 +0000 (18:40 +0000)]
Merge "added rpm spec for lispflowmapping"

10 years agoadded rpm spec for lispflowmapping
David Goldberg [Wed, 22 Jan 2014 15:36:05 +0000 (17:36 +0200)]
added rpm spec for lispflowmapping

Signed-off-by: David Goldberg <david.goldberg@contextream.com>
10 years agoFix up a bogus changelog date
Andrew Grimberg [Thu, 23 Jan 2014 05:47:45 +0000 (21:47 -0800)]
Fix up a bogus changelog date

I noticed that rpmbuild was complaining about a bogus changelog date in
the opendaylight-controller.spec file. Checking the date and the logs
I've corrected it to the proper date.

Change-Id: I505c8723ff874bc0fd2a0cf4964f4350925d31f2
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoAdd mockinit option back into build script
Andrew Grimberg [Thu, 23 Jan 2014 05:22:22 +0000 (21:22 -0800)]
Add mockinit option back into build script

I can't seem to find where it disappeared but the option has stopped
working (maybe it never really did work?). In any case, it really should
be in the script.

Change-Id: I3107472eb56a2ea82354ce658b472f0ab3b46d2f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMerge "Fix patch error because of whitespace in run.sh."
Luis Gomez [Thu, 23 Jan 2014 04:50:03 +0000 (04:50 +0000)]
Merge "Fix patch error because of whitespace in run.sh."

10 years agoadded rpm spec for lispflowmapping
David Goldberg [Wed, 22 Jan 2014 15:36:05 +0000 (17:36 +0200)]
added rpm spec for lispflowmapping

Signed-off-by: David Goldberg <david.goldberg@contextream.com>
10 years agoupdated docker build files to expose additional ports in support of clustering, rpcs...
David K. Bainbridge [Thu, 23 Jan 2014 00:15:26 +0000 (16:15 -0800)]
updated docker build files to expose additional ports in support of clustering, rpcs and lisp. added to readme to describe how to make clustering work with containers

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoFix patch error because of whitespace in run.sh.
Sam Hague [Wed, 22 Jan 2014 23:49:43 +0000 (18:49 -0500)]
Fix patch error because of whitespace in run.sh.

Patch fails one hunk because of a mismatch in whitespace.
Also fixed a warning about changelog date being bogus.

Change-Id: Ie387a77bdc1702e19af0e99cec4157140adeb5b2
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Initial commit of docker image building support"
Luis Gomez [Wed, 22 Jan 2014 23:11:20 +0000 (23:11 +0000)]
Merge "Initial commit of docker image building support"

10 years agoMerge "Added distsuffix option to buildrpm.sh"
Luis Gomez [Wed, 22 Jan 2014 20:32:37 +0000 (20:32 +0000)]
Merge "Added distsuffix option to buildrpm.sh"

10 years agoInitial commit of docker image building support
David K. Bainbridge [Tue, 21 Jan 2014 21:11:10 +0000 (13:11 -0800)]
Initial commit of docker image building support

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoMerge "Remove the third party openflowjava jars. There jars are not used by anyone...
Luis Gomez [Tue, 21 Jan 2014 20:07:05 +0000 (20:07 +0000)]
Merge "Remove the third party openflowjava jars. There jars are not used by anyone and the deicision is to remove them for now."

10 years agoRemove the third party openflowjava jars.
Hsin-Yi Shen [Tue, 21 Jan 2014 18:45:25 +0000 (13:45 -0500)]
Remove the third party openflowjava jars.
There jars are not used by anyone and the deicision is to remove them for now.

Change-Id: I6e54f067742417b6da61b6100a82a5d2cbe35f90
Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoAdded distsuffix option to buildrpm.sh
Miroslav Miklus [Tue, 21 Jan 2014 18:39:31 +0000 (19:39 +0100)]
Added distsuffix option to buildrpm.sh

- distsuffix option allows to define the package suffix

Change-Id: I4e8c24713f61096409d357be2392552efbcfe347
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
10 years agoMerge "Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh."
Luis Gomez [Mon, 20 Jan 2014 22:57:06 +0000 (22:57 +0000)]
Merge "Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh."

10 years agoMerge changes I854fecfa,Ief988528,Ibc50e28b
Luis Gomez [Mon, 20 Jan 2014 22:55:40 +0000 (22:55 +0000)]
Merge changes I854fecfa,Ief988528,Ibc50e28b

* changes:
  rpm/run.dist.sh: add usage statement
  rpm/run.dist.sh: fix commented out opendove command
  rpm/run.dist.sh: properly propagate exit code from helper scripts

10 years agoAdd rpm packaging for openflowjava and openflowpluging to buildrpm.sh.
Sam Hague [Sat, 18 Jan 2014 20:29:42 +0000 (15:29 -0500)]
Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh.

- remove tabs in buildrpm.sh (for real this time)
- Added openflowjava and openflowplugin to buildrpm.sh
- Reworked projects to use arrays so it is easier to add new projects in the future.
- Added mockmvn option to allow rewriting the maven command used when mock builds the rpms. This is useful to allow specifying a local .m2 cache so moc
k does not clean and reinstall between every build.
- ensure git version tags are used throughout for all projects. This ensures the src.rpm files are marked with consistent git hashes for easier reprodu
cing of a build.
- Cleaned up distribution.spec Requires to not require controller-dependencies since it is Required by the controller already.
- Removed duplicate code in dependencies.spec.

Change-Id: Ic157e168893d3f163708b44c476dc9026cb8b240
Signed-off-by: Sam Hague <shague@redhat.com>