honeycomb.git
8 years agoBump version to 1.16.12-SNAPSHOT 68/2568/2
Maros Marsalek [Wed, 31 Aug 2016 07:56:23 +0000 (09:56 +0200)]
Bump version to 1.16.12-SNAPSHOT

Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoBump jvpp version used to 16.12 73/2573/3
Jan Srnicek [Wed, 31 Aug 2016 12:56:04 +0000 (14:56 +0200)]
Bump jvpp version used to 16.12

Change-Id: Ie776cc9436aea510a1eef10ba6b6c8ed3a8afc08
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-75: Lisp Postman Collection 22/2322/7
Jan Srnicek [Wed, 31 Aug 2016 06:27:07 +0000 (08:27 +0200)]
HONEYCOMB-75: Lisp Postman Collection

Change-Id: Icc483704f8c5e621928f55378cfc6ea3a663bffe
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> x
8 years agoHONEYCOMB-75 - Lisp implemetation 17/1217/43
Jan Srnicek [Wed, 31 Aug 2016 05:46:41 +0000 (07:46 +0200)]
HONEYCOMB-75 - Lisp implemetation

Rebased on final minimal distro

Change-Id: Ib71fc59e62dda4633f4f79c5c7417a4aaf02a177
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoFixing poms 67/2567/1
Maros Marsalek [Wed, 31 Aug 2016 07:57:31 +0000 (09:57 +0200)]
Fixing poms

- Sample parent path
- NSH redundant dependency + parent path

Change-Id: I3f4144be4031e2742f9a29c7a5612fbafbf8d0cf
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-144 - Make dump cache manager thread-save 35/2535/6
Jan Srnicek [Wed, 31 Aug 2016 06:36:24 +0000 (08:36 +0200)]
HONEYCOMB-144 - Make dump cache manager thread-save

Modified to be thread save and generic
to be usable in all plugins
Change-Id: I26c90e8c8aa13c07fa389d86a9784e92e9532bcd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-140 - Honeycomb Plugin Archetype 29/2429/6
Jan Srnicek [Thu, 25 Aug 2016 14:27:23 +0000 (16:27 +0200)]
HONEYCOMB-140 - Honeycomb Plugin Archetype

Change-Id: I6e04fb769e82fb539dbd6a79bb465974796137a4
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-139: update postman collection 18/2518/1
Marek Gradzki [Fri, 26 Aug 2016 13:02:28 +0000 (15:02 +0200)]
HONEYCOMB-139: update postman collection

with examples of requests for IETF-ACLs management

Change-Id: Ide6b2d93b34f5877a0189d1e214fb78b02239ac5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-139: ietf-acl translation layer. IP6 L3 ACL support 15/2515/2
Marek Gradzki [Fri, 26 Aug 2016 10:37:45 +0000 (12:37 +0200)]
HONEYCOMB-139: ietf-acl translation layer. IP6 L3 ACL support

Other changes:
- documentation update
- eth + ip4 writer rafactoring + tests

Change-Id: I1ac6a4e99dd4f12c870cbd749af6b98018294dd4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-139: ietf-acl translation layer. IP4 L3 ACL support 03/2503/2
Marek Gradzki [Thu, 25 Aug 2016 14:58:55 +0000 (16:58 +0200)]
HONEYCOMB-139: ietf-acl translation layer. IP4 L3 ACL support

Change-Id: I5e5af0d7609aa594790b35a387ec8701f1f6b6df
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-139: ietf-acl translation layer. L2 ACL support 85/2485/2
Marek Gradzki [Wed, 24 Aug 2016 14:52:03 +0000 (16:52 +0200)]
HONEYCOMB-139: ietf-acl translation layer. L2 ACL support

Change-Id: I2b7de991e8d49c20fce66a5f4b193d0060feae56
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoRemove groovy to reduce footprint 95/2495/4
Maros Marsalek [Thu, 25 Aug 2016 08:46:02 +0000 (10:46 +0200)]
Remove groovy to reduce footprint

Change-Id: I798558e52329c26aa5481d702745c4d46e290615
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-143: fix iacl-list reference 84/2484/1
Marek Gradzki [Wed, 24 Aug 2016 14:50:15 +0000 (16:50 +0200)]
HONEYCOMB-143: fix iacl-list reference

