ttp.git
7 years agoRelease Boron-SR3 release/boron-sr3
jenkins-releng [Wed, 5 Apr 2017 10:28:24 +0000 (10:28 +0000)]
Release Boron-SR3

7 years agoBumping versions by 0.0.1 for next dev cycle 19/49619/1
Anil Belur [Tue, 20 Dec 2016 04:22:48 +0000 (14:22 +1000)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: I8a9dcdbb254c05f2797daa0aabb467d884d7c491
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBumping versions by 0.0.1 for next dev cycle 35/47935/1
Anil Belur [Fri, 4 Nov 2016 00:53:42 +0000 (10:53 +1000)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: I7b9508d4371102361a107016c15f79d9fc5d230c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBumping versions by 0.0.1 for next dev cycle 99/45699/1
Anil Belur [Thu, 15 Sep 2016 23:29:36 +0000 (09:29 +1000)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: Ica7fbfbc486838215535195f5a3b92605e0b22e2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
8 years agoUpdate .gitreview for stable/boron 94/43394/1
Thanh Ha [Mon, 8 Aug 2016 21:40:35 +0000 (17:40 -0400)]
Update .gitreview for stable/boron

Change-Id: I9dfe0839da1747ed0b467f82d32af11258889d7f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 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>
8 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>
8 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>
8 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>
8 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)

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
10 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>
10 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>
10 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>
10 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>
10 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"

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 years agoMerge "Adding test for variables"
Colin Dixon [Thu, 31 Jul 2014 04:53:54 +0000 (04:53 +0000)]
Merge "Adding test for variables"

10 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>
10 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>
10 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>
10 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>
10 years agoBetter .gitignore file 99/8999/1
Colin Dixon [Mon, 14 Jul 2014 18:36:14 +0000 (13:36 -0500)]
Better .gitignore file

Borrowed from the simple MD-SAL application archetype in the toolkit
project.

Change-Id: Ic986a35cba98a523bae62041a23c6ad54fbf27e2
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoadding Eclipse files to .gitignore 74/8974/1
Colin Dixon [Mon, 14 Jul 2014 00:57:48 +0000 (19:57 -0500)]
adding Eclipse files to .gitignore

Change-Id: Ia37ad78250b949cdd5f6daedaaccef6d9d3c96d6
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoadding a sample ttp and ensuring that the python code runs and parses it 03/8903/1
Colin Dixon [Thu, 10 Jul 2014 15:54:35 +0000 (10:54 -0500)]
adding a sample ttp and ensuring that the python code runs and parses it

Change-Id: I1937307a0cf0ebe1e7095db562699150c9e9faea
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoadding a pom.xml for the parser 24/8824/1
Colin Dixon [Tue, 8 Jul 2014 20:06:13 +0000 (15:06 -0500)]
adding a pom.xml for the parser

Change-Id: If05a65d837ef38841d696dbcc846cb7602afef8b
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agorestructuring a bit and adding a top-level pom.xml 12/8812/1
Colin Dixon [Tue, 8 Jul 2014 17:50:16 +0000 (12:50 -0500)]
restructuring a bit and adding a top-level pom.xml

Change-Id: I86b7b9ee23662eed7b27802c5c8c12dac8779096
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoAdding first (python-based) TTP parser 06/8806/3
Colin Dixon [Tue, 8 Jul 2014 03:19:55 +0000 (22:19 -0500)]
Adding first (python-based) TTP parser

Change-Id: I22d559bbd4cfb71494330e8344258501e40544b4
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoAdding .gitignore, .gitreview, and LICENSE 66/8466/1
Colin Dixon [Mon, 30 Jun 2014 19:58:41 +0000 (14:58 -0500)]
Adding .gitignore, .gitreview, and LICENSE

Change-Id: Ie427f0442e0bfa622b9807dde1c93109c779ebc8
Signed-off-by: Colin Dixon <colin@colindixon.com>
10 years agoInitial empty repository
Aric Gardner [Thu, 22 May 2014 17:35:42 +0000 (17:35 +0000)]
Initial empty repository