ttp.git
6 years agoBump ttp to use yangtools 1.2.0 17/63817/3 master
Anil Belur [Fri, 29 Sep 2017 02:09:53 +0000 (12:09 +1000)]
Bump ttp to use yangtools 1.2.0

Jira: releng-485
Change-Id: I02361c52410b1ced0b96717be7108ba4ae831166
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoBump odlparent 2.0.4 to 2.0.5 58/63658/1
Stephen Kitt [Wed, 27 Sep 2017 13:36:24 +0000 (15:36 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: Ia464499bc3f8a50304317858a9d895be39ff5b63
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdjust for mdsal-binding-dom-codec movement 17/62617/1
Robert Varga [Mon, 4 Sep 2017 11:57:10 +0000 (13:57 +0200)]
Adjust for mdsal-binding-dom-codec movement

The implementation is moving its package, adjust for that.

Change-Id: I30bcfb438a71dca0b4f081a6a4911370ec78954a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump versions by x.(y+1).z for next dev cycle 06/61706/2
Thanh Ha [Mon, 14 Aug 2017 17:41:24 +0000 (13:41 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I82cdc5c61faca08cd89f60279b2ab27ae5ff4ce9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoBump odlparent 2.0.0 to 2.0.4 74/61374/2
Stephen Kitt [Tue, 8 Aug 2017 16:22:02 +0000 (18:22 +0200)]
Bump odlparent 2.0.0 to 2.0.4

Change-Id: I67d4cbf36654a6e5a3a7f68a24f9a96a1bfddd79
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoMove features4-ttp to features-ttp 16/60316/1
Thanh Ha [Fri, 14 Jul 2017 03:16:06 +0000 (23:16 -0400)]
Move features4-ttp to features-ttp

This feature was renamed.

Change-Id: I956823d0e76d90224d70641a5909ff6f7844cd40
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMove features4-ttp to features-ttp 80/59480/1
Colin Dixon [Fri, 23 Jun 2017 18:02:19 +0000 (14:02 -0400)]
Move features4-ttp to features-ttp

Change-Id: I0387bd37293c7b060ade65359ba97e7499cef0f7
Signed-off-by: Colin Dixon <colin@colindixon.com>
6 years agoUpdate TTP to odlparent 2.0.0 16/59416/1
Colin Dixon [Thu, 22 Jun 2017 16:46:10 +0000 (12:46 -0400)]
Update TTP to odlparent 2.0.0

Change-Id: I327957f524812ec1f8e0fab166fe7f92ad9e6fb4
Signed-off-by: Colin Dixon <colin@colindixon.com>
6 years agoMigrate to odlparent 1.9.0 85/58885/2
Thanh Ha [Tue, 13 Jun 2017 20:30:28 +0000 (16:30 -0400)]
Migrate to odlparent 1.9.0

Change-Id: I8bf8f05a050590f665f78477b9b2a63401b09902
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoBuild a Karaf 4 distribution 88/58788/1
Stephen Kitt [Tue, 13 Jun 2017 07:10:13 +0000 (09:10 +0200)]
Build a Karaf 4 distribution

This switches distribution-karaf to karaf4-parent, and cleans up the
POM.

Change-Id: I77856390b6eb1a0d51efc437dafbf28b3243abfc
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoMigrate to odlparent 1.8.0-Carbon 26/58626/1
Thanh Ha [Fri, 9 Jun 2017 18:01:12 +0000 (14:01 -0400)]
Migrate to odlparent 1.8.0-Carbon

Per request of odlparent project we are downgrading all Nitrogen
projects to use the released odlparent 1.8.0-Carbon to allow for the
odlparent project to start performing semver style releases.

Jira: RELENG-159
RT: 41406
Change-Id: I4c85c964e946d7bb6e64e2c664fdb16b5ff1e985
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBump versions by x.(y+1).z for next dev cycle 27/54727/1
Anil Belur [Tue, 11 Apr 2017 01:46:00 +0000 (11:46 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I9dbacc4f290843ed7de3e9e30f620ccb8196a0e5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoRemove odl-ttp-all feature 32/53032/2
Colin Dixon [Wed, 8 Mar 2017 20:58:08 +0000 (14:58 -0600)]
Remove odl-ttp-all feature

Change-Id: I07c8003fcb81ce4aa4a84dddbd9c736fdb8c3f47
Signed-off-by: Colin Dixon <colin@colindixon.com>
7 years agoAdd missing <name> fields for pom.xml files 01/52701/3
Anil Belur [Fri, 3 Mar 2017 01:36:10 +0000 (11:36 +1000)]
Add missing <name> fields for pom.xml files

This is used by autorelease scripts to automatically parse which project
is failing a build and report to the mailing list automatically. We need
names in the format:

    ODL :: <groupId> :: <artifactId>

This patch formats in the same format as found in the startup archetypes
patch found here: https://git.opendaylight.org/gerrit/52522

Change-Id: I0b413835dc403762e92ed33656804fa95566d29b
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBUG-6859 - Binding generator v1 refactoring 31/52931/3
Jakub Toth [Tue, 7 Mar 2017 09:32:56 +0000 (10:32 +0100)]
BUG-6859 - Binding generator v1 refactoring

Fix compilation failure after binding generator move.

Change-Id: I2c0a6862caf80fde61ba103026529486ef5a8236
Signed-off-by: Jakub Toth <jatoth@cisco.com>
7 years agoMerge "Drop ttp-parent"
Colin Dixon [Wed, 8 Mar 2017 20:11:04 +0000 (20:11 +0000)]
Merge "Drop ttp-parent"

7 years agoMerge "Switch to binding-parent"
Colin Dixon [Wed, 8 Mar 2017 20:08:07 +0000 (20:08 +0000)]
Merge "Switch to binding-parent"

7 years agoDrop ttp-parent 62/52162/1
Stephen Kitt [Wed, 22 Feb 2017 10:37:39 +0000 (11:37 +0100)]
Drop ttp-parent

Change-Id: I7f306b727621b08f2b48ffe0e6a9d363f8539657
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoSwitch to binding-parent 59/52159/1
Stephen Kitt [Wed, 22 Feb 2017 09:58:48 +0000 (10:58 +0100)]
Switch to binding-parent

Change-Id: I0671887acc10243ff51630091d0e241048437ecf
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoAdd Karaf 4 features 87/50087/4
Stephen Kitt [Fri, 6 Jan 2017 14:33:41 +0000 (15:33 +0100)]
Add Karaf 4 features

Bug: 7648
Change-Id: I906df82fbe7bc16f1b5a41d8e51a81caea0b8195
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoUse odlparent features-parent 69/49669/1
Michael Vorburger [Tue, 20 Dec 2016 18:32:23 +0000 (19:32 +0100)]
Use odlparent features-parent

Change-Id: Ifa24960364f7d928e63403bcd93c52f48094ca89
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent 57/47157/1
Ryan Goulding [Wed, 19 Oct 2016 17:47:53 +0000 (13:47 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I2b9afc26e492358fcd1899bcf8a5ed292c39e489
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoAdjust for checkstyle movement 58/46758/2
Vratko Polak [Tue, 11 Oct 2016 13:26:01 +0000 (15:26 +0200)]
Adjust for checkstyle movement

Checkstyle was moved to odlparent.
Only minimal configuration changes are performend atop odlparent defaults.

Change-Id: I9cf7a7d2a8e429a250771e8bbf187208f59a06f9
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBump ietf versions to ...10-SNAPSHOT 25/43525/1
Thanh Ha [Tue, 9 Aug 2016 15:34:43 +0000 (11:34 -0400)]
Bump ietf versions to ...10-SNAPSHOT

Bump versions according to:
https://lists.opendaylight.org/pipermail/release/2016-August/007731.html

Change-Id: I2e6f0eabfd2852b179dde24a56c9e23457650adf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBump versions by 0.1.0 for next dev cycle 48/43448/1
Thanh Ha [Mon, 8 Aug 2016 21:50:21 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: Id8f86bda6372ea71d60ed4bfc965db359f9915b2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoCreate non-root ttp-parent 46/43246/1
Thanh Ha [Fri, 5 Aug 2016 15:34:25 +0000 (11:34 -0400)]
Create non-root ttp-parent

Fixes forking issue due to aggregate javadoc declaration in root pom to
generate the javadocs. Because every module inherits ttp-parent they all
fork subprocesses to generate javadoc due to the aggregate setting. This
should not happen as long as we make sure nothing inherits from the root
pom.

Change-Id: Idf0aaed065d63936bea6d854afa9b156183394ef
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoEnable Maven Site generation 73/41373/1
An Ha [Wed, 6 Jul 2016 03:13:34 +0000 (23:13 -0400)]
Enable Maven Site generation

Change-Id: I13098e79e9dad34d6d0eacd062315ebf2a103f5d
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoFix javadoc validation error in TTPUtils 72/41372/1
An Ha [Wed, 6 Jul 2016 04:10:32 +0000 (00:10 -0400)]
Fix javadoc validation error in TTPUtils

For method jsonStringFromDataObject(path, object):
* Add @param path and its description
* Add @param object description
* Add @return

For method jsonStringFromDataObject(path, object, pretty):
* Add @param path and its description
* Add @param object description
* Add @param pretty and its description
* Add @return

For method getSchemaNodeForDataObject(context, d):
* Add @param context description
* Add @param d description
* Add @return

Change-Id: I4d21a240b3dd5c2015bf0f0508b03c2aeb2e966e
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoFix javadoc validation error in TTPYangModelTest 71/41371/1
An Ha [Wed, 6 Jul 2016 03:15:34 +0000 (23:15 -0400)]
Fix javadoc validation error in TTPYangModelTest

For the method getSchemaNodeForDataObject:
* Remove <p/>
* Add description for @param context
* Add description for @param d
* Add @return

TTPYangModelTest class
* Fix javadoc multiline comment

Change-Id: I8c2fce21f47a7b8aca4c6e76c2ff41a547ca2caf
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoremoving superfluous groupId 98/28698/2
Colin Dixon [Fri, 18 Sep 2015 18:24:26 +0000 (14:24 -0400)]
removing superfluous groupId

Change-Id: I071dc257df1d074ec25fa65e812de05bc1eb8586
Signed-off-by: Colin Dixon <colin@colindixon.com>
(cherry picked from commit 03c10d9384f6c14ebac96ab3d0cc2b14f1dd6398)

8 years agoRemove unused properties and pull versions from odlparent 91/36091/1
Thanh Ha [Fri, 11 Mar 2016 02:20:03 +0000 (21:20 -0500)]
Remove unused properties and pull versions from odlparent

Change-Id: I246fb70b5db865d365be09d0789189e02bfd7941
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBump yangtools to 1.0.0-SNAPSHOT 54/33254/4
Thanh Ha [Thu, 21 Jan 2016 20:38:11 +0000 (15:38 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: I72d312f7eeeb63f167460dc4340ca2d49929d194
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBump versions by 0.1.0 for next dev cycle 09/32709/1
Thanh Ha [Fri, 15 Jan 2016 04:13:35 +0000 (23:13 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I3ac203680651a7f3a93059f33bd4d118b93791af
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "BUG3844: Use stderr for user-oriented CLI output"
Colin Dixon [Fri, 4 Dec 2015 20:42:44 +0000 (20:42 +0000)]
Merge "BUG3844: Use stderr for user-oriented CLI output"

8 years agoBUG-2625: fix JDK8 compatibility 81/29081/1
Robert Varga [Sat, 31 Oct 2015 17:49:06 +0000 (18:49 +0100)]
BUG-2625: fix JDK8 compatibility

References and HTML entities are enforced.

Change-Id: If3b9f53b95a6c0f4bb69985a1c9bd2bbe840c535
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoBUG3844: Use stderr for user-oriented CLI output 99/28699/1
Colin Dixon [Fri, 18 Sep 2015 18:26:03 +0000 (14:26 -0400)]
BUG3844: Use stderr for user-oriented CLI output

Change-Id: I850b41649f681fcf8f7f48d3b6bfed4ffeeb97a8
Signed-off-by: Colin Dixon <colin@colindixon.com>
(cherry picked from commit 74f1955a34f88f8ee024ee77a63eb6b5b93cc03a)

8 years agoMigration to use MD-SAL Project 62/26362/2
Tony Tkacik [Wed, 2 Sep 2015 14:13:30 +0000 (16:13 +0200)]
Migration to use MD-SAL Project

Change-Id: I2e7f924c3f831f54974700a1bfc7490e484f9e5a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoMigrate restconf dependencies to new groupId 30/26230/4
Tomas Cere [Mon, 31 Aug 2015 12:02:12 +0000 (14:02 +0200)]
Migrate restconf dependencies to new groupId

Change-Id: I6ade2b415512c225562a90226b808f6ee7404284
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agofixed null pointer bug when no built_ins, undid ofdpa built_in edits, and added count... 11/24211/5
Curt Beckmann [Thu, 16 Jul 2015 19:03:36 +0000 (21:03 +0200)]
fixed null pointer bug when no built_ins, undid ofdpa built_in edits, and added count of flowpaths to each tablepath hop

Change-Id: I6a3077fe8efa0f2c4c28aedc3ec30ea797a3878c
Signed-off-by: Curt Beckmann <beckmann@brocade.com>
8 years agoFix license header violations 44/24944/1
Thanh Ha [Sat, 8 Aug 2015 00:25:13 +0000 (20:25 -0400)]
Fix license header violations

Change-Id: I97332d8949def8e9df093873c6639b057234f809
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoExplicitly set git-review branch to master 32/24432/1
Thanh Ha [Wed, 22 Jul 2015 19:30:18 +0000 (15:30 -0400)]
Explicitly set git-review branch to master

Change-Id: I6658dbee163e430e9e090afe5e34b51984bd2c6d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoEnabling checkstyle with the basic controller rules 15/24115/2
Colin Dixon [Wed, 3 Jun 2015 13:57:14 +0000 (09:57 -0400)]
Enabling checkstyle with the basic controller rules

Change-Id: I0814b7fd35683838b6d45df97870e70fbaa307be
Signed-off-by: Colin Dixon <colin@colindixon.com>
8 years agoFixing tabs, trailing whitespace, and unused imports for checkstyle 16/24116/1
Colin Dixon [Tue, 14 Jul 2015 17:42:28 +0000 (13:42 -0400)]
Fixing tabs, trailing whitespace, and unused imports for checkstyle

Change-Id: I051606bc46b398317344bde8b2858b1507c958c9
Signed-off-by: Colin Dixon <colin@colindixon.com>
8 years agoAdded built_in_flow_mods to dot and flowpaths 12/24112/1
Curt Beckmann [Tue, 14 Jul 2015 15:26:19 +0000 (17:26 +0200)]
Added built_in_flow_mods to dot and flowpaths

Change-Id: Ia48f3a740618376c7c03218df35cd4aa744384bf
Signed-off-by: Curt Beckmann <beckmann@brocade.com>
9 years agoMerge "Incrementing versions by 0.1.0 for post-Lithium master branch"
Colin Dixon [Thu, 14 May 2015 21:52:18 +0000 (21:52 +0000)]
Merge "Incrementing versions by 0.1.0 for post-Lithium master branch"

9 years agoIncrementing versions by 0.1.0 for post-Lithium master branch 48/20448/1
Colin Dixon [Thu, 14 May 2015 21:47:46 +0000 (17:47 -0400)]
Incrementing versions by 0.1.0 for post-Lithium master branch

Change-Id: I8d1d26d04844172c21550a61fba51ea63ac29802
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Adding basic unit tests for parser CLI"
Colin Dixon [Thu, 14 May 2015 21:27:34 +0000 (21:27 +0000)]
Merge "Adding basic unit tests for parser CLI"

9 years agoAdding basic unit tests for parser CLI 78/20278/1
Colin Dixon [Wed, 13 May 2015 17:12:02 +0000 (13:12 -0400)]
Adding basic unit tests for parser CLI

Change-Id: Idcdce852e17443ce0bfd3d3b55764af574b1ae19
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoRefactored parser a bit and added the dot command 87/20187/2
Colin Dixon [Tue, 12 May 2015 21:45:00 +0000 (17:45 -0400)]
Refactored parser a bit and added the dot command

The dot command is still buggy in that I don't think it parses all
possible ways to find a goto_table action, but it sort of works.

Change-Id: I6e3d8bc47d0a06e04ff2c88aa1ea5d588a2995d5
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Moving to karaf-parent to fix distribution-karaf issues"
Colin Dixon [Wed, 13 May 2015 14:15:50 +0000 (14:15 +0000)]
Merge "Moving to karaf-parent to fix distribution-karaf issues"

9 years agoMerge "add pretty printing to jsonStringFromDataObject"
Curt Beckmann [Wed, 13 May 2015 09:28:56 +0000 (09:28 +0000)]
Merge "add pretty printing to jsonStringFromDataObject"

9 years agoMerge "Removing version override"
Curt Beckmann [Wed, 13 May 2015 09:28:26 +0000 (09:28 +0000)]
Merge "Removing version override"

9 years agoGetting a (slightly) modified OF-DPA 2.0 JSON TTP to import 41/20141/3
Colin Dixon [Tue, 12 May 2015 14:41:36 +0000 (10:41 -0400)]
Getting a (slightly) modified OF-DPA 2.0 JSON TTP to import

* added yang for extension identifiers
* added yang to allow for some nesting of meta-keywords
* added the (slightly) modified OF-DPA 2.0 JSON TTP

Change-Id: I8461917361e7beb5ac0c44ad932e9cc643566908
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoRemoving version override 75/20175/1
Colin Dixon [Tue, 12 May 2015 20:27:54 +0000 (16:27 -0400)]
Removing version override

Change-Id: Ia7e14d6a3e45ee52b7fbfac2ebe6f67a1ea552d9
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoadd pretty printing to jsonStringFromDataObject 67/18067/2
Colin Dixon [Fri, 10 Apr 2015 01:04:45 +0000 (21:04 -0400)]
add pretty printing to jsonStringFromDataObject

Change-Id: Id74f6667f2b67b257e3cafdf6cf08575b7cbc051
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMoving to karaf-parent to fix distribution-karaf issues 68/20168/1
Colin Dixon [Tue, 12 May 2015 19:39:36 +0000 (15:39 -0400)]
Moving to karaf-parent to fix distribution-karaf issues

Change-Id: I6ccbb7d52286fd24aff7cbc89e269ef43aa289a8
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agopassing in JSON file with line breaks to get better error messages 59/20159/1
Colin Dixon [Tue, 12 May 2015 18:09:50 +0000 (14:09 -0400)]
passing in JSON file with line breaks to get better error messages

Change-Id: Id36c27d7c8d0aa0fe080b630bb47bda125810024
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Added more cli command support"
Colin Dixon [Tue, 12 May 2015 14:34:38 +0000 (14:34 +0000)]
Merge "Added more cli command support"

9 years agoAdded more cli command support 40/18040/4
Curt Beckmann [Thu, 9 Apr 2015 15:02:13 +0000 (11:02 -0400)]
Added more cli command support

Implemented validate (prep for format, compare, dot)
Also added code to read TTP from a file, some Javadoc

Change-Id: I2bc283fd9b5145abaf857e242209b311ad10dc13
Signed-off-by: Colin Dixon <colin@colindixon.com>
Signed-off-by: Curt Beckmann <beckmann@brocade.com>
9 years agoMerge "Do not override Karaf version"
Colin Dixon [Mon, 11 May 2015 18:25:43 +0000 (18:25 +0000)]
Merge "Do not override Karaf version"

9 years agoFix JDK8 compatibility 97/19697/1
Robert Varga [Wed, 6 May 2015 10:37:28 +0000 (12:37 +0200)]
Fix JDK8 compatibility

Javadocs in JDK8 are more strict about consistency. Fix offending
javadocs to compile on JDK8.

Change-Id: I129a6d64e1e5dae3af4e24e5255d65786b3621ce
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not override Karaf version 96/18696/1
Tony Tkacik [Tue, 21 Apr 2015 09:05:03 +0000 (11:05 +0200)]
Do not override Karaf version

Change-Id: I6240131754ce2056fc2f8c020749cbf56da9dba7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoUpdated references to latest karaf versions. 22/18422/1
Tony Tkacik [Thu, 16 Apr 2015 13:17:00 +0000 (15:17 +0200)]
Updated references to latest  karaf versions.

karaf.version is inherited from odlparent.

Change-Id: I967406c3384f650a2386e06960bfa4a047d24af2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoAdd utility functions to go from json to DataObjects 66/18066/1
Colin Dixon [Fri, 10 Apr 2015 00:57:27 +0000 (20:57 -0400)]
Add utility functions to go from json to DataObjects

Change-Id: I3854d056d58dbd91017c62594e2f6a44e9e6f345
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge changes Iaf9d4a20,Ic49558e6,I02742231
Colin Dixon [Mon, 6 Apr 2015 17:41:30 +0000 (17:41 +0000)]
Merge changes Iaf9d4a20,Ic49558e6,I02742231

* changes:
  Remove unused version declarations
  Remove distributionManagement
  Remove enunciate from m2e

9 years agoAdd <relativePath/> to ensure Maven pulls artifact from Nexus 75/17475/1
Thanh Ha [Tue, 31 Mar 2015 15:59:40 +0000 (11:59 -0400)]
Add <relativePath/> to ensure Maven pulls artifact from Nexus

Needed by autorelease to be able to find and replace this value
prebuild.

Change-Id: I4e5e89467228a4969010a57be3a4d2c77e4ac262
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoRemove unused version declarations 24/17424/1
Robert Varga [Tue, 31 Mar 2015 09:50:01 +0000 (11:50 +0200)]
Remove unused version declarations

These properties are not used anywhere, so remove them.

Change-Id: Iaf9d4a202cc4c203d617042882301d7a1dd78962
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove distributionManagement 23/17423/1
Robert Varga [Tue, 31 Mar 2015 09:46:05 +0000 (11:46 +0200)]
Remove distributionManagement

This section should be inherited from our environment, so let's remove
it.

Change-Id: Ic49558e6b036728f816f18d6dd170be05130f59d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove enunciate from m2e 22/17422/1
Robert Varga [Tue, 31 Mar 2015 09:45:34 +0000 (11:45 +0200)]
Remove enunciate from m2e

This project does not use enunciate, no need to mention it in m2e.

Change-Id: I02742231cd5800d0212c53bd417953170bd0ddba
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMigrated TTP tests to not use APIs which were deprecated in Helium. 48/16748/2
Tony Tkacik [Thu, 19 Mar 2015 18:06:21 +0000 (19:06 +0100)]
Migrated TTP tests to not use APIs which were deprecated in Helium.

Change-Id: I5f9b64ad3a1691a29526e9ee916adadcf035d21f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Get parser runnable jar file to work with real TTPs"
Colin Dixon [Fri, 27 Feb 2015 19:26:19 +0000 (19:26 +0000)]
Merge "Get parser runnable jar file to work with real TTPs"

9 years agoSwitch to odlparent's features-test artifact 85/15685/2
Colin Dixon [Tue, 24 Feb 2015 23:04:46 +0000 (17:04 -0600)]
Switch to odlparent's features-test artifact

This re-enables features testing which somehow wasn't running when using
the yangtools version of the artifact.

Change-Id: I29030f9d4f2cd3745bd8762408e425339f0c2f4d
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoGet parser runnable jar file to work with real TTPs 56/15156/2
Colin Dixon [Wed, 11 Feb 2015 16:58:39 +0000 (08:58 -0800)]
Get parser runnable jar file to work with real TTPs

* Change parser's main function to create a simple TTP and print it in
  JSON instead of just printing a string.
* Created a utils module which provides tools for converting between
  TTPs and JSON/XML.
* Refactored a lot of the functions from the ttp-model's tests to the
  util module.

Change-Id: I667f120606217557711a0c7d778aea9f26146baf
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoRemove <repositories> and <pluginRepositories> sections 47/15147/1
Thanh Ha [Wed, 11 Feb 2015 15:30:21 +0000 (10:30 -0500)]
Remove <repositories> and <pluginRepositories> sections

It is recommended that developers and servers configure this locally via
settings.xml.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I8e51bde8544d72a238f8d6449cc7886b2adf4259
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdding first take at parser as an executable jar 70/14270/2
Colin Dixon [Tue, 20 Jan 2015 01:40:09 +0000 (19:40 -0600)]
Adding first take at parser as an executable jar

After building the parser bundle, You can now run:
java -jar target/parser-0.1.0-SNAPSHOT-jar-with-dependencies.jar

Change-Id: Ib8d58b2ef362fcf693ac537889a1212e60886704
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoSet root pom.xml <name> for Sonar 24/14024/1
Thanh Ha [Fri, 9 Jan 2015 19:21:04 +0000 (14:21 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I3c0d551c0ce8cc44e780d312d3cb94302d89f99f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoIncrementing versions by 0.1.0 for post-Helium master branch 00/11900/1
Colin Dixon [Fri, 10 Oct 2014 21:42:14 +0000 (16:42 -0500)]
Incrementing versions by 0.1.0 for post-Helium master branch

Change-Id: I5576ee0653ae667e4117974986d47f8e34a7d376
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding an odl-ttp-model-rest karaf feature 49/11649/1
Colin Dixon [Mon, 29 Sep 2014 01:15:58 +0000 (20:15 -0500)]
Adding an odl-ttp-model-rest karaf feature

This feature allows for somebody to actually play with the odl-ttp-model
feature via RESTCONF.

Change-Id: Icee65ae45978a678484d113dfecd9e2486fc5f1e
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding a complete sample TTP that can be used as an example in docs. 51/11551/1
Colin Dixon [Thu, 25 Sep 2014 00:04:31 +0000 (19:04 -0500)]
Adding a complete sample TTP that can be used as an example in docs.

Change-Id: I194e14dbd68d7cc0db6b158c9e446e05ab40bc22
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoFixing a few bugs for compatiblity with more TTPs 67/11067/3
Colin Dixon [Thu, 11 Sep 2014 02:16:42 +0000 (21:16 -0500)]
Fixing a few bugs for compatiblity with more TTPs

1. Adding universal-ttp-properties to match_set-properties. (Fixes bug 1880)
2. Enabling the "exactly_one" and "zero_or_one" meta-keywords to the actions
   lists used in three places. (adding compatiblity with addiitional TTPs)

Change-Id: Ia5aa2609278f038cb83727e824e0e28f3e1025f7
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding TTP augmentation to inventory node 13/10813/1
Colin Dixon [Thu, 4 Sep 2014 21:07:10 +0000 (16:07 -0500)]
Adding TTP augmentation to inventory node

This creates a ttp-capable-node augmentation of inventory node which allows
inventory nodes to have one active TTP and a list of supported TTPs.

This patch also removes the spurrious dependency on openflowjava as well as some
dependencies on IETF YANG models.

Change-Id: I7dbab7a25bda7a9cce72babdd33b6d7d10b9a1b3
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoFirst complete pass at modeling flow_tables 51/10751/2
Colin Dixon [Thu, 4 Sep 2014 04:31:30 +0000 (23:31 -0500)]
First complete pass at modeling flow_tables

This provides a complete model for flow_tables and a test based on a simplified
version of the example from the spec.

A few current problems are:
* The properties priority and priority_rank can be a string or an integer in the
  spec, but must be a string in the model as it stands. This could possibly be
  fixed with unions in the future.
* Empty lists, e.g., "match_set": [], must be omitted. This shouldn't be an
  an issue as I don't think the spec differentiates between empty and omitted
  lists.
* The meta-member keywords: all, one_or_more, zero_or_more, exactly_one, and
  zero_or_one are currently not supported as intended. It's unclear if that will
  be possible or not.

Change-Id: If8a669c08055cbe90d3355e8beee5143e245d846
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoEnhancing TTP Model and Tests 42/10742/1
Colin Dixon [Thu, 4 Sep 2014 00:35:24 +0000 (19:35 -0500)]
Enhancing TTP Model and Tests

We now have all the top-level slugs modeled except for flow_tables which is in
progress. We also have at least some testing for all top-level slugs except for
flow_tables and packet_out. We have yet to test packet_out becuase the spec
gives no examples and is possibly ambigous.

Change-Id: I11cb61438b4411414c77955a4bfb1313445b2440
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding a Karaf distribution for TTP 57/10557/3
Colin Dixon [Sun, 31 Aug 2014 21:18:12 +0000 (16:18 -0500)]
Adding a Karaf distribution for TTP

Added as part of getting TTP ready for Karaf in Helium. This loads the TTP
model, the MD-SAL, RESTCONF, and the apidoc explorer. After running karaf:

   ./target/assembly/bin/karaf

browse to:

   http://localhost:8181/apidoc/explorer/index.html

and you will see the onf-ttp module loaded.

Change-Id: I5f4e9fab04062da6f6c3af117e21e25900a59e71
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Improving modeling of flow_tables"
Colin Dixon [Wed, 3 Sep 2014 15:35:59 +0000 (15:35 +0000)]
Merge "Improving modeling of flow_tables"

9 years agoDefining initial Karaf feature 21/10521/4
Colin Dixon [Sun, 31 Aug 2014 21:38:34 +0000 (16:38 -0500)]
Defining initial Karaf feature

Have the archetype features directory created and have a single feature that
passes the automated tests.

Change-Id: I91f0637e5c0ef9c4920b13c40eee1599d7e0dbeb
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoTTP now builds with an empty local .m2 repo 27/10527/1
Colin Dixon [Sat, 30 Aug 2014 20:35:21 +0000 (15:35 -0500)]
TTP now builds with an empty local .m2 repo

Fixes bug 1656. For whatever reason, the ${nexusproxy} was not being expanded
appropriately in the opendaylight-snapshot repository block of the pom file.
This resulted in builds to an empty repo being unable to locate the odlparent
pom file. This fixes it by hard coding the value to the current nexus.

Change-Id: Ie5e801fe25b4059a2c5d2f0292c09d731c0bc872
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoImproving modeling of flow_tables 18/9818/3
Colin Dixon [Fri, 8 Aug 2014 18:27:08 +0000 (13:27 -0500)]
Improving modeling of flow_tables

This is work done by Curt Beckmann to improve/enhance the modeling of
flow_tables for the TTP.

Change-Id: I5d2d4a98a5078a2fcb619a6bb1f2d51877bfb9a4
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoAdding checkstyle to TTP 63/9863/1
Colin Dixon [Sun, 10 Aug 2014 19:26:36 +0000 (14:26 -0500)]
Adding checkstyle to TTP

Change-Id: Iacca0b7bd0794176e1cbc545848edb91af5079de
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoCleaning up pom files to fix warnings and use odlparent 38/9838/1
Colin Dixon [Sat, 9 Aug 2014 19:04:26 +0000 (14:04 -0500)]
Cleaning up pom files to fix warnings and use odlparent

Tried to do the following things
* Fix it so that all versions which can be pullled from odlparent are
* Add in properties to prevent warnings including (all pulled from odlparent)

Change-Id: I7f1b3262b94226a5f326ebc1f4bed638540b4f06
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoRestructure pom files/projects 28/9728/1
Colin Dixon [Wed, 6 Aug 2014 02:13:28 +0000 (21:13 -0500)]
Restructure pom files/projects

Moved the ttp-model-model project one level up to be ttp-model

Change-Id: Id0bee48fbf8254c023c4c7d97d5005d00682f0c5
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoA pass over the TTP model flagging things with TODOs, REFINEs, and SPECs 78/9578/2
Colin Dixon [Fri, 1 Aug 2014 15:37:35 +0000 (10:37 -0500)]
A pass over the TTP model flagging things with TODOs, REFINEs, and SPECs

Remaining TODOs:
* flow_tables
* group_entry_types
* packet_out
* identifiers::extensions
* parameters::default

Change-Id: I402c91608818805c2e67c0adfc3e0bb0d21cba3e
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoFleshing out TTP model 41/9541/4
Colin Dixon [Thu, 31 Jul 2014 15:40:36 +0000 (08:40 -0700)]
Fleshing out TTP model

Note: this work was done by Curt Beckmann with Colin Dixon merely fixing some
whitespace and formatting issues.

1.) Added some missing slugs
2.) Renamed Variables to Identifiers per the spec
3.) Added unversal-ttp-properities grouping for things every TTP node can have
4.) Reordered the top-level slugs in the model to match the spec

Change-Id: I75009d9212c5891384e13ccbe4043a68bd46bf37
Signed-off-by: Curt Beckmann <beckmann@brocade.com>
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoModeling flow_path and adding a top-level container 19/9519/1
Colin Dixon [Thu, 31 Jul 2014 05:24:06 +0000 (00:24 -0500)]
Modeling flow_path and adding a top-level container

Change-Id: Id1987e23dc584e445d35aef87e2bc5efea9d140f
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoReworking DataObject => JSON String utils to correctly use DataSchemaNodes 18/9518/3
Colin Dixon [Thu, 31 Jul 2014 05:00:51 +0000 (00:00 -0500)]
Reworking DataObject => JSON String utils to correctly use DataSchemaNodes

Change-Id: I3971f0d48412a9cb4cce0a592db4a77340468e83
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Adding test for variables"
Colin Dixon [Thu, 31 Jul 2014 04:53:54 +0000 (04:53 +0000)]
Merge "Adding test for variables"

9 years agoAdding test for variables 66/9466/2
Colin Dixon [Tue, 29 Jul 2014 16:05:05 +0000 (09:05 -0700)]
Adding test for variables

Change-Id: I2054be8b121c4e3c9bdb7b4b0bc728c2607e577e
Signed-off-by: Curt Beckmann <beckmann@brocade.com>
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoBUG 1449 - one element leaf list. 87/9487/1
Jozef Gloncak [Wed, 30 Jul 2014 12:20:02 +0000 (14:20 +0200)]
BUG 1449 - one element leaf list.

Do not merge

Just clarification of correct using of
StructuredDataToJsonProvider.INSTANCE.writeTo()

Change-Id: I8bd65e2eb381ed86032326b944b57b291242739f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoAdding yang model bundle 75/8975/6
Colin Dixon [Mon, 14 Jul 2014 03:02:55 +0000 (22:02 -0500)]
Adding yang model bundle

Adding a bundle for the TTP yang model and some rudimentary tests
to help develop the model.

Still to do:
* Get tests to work with asserts by adding basic JSON and/or XML
  parsing and equality.
* Finish modeling more complicated types.

Change-Id: I356ec8a38b31b40224f0f9a42d3c28cfcc326eac
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoRemoving empty comments 54/9154/1
Colin Dixon [Fri, 18 Jul 2014 13:39:24 +0000 (08:39 -0500)]
Removing empty comments

Change-Id: I2e37f842a8df375abb36b22af8b057a8abbee1fa
Signed-off-by: Colin Dixon <colin@colindixon.com>