Change-Id: I8ce52e35a41f0a24e3c94eba5a02b486ffa3fdf5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHoneycomb deb packaging 52/2452/5
Maros Marsalek [Mon, 22 Aug 2016 10:59:37 +0000 (12:59 +0200)]
Honeycomb deb packaging

Change-Id: I6f029ef9236cbd3f7f20fd8e44f83b15cdedc5db
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoRemove vagrant scripts 43/2443/2
Marek Gradzki [Fri, 19 Aug 2016 14:56:57 +0000 (16:56 +0200)]
Remove vagrant scripts

Scripts were not updated for a long time,
and are not actually needed.

VPP vagrant scripts can be used instead.
Honeycomb build needs only mvn and Java8.

Change-Id: Icba286793fad4780f3ee1a3565a15b303146c82f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-117: add support for jvpp plugins 25/2225/8
Marek Gradzki [Fri, 5 Aug 2016 12:49:14 +0000 (14:49 +0200)]
HONEYCOMB-117: add support for jvpp plugins

Change-Id: I9f1dd5562b13a37392ce92b170a466c48d61bcc5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-18 Fixing comments from reviews 38/2438/1
Maros Marsalek [Fri, 19 Aug 2016 10:20:33 +0000 (12:20 +0200)]
HONEYCOMB-18 Fixing comments from reviews

Change-Id: Ic0565d601d13b5f50ec3c714a43600e32a7e456b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoMake Restconf thread pools configurable 17/2417/3
Maros Marsalek [Wed, 17 Aug 2016 13:38:01 +0000 (15:38 +0200)]
Make Restconf thread pools configurable

Change-Id: Ie03a1fde5181cfd8457e36d67afc2cc0c69c1e1d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-21 Add HTTPS for Restconf 13/2413/3
Maros Marsalek [Wed, 17 Aug 2016 09:47:46 +0000 (11:47 +0200)]
HONEYCOMB-21 Add HTTPS for Restconf

Change-Id: If8bae91ce30592971584645b8dcecdbbeb4a0ddb
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-22: Remove karaf based distribution and wiring 96/2396/8
Maros Marsalek [Tue, 16 Aug 2016 09:04:00 +0000 (11:04 +0200)]
HONEYCOMB-22: Remove karaf based distribution and wiring

Change-Id: I48aafb726de53b6ad3fb9b97c202f712dfa4a540
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-137: Put minimal distribution into RPM 60/2360/11
Maros Marsalek [Fri, 12 Aug 2016 11:51:56 +0000 (13:51 +0200)]
HONEYCOMB-137: Put minimal distribution into RPM

Change-Id: I163be0361f75a29aac569b019892433b12bfb0a6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-21 Vpp-integration minimal distribution 41/2341/14
Maros Marsalek [Thu, 11 Aug 2016 13:37:28 +0000 (15:37 +0200)]
HONEYCOMB-21 Vpp-integration minimal distribution

Change-Id: I1a44028ae38c3ab70aa3a7b173cd0c81c820378a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-23 Add plugin sample and sample minimal distribution 37/2337/4
Maros Marsalek [Thu, 11 Aug 2016 11:05:32 +0000 (13:05 +0200)]
HONEYCOMB-23 Add plugin sample and sample minimal distribution

Change-Id: Idbcdc5a52a9bfd3b90c039f1a1e58c258cd01849
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-19 Minimal distro ans wiring for hc infra 36/2336/4
Maros Marsalek [Thu, 11 Aug 2016 11:04:56 +0000 (13:04 +0200)]
HONEYCOMB-19 Minimal distro ans wiring for hc infra

Change-Id: I8f0e577ac91106e6025f7f2f27811f850e1c5253
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-21 Common parents for minimal distributions 35/2335/3
Maros Marsalek [Thu, 11 Aug 2016 11:03:40 +0000 (13:03 +0200)]
HONEYCOMB-21 Common parents for minimal distributions

Change-Id: Iaa2e3f80289444d1a965eaaebfdb4a77d1bea301
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-46: Add NSH feature in Honeycomb 54/1754/15
Hongjun Ni [Fri, 24 Jun 2016 15:44:03 +0000 (23:44 +0800)]
HONEYCOMB-46: Add NSH feature in Honeycomb

