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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Colin Dixon [Wed, 8 Mar 2017 20:11:04 +0000 (20:11 +0000)]
Merge "Drop ttp-parent"
Colin Dixon [Wed, 8 Mar 2017 20:08:07 +0000 (20:08 +0000)]
Merge "Switch to binding-parent"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
Colin Dixon [Fri, 4 Dec 2015 20:42:44 +0000 (20:42 +0000)]
Merge "BUG3844: Use stderr for user-oriented CLI output"
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>