ttp.git
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