PatchSet 14: Refactor NSH Plugin based on new code organization
PatchSet 13: merge Change 1796: Add nsh-entry Yang Model
PatchSet 12:augment with vxlan-encap-type
PatchSet 11: rebase and make nsh yang model visible to ODL netconf
PatchSet 8: move vpp-nsh.yang to v3po/nsh folder
PatchSet 7: split two patches: nsh-entry and nsh-map
PatchSet 6: support md-type1 and md-type2
PatchSet 5: Use encap-type and parameters
PatchSet 4: Use identity instead of enum
PatchSet 3: consolidate comments from Ed
PatchSet 2: fix indent issue.

Change-Id: I18353b714d39199ffa346fd39da6cafdbcc1b30c
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoProxy ARP reader/writer 64/2064/5
Wojciech Dec [Tue, 19 Jul 2016 17:54:25 +0000 (19:54 +0200)]
Proxy ARP reader/writer

Change-Id: Iabb947e89cbb906e78e4d87bc99fb5e8d09e495c
Signed-off-by: Wojciech Dec <wdec@cisco.com>
8 years agoHONEYCOMB-75 - Lisp API 62/2362/4
Jan Srnicek [Mon, 15 Aug 2016 13:34:24 +0000 (15:34 +0200)]
HONEYCOMB-75 - Lisp API

Change-Id: I9999bd2c10fb8731aaabc2a0875eac43647d9e08
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-139: yang model for ietf-acl draft revision 8 80/2380/2
Marek Gradzki [Mon, 15 Aug 2016 13:03:10 +0000 (15:03 +0200)]
HONEYCOMB-139: yang model for ietf-acl draft revision 8

Change-Id: I9250e07f3811036f483959aa841897380bcb7669
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-125: postman collection update 77/2377/2
Marek Gradzki [Mon, 15 Aug 2016 10:29:59 +0000 (12:29 +0200)]
HONEYCOMB-125: postman collection update

Change-Id: I1b8bdfcb239692799d20ff06140aa0e9a2c4a8fd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-125: write support for ARP termination table 76/2376/2
Marek Gradzki [Mon, 15 Aug 2016 10:24:21 +0000 (12:24 +0200)]
HONEYCOMB-125: write support for ARP termination table

Change-Id: I231edbf27f83401d4f6d20a2b5acaf4b7a36b984
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-125: yang model for ARP termination table management 75/2375/2
Marek Gradzki [Mon, 15 Aug 2016 07:04:22 +0000 (09:04 +0200)]
HONEYCOMB-125: yang model for ARP termination table management

Change-Id: Ibf7139eb85ffd4fac489f42ebba5041b585f5dcf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-112 : Added regex for tap-name 57/2357/2
Jan Srnicek [Fri, 12 Aug 2016 10:19:17 +0000 (12:19 +0200)]
HONEYCOMB-112 : Added regex for tap-name

Change-Id: I3ea78b8a26296f6509659f3237aa34365adab723
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-120 : Improved split-horizon-group 30/2330/1
Jan Srnicek [Thu, 11 Aug 2016 07:17:58 +0000 (09:17 +0200)]
HONEYCOMB-120 : Improved split-horizon-group

Change-Id: Icfa4a8aa136370692bf2d69f6c6b84ebfb5e3ef1
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-85 - HC persistence clearing with karaf clean 57/2257/2
Jan Srnicek [Mon, 8 Aug 2016 13:04:36 +0000 (15:04 +0200)]
HONEYCOMB-85 - HC persistence clearing with karaf clean

Change-Id: Icd75bd026f6976361aedfdfdc5849270b9c0d2cf
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoHONEYCOMB-136: Revert HC NETCONF binding port back to 2831 83/2283/2
Maros Marsalek [Tue, 9 Aug 2016 08:29:52 +0000 (10:29 +0200)]
HONEYCOMB-136: Revert HC NETCONF binding port back to 2831

The reconfiguration is unstable and cannot be used

Change-Id: I1197fb19591d72b2441d226c032d3f4264cb2512
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-83: Add GRE requests to the POSTMAN collection 53/2053/3
Hongjun Ni [Fri, 22 Jul 2016 15:14:41 +0000 (23:14 +0800)]
HONEYCOMB-83: Add GRE requests to the POSTMAN collection

Change-Id: I1bef6c3acd2274ca057a6b735bede36aa7dabb06
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
8 years agoHONEYCOMB-83: Add Gre Feature within HC 52/2052/8
Hongjun Ni [Fri, 22 Jul 2016 11:20:18 +0000 (19:20 +0800)]
HONEYCOMB-83: Add Gre Feature within HC

