summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
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>
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"
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>
Colin Dixon [Thu, 14 May 2015 21:27:34 +0000 (21:27 +0000)]
Merge "Adding basic unit tests for parser CLI"
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>
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>
Colin Dixon [Wed, 13 May 2015 14:15:50 +0000 (14:15 +0000)]
Merge "Moving to karaf-parent to fix distribution-karaf issues"
Curt Beckmann [Wed, 13 May 2015 09:28:56 +0000 (09:28 +0000)]
Merge "add pretty printing to jsonStringFromDataObject"
Curt Beckmann [Wed, 13 May 2015 09:28:26 +0000 (09:28 +0000)]
Merge "Removing version override"
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>
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>
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>
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>
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>
Colin Dixon [Tue, 12 May 2015 14:34:38 +0000 (14:34 +0000)]
Merge "Added more cli command support"
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>
Colin Dixon [Mon, 11 May 2015 18:25:43 +0000 (18:25 +0000)]
Merge "Do not override Karaf version"
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
Colin Dixon [Fri, 27 Feb 2015 19:26:19 +0000 (19:26 +0000)]
Merge "Get parser runnable jar file to work with real TTPs"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Colin Dixon [Wed, 3 Sep 2014 15:35:59 +0000 (15:35 +0000)]
Merge "Improving modeling of flow_tables"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Colin Dixon [Thu, 31 Jul 2014 04:53:54 +0000 (04:53 +0000)]
Merge "Adding test for variables"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Aric Gardner [Thu, 22 May 2014 17:35:42 +0000 (17:35 +0000)]
Initial empty repository