PatchSet 7: refactor code
PatchSet 6: Refactor based on new code organization
PatchSet 5: consolidate review comments
PatchSet 4: refactor to support reader registry
PatchSet 3: rebuild
PatchSet 2: update outer-fib-id in v3po.yang.
PatchSet 1: Add GRE feature and support IPv6.

Change-Id: I1fc064b618f161eaef06395380949277e2f9f060
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
8 years agoHONEYCOMB-130: Update rpm build to use vpp-integration karaf 57/2157/2
Maros Marsalek [Mon, 1 Aug 2016 11:02:13 +0000 (07:02 -0400)]
HONEYCOMB-130: Update rpm build to use vpp-integration karaf

Change-Id: Id808bc72887cfd40f322266d95d21a2ef77f59ce
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-130: Rename features (remove odl prefix) 38/2138/6
Maros Marsalek [Fri, 29 Jul 2016 13:19:44 +0000 (15:19 +0200)]
HONEYCOMB-130: Rename features (remove odl prefix)

Change-Id: I31db89469f6a619ced0c645f1c9375d7b60f1320
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-130: Create vpp-integration distribution 37/2137/4
Maros Marsalek [Fri, 29 Jul 2016 13:04:39 +0000 (15:04 +0200)]
HONEYCOMB-130: Create vpp-integration distribution

And remove v3po-karaf. No need for plugins to create karaf distro,
instead plugins are required to add their features into vpp-integration

Change-Id: I74c29843ee7927bcc4456fbe2bfb52506225078f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-130: Rename infra packages(remove vpp/v3po) 32/2132/6
Maros Marsalek [Fri, 29 Jul 2016 14:27:12 +0000 (16:27 +0200)]
HONEYCOMB-130: Rename infra packages(remove vpp/v3po)

Change-Id: Ic5b90e397e3743623d01b206bc60bc5c7df6b981
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-130: Separate v3po plugin from HC infra 31/2131/5
Maros Marsalek [Wed, 27 Jul 2016 09:05:51 +0000 (11:05 +0200)]
HONEYCOMB-130: Separate v3po plugin from HC infra

Creating folders:
- common/
- infra/
- v3po/
- vpp-common/

Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-106 - Support for generic cache management 04/1804/10
Jan Srnicek [Wed, 27 Jul 2016 09:13:11 +0000 (11:13 +0200)]
HONEYCOMB-106 - Support for generic cache management

Changed exception handling/logging
Removed useless utility class/its logic shifted to respective classes
Cleanup of not needed code

Change-Id: Id2fe4ab60b541067c3d0dc6fa442fbfa66d1e618
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
8 years agoFix initializer for vpp classifier 61/2061/3
Marek Gradzki [Fri, 22 Jul 2016 12:43:19 +0000 (14:43 +0200)]
Fix initializer for vpp classifier

Change-Id: I5a94bafb426b4f0b2e077153593f714a69ad2abb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoFix classifier writer ordering 45/2045/3
Maros Marsalek [Thu, 21 Jul 2016 14:33:17 +0000 (16:33 +0200)]
Fix classifier writer ordering

Change-Id: Iee5dfcad853dc7d7f8a5eb4a4b2afc1d92b6b1c8
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoFix Subinterface acl initalizer NPE 44/2044/3
Maros Marsalek [Thu, 21 Jul 2016 13:53:33 +0000 (15:53 +0200)]
Fix Subinterface acl initalizer NPE

Change-Id: Ibd1b1cf66d702e440c2a575f69a977347f638e17
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoRemove interface type check from ethernet customzier 51/1951/8
Maros Marsalek [Tue, 12 Jul 2016 14:45:59 +0000 (16:45 +0200)]
Remove interface type check from ethernet customzier

Change-Id: Iea27dac55312ad8c80380823b3f8a0d703e94011
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-122: Reader registry integration tests 20/2020/5
Maros Marsalek [Thu, 14 Jul 2016 08:41:49 +0000 (10:41 +0200)]
HONEYCOMB-122: Reader registry integration tests

Add IT test for read infrastructure + some additional unit tests

+ Make Read/Write Factory autoCloseable

Change-Id: I6eab8e6df2c2132af01cea0a9c4b9bece7dc9b74
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-122 Update reader registry to share similar APIs as writer 50/1950/5
Maros Marsalek [Wed, 13 Jul 2016 09:52:51 +0000 (11:52 +0200)]
HONEYCOMB-122 Update reader registry to share similar APIs as writer

+ Extract common registry builder base code
(Reader registry is not flat, so there is not full control over ordering as with writers
but it is sufficient)
+ Split CompositeReader into CompositeReader, SubtreeReader and GenericReader
+ No need to build composite structure in ReaderFactories (registry does that internally)
+ Keep only ReaderCustomizer + ListReaderCustomizer, no root reader (same for writers)

Change-Id: Ic4e5bc96ad47a6cbcada4efcc2209db5c16d2a6c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-49: fix outstanding issues found in review 10/2010/1
Marek Gradzki [Tue, 19 Jul 2016 11:18:38 +0000 (13:18 +0200)]
HONEYCOMB-49: fix outstanding issues found in review

Change-Id: Ic3314c8ddf75bda89f5170a503cf589f2ae743ab
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-49: add ACL requests to the POSTMAN collection 12/1412/6
Marek Gradzki [Fri, 1 Jul 2016 14:20:39 +0000 (16:20 +0200)]
HONEYCOMB-49: add ACL requests to the POSTMAN collection

Change-Id: If467d65bdd2d76816954fb9c27b223b136838f6f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-49: initializers for VPP classifier 60/1960/1
Marek Gradzki [Thu, 14 Jul 2016 13:49:37 +0000 (15:49 +0200)]
HONEYCOMB-49: initializers for VPP classifier

Change-Id: Ia52bb38ce26da31bf33d142c19f20091c4ed951a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-49: ACL create/delete support for vpp-interface-augmentation 10/1410/11
Marek Gradzki [Sun, 5 Jun 2016 19:53:18 +0000 (21:53 +0200)]
HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentation

Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-49: VPP classifier model. Translation layer implementation 54/1954/3
Marek Gradzki [Wed, 13 Jul 2016 06:48:14 +0000 (08:48 +0200)]
HONEYCOMB-49: VPP classifier model. Translation layer implementation

Change-Id: I7d91f29f621fbb7ede9b3dd5d49a9b5c3ba58565
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-49: VPP classifier model. Initial version 82/1382/16
Marek Gradzki [Wed, 13 Jul 2016 06:46:56 +0000 (08:46 +0200)]
HONEYCOMB-49: VPP classifier model. Initial version

Change-Id: I8dbd22657c1cd1c9dfc45ca130015b5b3dbffee1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoAdd google's error prone static analysis to build 59/1959/1
Maros Marsalek [Thu, 14 Jul 2016 07:54:50 +0000 (09:54 +0200)]
Add google's error prone static analysis to build

Can be also integrated with IDEs:
http://errorprone.info/docs/installation

Change-Id: I5f695995078139a077bd9d62c68792207c904e11
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoFix l2fib initializer 60/1860/6
Maros Marsalek [Wed, 6 Jul 2016 06:52:14 +0000 (08:52 +0200)]
Fix l2fib initializer

Change-Id: I2ae8bfd01e455dcdcb891db7653578943180e20b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-81 Fix v3po2vpp writer order 47/1847/6
Maros Marsalek [Mon, 4 Jul 2016 14:55:22 +0000 (16:55 +0200)]
HONEYCOMB-81 Fix v3po2vpp writer order

Now fully persisted configuration can be restored when VPP and HC restart

Change-Id: I6ad146da004044f643925208f8951e8eb8e87627
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoIntroduce integration tests to Honeycomb 35/1835/8
Maros Marsalek [Fri, 1 Jul 2016 14:24:01 +0000 (16:24 +0200)]
Introduce integration tests to Honeycomb

+ Add writer infrastructure initial test

Change-Id: I0c1017f55c9456f145943ca6db6221555b746c8f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-94 Reimplement writer registry with better ordering options 55/1755/11
Maros Marsalek [Wed, 29 Jun 2016 07:14:51 +0000 (09:14 +0200)]
HONEYCOMB-94 Reimplement writer registry with better ordering options

Now the registry is flat and allows for full control of writer execution order

Change-Id: I864e1d676588ffe59b596145e0829e81b1a1ed2f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-113: fix u16<->short conversion in SubInterfaceCustomizer 30/1930/3
Marek Gradzki [Mon, 11 Jul 2016 09:52:37 +0000 (11:52 +0200)]
HONEYCOMB-113: fix u16<->short conversion in SubInterfaceCustomizer

Change-Id: If958a33edc42b76dd4105ec7a355a12e8afc0835
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-113 - refactoring based on jvpp type-conversion changes 90/1890/1
Jan Srnicek [Thu, 7 Jul 2016 11:21:26 +0000 (13:21 +0200)]
HONEYCOMB-113 - refactoring based on jvpp type-conversion changes

Change-Id: I5792e8cbcaf4e214386083850594119e6f6ed445
Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
8 years agoHONEYCOMB-97 - Added support for ip_neighbour_add_del 81/1681/13
Jan Srnicek [Sun, 3 Jul 2016 16:56:54 +0000 (18:56 +0200)]
HONEYCOMB-97 - Added support for ip_neighbour_add_del

Change-Id: I20d957bbfce3e1c50d7501844382a3ef301c3e95
Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
8 years agoHONEYCOMB-104: add Ipv4 support to sub-interfaces 78/1778/7
Marek Gradzki [Mon, 27 Jun 2016 13:23:28 +0000 (15:23 +0200)]
HONEYCOMB-104: add Ipv4 support to sub-interfaces

* updates vpp-vlan.yang with Ipv4 and Ipv6 support
  based on ietf-ip rev. 2014-06-16
* adds Ipv4 support for sub-interfaces

Ipv6 support for interfaces and sub-interfaces will
be addded in the future (HONEYCOMB-102)

Change-Id: I0bf10fe3ff1c543685f651d8b6fb06bbeee3db92
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-105 Make interface notification creation thread safe 08/1808/1
Maros Marsalek [Wed, 29 Jun 2016 14:01:40 +0000 (16:01 +0200)]
HONEYCOMB-105 Make interface notification creation thread safe

Change-Id: Ife48ff6ed3c8290f223fd14df1366927923bad30
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoFix IPv4 read caching 73/1773/3
Maros Marsalek [Mon, 27 Jun 2016 09:49:12 +0000 (11:49 +0200)]
Fix IPv4 read caching

Single cache key was used for each interface during a single read
returing same IPs for all the interfaces

Change-Id: I8cc05591b257d44a253cc23c9d79d9096459dcdd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-100: introduce default 5s timeout 69/1769/1
Marek Gradzki [Mon, 27 Jun 2016 08:16:31 +0000 (10:16 +0200)]
HONEYCOMB-100: introduce default 5s timeout
in TranslateUtils.getReplyFor* calls

Change-Id: Iac2bb428ea6adcc8d3da2238db1dec708df550f0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoAdd logs to JVpp config module 13/1713/2
Maros Marsalek [Wed, 22 Jun 2016 13:56:28 +0000 (15:56 +0200)]
Add logs to JVpp config module

Change-Id: I1a1c27a29b7243968c7367968f1e32a75dac177e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-92 Ignore empty modifications for e.g. empty presence containers 04/1704/3
Maros Marsalek [Wed, 22 Jun 2016 12:35:29 +0000 (14:35 +0200)]
HONEYCOMB-92 Ignore empty modifications for e.g. empty presence containers

Change-Id: I565686dbd2474fffbfea4e8cc837861845723bda
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-95: remove sub-interfaces from the list of interfaces 00/1700/2
Marek Gradzki [Wed, 22 Jun 2016 10:57:07 +0000 (12:57 +0200)]
HONEYCOMB-95: remove sub-interfaces from the list of interfaces

Change-Id: I3a22bbfd49a5e3c1519526a98e8841807553710b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-99: perform write/update after delete for all list writers 99/1699/1
Marek Gradzki [Wed, 22 Jun 2016 08:59:16 +0000 (10:59 +0200)]
HONEYCOMB-99: perform write/update after delete for all list writers

Order of delete/write/update operations can have side-effects for
devices like VPP:

Adding more than one IPv4 address can in some circumstances
be silently ignored by VPP, therefore in case of updating IPs list,
addresses have to be deleted first.

Change-Id: I8712827e3c95232dac20a9ee35be1bc5b567bd54
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-64: Add ipv4 netmask support 90/1490/9
Marek Gradzki [Tue, 21 Jun 2016 08:21:39 +0000 (10:21 +0200)]
HONEYCOMB-64: Add ipv4 netmask support

Supported contiguous netmask only
(strictly, only leading 1s are allowed)
Update postman collection

Change-Id: I989bbd013227bc3e1eda0861241543db0cdbf656
Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-98: Fixed initializing of Ipv4 container 18/1618/3
Jan Srnicek [Mon, 20 Jun 2016 10:52:30 +0000 (12:52 +0200)]
HONEYCOMB-98: Fixed initializing of Ipv4 container

Change-Id: I19161f9a25534160b2473b2a03c4a3c9fc4a2c1c
Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
8 years agoFix for rpmbuild 47/1647/1
Ed Warnicke [Fri, 17 Jun 2016 19:54:04 +0000 (14:54 -0500)]
Fix for rpmbuild

Change-Id: I8d7f1c17d750db72a7344b3c670ed850d5b90dff
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoFix path for honyecomb.spec file 42/1642/2
Ed Warnicke [Fri, 17 Jun 2016 18:18:08 +0000 (13:18 -0500)]
Fix path for honyecomb.spec file

Change-Id: Icc9cc635a9bcd3b29f42601b0ee283cbfdec4c9a
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoInstrument rpm build in honeycomb. 38/1638/2
Ed Warnicke [Fri, 17 Jun 2016 17:38:20 +0000 (12:38 -0500)]
Instrument rpm build in honeycomb.

Change-Id: If88759bc29a74e4d1b8c4190ac371e75c9d08c8d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoHONEYCOMB-96 - Fixed bad structure of writers for Ipv4/Address 98/1598/3
Jan Srnicek [Thu, 16 Jun 2016 13:41:09 +0000 (15:41 +0200)]
HONEYCOMB-96 - Fixed bad structure of writers for Ipv4/Address

Change-Id: Ie085c448aad6557ce3326922268753823adffb22
Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
8 years agoAdded rpm for honeycomb 74/1574/2
Ed Warnicke [Wed, 15 Jun 2016 16:27:53 +0000 (16:27 +0000)]
Added rpm for honeycomb

Change-Id: I2dd2f1bae1c5f0b0232b8e453c3fa8a1761d657d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoImplement L2 container delete 60/1560/3
Maros Marsalek [Wed, 15 Jun 2016 10:02:42 +0000 (12:02 +0200)]
Implement L2 container delete

Change-Id: I5173a892ec3e8ac695a5391e570c10f488241e07
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-91: fix restoring BD from persisted config. 37/1537/6
Marek Gradzki [Tue, 14 Jun 2016 08:35:53 +0000 (10:35 +0200)]
HONEYCOMB-91: fix restoring BD from persisted config.

Covers case when bd_id was present in the bdContext

Change-Id: I817fc684f175958f772a87ee708fa7f49ceec6f7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-91: updated POSTMAN collection with L2 FIB support 23/1523/6
Marek Gradzki [Mon, 13 Jun 2016 13:21:34 +0000 (15:21 +0200)]
HONEYCOMB-91: updated POSTMAN collection with L2 FIB support

Change-Id: Ie4c0d866b4707af3260d5f5697c5ef21b8256a28
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-91: initializer for L2 FIB tables 22/1522/6
Marek Gradzki [Mon, 13 Jun 2016 12:58:50 +0000 (14:58 +0200)]
HONEYCOMB-91: initializer for L2 FIB tables

Change-Id: I7f133ea56fc3bb11e0f4b584839dabc0754a8d50
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-91: write customizer for L2FibEntry 19/1519/7
Marek Gradzki [Mon, 13 Jun 2016 08:01:40 +0000 (10:01 +0200)]
HONEYCOMB-91: write customizer for L2FibEntry

Change-Id: I80353d9468924df755b7dfe2fca33515becdb8b5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-91: Create read customizer for L2FibEntry 95/1495/8
Marek Gradzki [Fri, 10 Jun 2016 13:28:09 +0000 (15:28 +0200)]
HONEYCOMB-91: Create read customizer for L2FibEntry

Change-Id: I0ad5d98ba6c9442c79b21bf04be07b81d04a4595
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-91: BD and L2 FIB YANG model refactoring 71/1471/12
Marek Gradzki [Wed, 8 Jun 2016 12:08:30 +0000 (14:08 +0200)]
HONEYCOMB-91: BD and L2 FIB YANG model refactoring

Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-92: Process modifications recursively 41/1541/2
Maros Marsalek [Tue, 14 Jun 2016 08:48:26 +0000 (10:48 +0200)]
HONEYCOMB-92: Process modifications recursively

+ Fix update subtree, child writer lookup
+ Change initializers operation to merge

Change-Id: I6ece7eb3d17d5a0b4a413189ddd383567d7e2270
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoHONEYCOMB-67: Minor corrections in tests, styles 98/1498/5
Tibor Sirovatka [Fri, 10 Jun 2016 13:42:30 +0000 (15:42 +0200)]
HONEYCOMB-67: Minor corrections in tests, styles

Removed unnecessary calls from tests
Sonar corrections

Change-Id: Ib182d66fd47a4feb9686989d086482ffe188470f
Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
8 years agoHONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interface 13/1513/2
Hongjun Ni [Sun, 12 Jun 2016 11:11:27 +0000 (19:11 +0800)]
HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interface

Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
8 years agoFix Vxlan-gpe interface state from VPP 12/1512/5
Hongjun Ni [Sun, 12 Jun 2016 11:03:40 +0000 (19:03 +0800)]
Fix Vxlan-gpe interface state from VPP

PatchSet 2: consolidate review comments.

Change-Id: I50e0dc1c8acff0f22dad80ed5aa547e95728081a
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
8 years agoDisable strict javadoc checks in Oracle JDK 16/1516/3
Marek Gradzki [Mon, 13 Jun 2016 11:57:06 +0000 (13:57 +0200)]
Disable strict javadoc checks in Oracle JDK

Currently, compilation fails on Oracle JDK8, due to
its strict javadoc checks.

Change-Id: Id1c703834edeab32aa76ce765f5a0d7851f5022e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoEnable checkstyle 99/1499/2
Maros Marsalek [Fri, 10 Jun 2016 13:56:09 +0000 (15:56 +0200)]
Enable checkstyle

Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoIntroduce coding style and checkstyle rules 97/1497/2
Maros Marsalek [Fri, 10 Jun 2016 13:31:29 +0000 (15:31 +0200)]
Introduce coding style and checkstyle rules

Change-Id: I1e67065393cdb901b81d5c5f8f3cec42f1b39fc8
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoRemove reduntant list of interfaces for BD 88/1488/2
Marek Gradzki [Fri, 10 Jun 2016 10:42:37 +0000 (12:42 +0200)]
Remove reduntant list of interfaces for BD

Interface has BD reference already

Change-Id: I21d71cc79ec22378e11bfb5fe1bc479b26c21639
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-7: Remove vbd reference from gitignore 87/1487/2
Marek Gradzki [Fri, 10 Jun 2016 09:09:22 +0000 (11:09 +0200)]
HONEYCOMB-7: Remove vbd reference from gitignore

Change-Id: Id0886aed4fdafd8b134b7245afb0ddff66ce1fa8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-33: Add notification service to Hc 21/721/13
Maros Marsalek [Sat, 9 Apr 2016 14:22:06 +0000 (16:22 +0200)]
HONEYCOMB-33: Add notification service to Hc

Implement VPP interface notification translator as part
of v3po2vpp plugin

Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoRemove artificial limit on the maximum number of bridge-domains 47/1447/4
Marek Gradzki [Wed, 8 Jun 2016 08:08:26 +0000 (10:08 +0200)]
Remove artificial limit on the maximum number of bridge-domains

VPP code does not limit number of bridge domains to 1024.

Change-Id: I280174d0e741b599b39f05b8db2bf0a423aeffcb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoMake filterSubtree recursive 74/1474/2
Marek Gradzki [Thu, 9 Jun 2016 13:00:11 +0000 (15:00 +0200)]
Make filterSubtree recursive

Change-Id: I7b2b888fd7debb0aec3292a07fc35c0e6493d117
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-7: Remove VBD form HC 84/1484/2
Marek Gradzki [Fri, 10 Jun 2016 05:36:43 +0000 (07:36 +0200)]
HONEYCOMB-7: Remove VBD form HC

VBD is now subproject of ODL:
https://git.opendaylight.org/gerrit/#/admin/projects/honeycomb/vbd

Change-Id: I1bf01a01cca50fe5e3f4f82a53c6b15ec5c7091d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoHONEYCOMB-62: Add Ip readers 79/1479/2
Maros Marsalek [Wed, 8 Jun 2016 18:51:32 +0000 (20:51 +0200)]
HONEYCOMB-62: Add Ip readers

+ Fix 1 interface reads. Interface reader worked only
if GET interfaces-state was executed

+ Fix readSubtree for augmentations. Comoposite readers did
not check child readers for augmentations, only direct children.

Change-Id: I2bc433e3e5785453062ab262b9edabc72c333bf0
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>