honeycomb.git
7 years agoHONEYCOMB-281 Loopback interface management 59/3659/4
Maros Marsalek [Wed, 2 Nov 2016 11:35:50 +0000 (12:35 +0100)]
HONEYCOMB-281 Loopback interface management

Change-Id: I7e4d817bb7dfe9ccd779e59347c956233c012e4a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdd vpp-plugins as a dependency 60/3660/1
Maros Marsalek [Wed, 2 Nov 2016 12:34:23 +0000 (13:34 +0100)]
Add vpp-plugins as a dependency

Change-Id: I4d8b9ee9c398c4e233d41ea81de76fc7ba1b17ce
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-248 Enable in/out NAT feature read 42/3542/4
Maros Marsalek [Mon, 24 Oct 2016 14:14:37 +0000 (16:14 +0200)]
HONEYCOMB-248 Enable in/out NAT feature read

Change-Id: I6fe57b955437d0b0024323bcbac268f0ed4799f6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-272: bump mockito version to 2.2.9 54/3654/1
Marek Gradzki [Fri, 28 Oct 2016 11:12:19 +0000 (13:12 +0200)]
HONEYCOMB-272: bump mockito version to 2.2.9

ArgumentMatchers.any() does not match null anymore,
so some of the tests has been updated.

Change-Id: I5de0fdfe87fc8e5c8ce24bfae8daeaba032195ff
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoAdd support for ipv6 vrf 38/3638/1
Marek Gradzki [Mon, 31 Oct 2016 14:46:41 +0000 (15:46 +0100)]
Add support for ipv6 vrf

Change-Id: I3372d4156a19157ca431cb29c23de33161f6cfc0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-70: add control ping to vpp-state 37/3637/2
Marek Gradzki [Mon, 31 Oct 2016 13:37:57 +0000 (14:37 +0100)]
HONEYCOMB-70: add control ping to vpp-state

Change-Id: I7f02841d899465fd2156db0bb79fcc490cd4929f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate l2 constaint in v3po.yang 36/3636/1
Marek Gradzki [Mon, 31 Oct 2016 11:04:10 +0000 (12:04 +0100)]
Update l2 constaint in v3po.yang

Permit BVI interface to have IP address assigned

Change-Id: I86f39b1e07fa00f05328e293377e0b84c23ebe1a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix relative parent for test-api 23/3623/2
Maros Marsalek [Fri, 28 Oct 2016 15:20:27 +0000 (17:20 +0200)]
Fix relative parent for test-api

Change-Id: Iee03b1506302dd5a9a4d16e0c85d695fcccf7d03
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-274 Fix checkstyle license checks 09/3609/3
Maros Marsalek [Thu, 27 Oct 2016 12:55:07 +0000 (14:55 +0200)]
HONEYCOMB-274 Fix checkstyle license checks

Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers remove leftovers 93/3593/2
Maros Marsalek [Wed, 26 Oct 2016 10:20:14 +0000 (12:20 +0200)]
Honeycomb-73 Extensible initializers remove leftovers

Change-Id: Id610346e39585867290170bf09528ecf6e032ee4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers for samples 92/3592/2
Maros Marsalek [Wed, 26 Oct 2016 10:19:23 +0000 (12:19 +0200)]
Honeycomb-73 Extensible initializers for samples

Change-Id: I08f53a301cc147ce1e8cce8b3bd5c82e8f4b21fd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers for nsh 91/3591/2
Maros Marsalek [Wed, 26 Oct 2016 10:19:14 +0000 (12:19 +0200)]
Honeycomb-73 Extensible initializers for nsh

Change-Id: I019e4d1ac50d77c20b47c39e7eafee36cc04509b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers for lisp 90/3590/2
Maros Marsalek [Wed, 26 Oct 2016 10:19:02 +0000 (12:19 +0200)]
Honeycomb-73 Extensible initializers for lisp

Change-Id: I30b0f472a8ba79b74c92c1b8283d23e860ec78af
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers for nat 89/3589/2
Maros Marsalek [Wed, 26 Oct 2016 10:18:53 +0000 (12:18 +0200)]
Honeycomb-73 Extensible initializers for nat

Change-Id: Ic3f28ecf2a798a9ff084abb551f90bad516d3a13
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers for v3po 88/3588/2
Maros Marsalek [Wed, 26 Oct 2016 10:18:40 +0000 (12:18 +0200)]
Honeycomb-73 Extensible initializers for v3po

Change-Id: Ic148b22f9bc48ff29bf67894e2cecafa29772db7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHoneycomb-73 Extensible initializers framework 87/3587/2
Maros Marsalek [Wed, 26 Oct 2016 10:18:11 +0000 (12:18 +0200)]
Honeycomb-73 Extensible initializers framework

Change-Id: Ib23453d4040d59a512686315995a5cf9e532cefc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoEnable createParents for RealtimeMappingContext 86/3586/1
Maros Marsalek [Wed, 26 Oct 2016 10:15:47 +0000 (12:15 +0200)]
Enable createParents for RealtimeMappingContext

Change-Id: I2f5747a2348728b88f9ff9d5c3f0f39a98dbefdf
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoRemove gzip filter from Restconfs web.xml 84/3584/2
Maros Marsalek [Wed, 26 Oct 2016 08:40:17 +0000 (10:40 +0200)]
Remove gzip filter from Restconfs web.xml

Change-Id: I720a27965b3b95122f31316ae6d4d4dfa9874041
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-266 - Test data injection with @InjectTestData 07/3507/6
Jan Srnicek [Wed, 26 Oct 2016 08:14:11 +0000 (10:14 +0200)]
HONEYCOMB-266 - Test data injection with @InjectTestData

Field/Method param injection of data from json files that
are bindable/parsable by provided yang schema

Change-Id: I726ef5d92e85d93d1e48175287b6192538965dd5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoEnable NAT plugin 83/3583/2
Maros Marsalek [Wed, 26 Oct 2016 08:09:45 +0000 (10:09 +0200)]
Enable NAT plugin

Change-Id: I91f762210f7aca1dd0f4bd6ca4bda2c9d42dde28
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAugment postman json with nsh_action 80/3580/2
Hongjun Ni [Wed, 26 Oct 2016 11:28:30 +0000 (19:28 +0800)]
Augment postman json with nsh_action

Change-Id: I2940b98397f1bdb140b042e78551971b868180f2
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoHONEYCOMB-255 - Cutting identifiers to prevent failing of reverts 91/3391/8
Jan Srnicek [Mon, 24 Oct 2016 11:02:59 +0000 (13:02 +0200)]
HONEYCOMB-255 - Cutting identifiers to prevent failing of reverts

Mapping allready processes changes for reverting by InstanceIdentifier
instead of using KeyedInstanceIdentifier(to prevent failing to identify
handleable nodes)
Modified logging to prevent double/triple logging of detailed cause
of failed bulk update
Reusing WriteContext for revert(removed try with resource to prevent
closing of write context before revert)

Change-Id: Ie939ebe443629f9cdad5b5b449aa8c5dac40ea67
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAugment nsh map API with nsh_action 96/3496/3
Hongjun Ni [Thu, 20 Oct 2016 15:56:38 +0000 (23:56 +0800)]
Augment nsh map API with nsh_action

Depends on VPP's patch: https://gerrit.fd.io/r/#/c/3462/

Change-Id: I874cb7c5b39b9ece75d7d9af980e8d25df6f5aad
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoFix ipv4 neighbor initialization (NPE) 28/3528/2
Maros Marsalek [Fri, 21 Oct 2016 10:36:59 +0000 (12:36 +0200)]
Fix ipv4 neighbor initialization (NPE)

Change-Id: I657db9617f3477201ccd6f1a8743b1843e99ba16
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix attributes substitution in release_notes 27/3527/4
Maros Marsalek [Fri, 21 Oct 2016 10:24:40 +0000 (12:24 +0200)]
Fix attributes substitution in release_notes

Change-Id: I96ae1f6e5b21bf2db010758c8c0f4267aef59e93
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRemove unused builders for union types generated by yangtools 08/3508/3
Marek Gradzki [Thu, 20 Oct 2016 14:27:47 +0000 (16:27 +0200)]
Remove unused builders for union types generated by yangtools

Generated builders are not used in the runtime.

Starting from ODL boron, strings that represent union types,
are processed according to YANG RFC, that is in the order
they are specified in the "type" statement,
unitl a match is found. That makes
builders for union types obsolete.

Change-Id: If9289a0dde34f345a672103d2461a3acd00e2afd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-264: cache classify table delete 06/3506/3
Marek Gradzki [Wed, 19 Oct 2016 12:50:04 +0000 (14:50 +0200)]
HONEYCOMB-264: cache classify table delete

Change-Id: I8b43f9a6220b90aaed5d85d60c0d2095518d6226
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix NPE in VppInitializer occuring when no BDs are configured 24/3524/2
Marek Gradzki [Fri, 21 Oct 2016 06:11:53 +0000 (08:11 +0200)]
Fix NPE in VppInitializer occuring when no BDs are configured

Change-Id: Iafebdc5dcc978313daf9818907fc27b2909ecc04
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRelease notes 26/3426/3
Maros Marsalek [Fri, 14 Oct 2016 12:09:02 +0000 (14:09 +0200)]
Release notes

- migrated from wiki
- updated versions to current version

- notes are built with each regular build
- notes root is at: target/generated-docs/release_notes.html
- notes are inlined into site

Change-Id: I581898988f41f77f5eafb20e9e61e08f09908b98
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-268: Fix order of union types in vpp-index 05/3505/2
Marek Gradzki [Thu, 20 Oct 2016 12:38:27 +0000 (14:38 +0200)]
HONEYCOMB-268: Fix order of union types in vpp-index

ODL does not uses builders for unions anymore.
Unused builders will be removed in subsequent commit.

Change-Id: Ib4e77fed19f591f6f0dc836d66067a2827d2e202
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-261 Make ModificationDiff schema aware 91/3491/2
Maros Marsalek [Wed, 19 Oct 2016 13:32:57 +0000 (15:32 +0200)]
HONEYCOMB-261 Make ModificationDiff schema aware

to check presence statement on containers for starters
+ update all checks in ModificationDiff to be performed on schema
instead of data

Change-Id: I6ec1a0f9e1ca821ef9f6835072d075dd0994bdb6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-261 Dont return empty containers from read 90/3490/2
Maros Marsalek [Wed, 19 Oct 2016 13:01:41 +0000 (15:01 +0200)]
HONEYCOMB-261 Dont return empty containers from read

Change-Id: I0b17b958f55a5bf83e2644dc9843fe5e631baa55
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-234: L2 egress ACL support 68/3468/2
Marek Gradzki [Fri, 14 Oct 2016 12:52:39 +0000 (14:52 +0200)]
HONEYCOMB-234: L2 egress ACL support

Change-Id: I2912f1265af7487ceed1be01ac489ba765311a97
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-157: fix honeycomb-kill script 39/3439/2
Marek Gradzki [Mon, 17 Oct 2016 09:30:06 +0000 (11:30 +0200)]
HONEYCOMB-157: fix honeycomb-kill script

Change-Id: I10c5446d17cecec00188dc69389bbc85c90ce652
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoMake ip-version mandatory for all ACEs 63/3463/1
Marek Gradzki [Tue, 18 Oct 2016 07:48:01 +0000 (09:48 +0200)]
Make ip-version mandatory for all ACEs

- ip-version was mandatory only when mixing l2/l3 rules in one ACE
(vpp api limitation). It needs to be provided also in case of
ACEs that define l3 only rules (we allow mixing ip4/ip6 ACEs
in one list).

- updates postman collestion with example of L4 only acl

Change-Id: Ifb863208c21a504cd61843f7540341bc35a6174a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-218: add support for TCP/UDP port ranges 98/3398/4
Marek Gradzki [Thu, 13 Oct 2016 13:16:39 +0000 (15:16 +0200)]
HONEYCOMB-218: add support for TCP/UDP port ranges

* can be used in combination with any other L2/L3 rule.
* assumes no ip options / extension headers
* provides naive implementation (vpp classfier api limitation):
every (src, dst) is mapped to single classify session.

Change-Id: Id6aa249b3e19f0aa47b9e15b5477d56bc70bee0e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-225 Bump ODL to Boron 21/3421/2
Maros Marsalek [Thu, 13 Oct 2016 15:37:54 +0000 (17:37 +0200)]
HONEYCOMB-225 Bump ODL to Boron

Change-Id: I45e30b4815737dd4bafe39d839d90c9799ad3cb7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-157 Extract groovy scripts from poms 77/3377/6
Maros Marsalek [Wed, 12 Oct 2016 12:48:17 +0000 (14:48 +0200)]
HONEYCOMB-157 Extract groovy scripts from poms

And put all of them into a dedicated module

Change-Id: Id04c66806a89af68d821a43ef92f0a59220e04e9
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-249 Add External IP pool management 44/3344/8
Maros Marsalek [Mon, 10 Oct 2016 13:37:04 +0000 (15:37 +0200)]
HONEYCOMB-249 Add External IP pool management

Change-Id: I3e57b09733b8c7060445ed1af7a5edb3348dd4e1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoRaise test coverage of nsh plugin. HONEYCOMB-198 18/3418/2
Hongjun Ni [Fri, 14 Oct 2016 17:08:28 +0000 (01:08 +0800)]
Raise test coverage of nsh plugin. HONEYCOMB-198

Change-Id: Iaf57bced6f07799e26470dd5c1700a8bbe7960f4
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoRaise test coverage of nsh plugin to 80%. HONEYCOMB-198 09/3409/5
Hongjun Ni [Fri, 14 Oct 2016 12:59:34 +0000 (20:59 +0800)]
Raise test coverage of nsh plugin to 80%. HONEYCOMB-198

Change-Id: Ia1ebc0330544d63c66b6462a33563b86358ace6c
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoHONEYCOMB-254 : Removed workaround for locator-set-index 97/3397/2
Jan Srnicek [Thu, 13 Oct 2016 13:28:14 +0000 (15:28 +0200)]
HONEYCOMB-254 : Removed workaround for locator-set-index

Used value returned from api call instead of workaround
with dumping

Change-Id: Id44404579cde6fb20bb4e9c6d5b3e91fb4dbf2b1
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-249 Add Ipv4Range calulator utility 43/3343/5
Maros Marsalek [Mon, 10 Oct 2016 13:30:12 +0000 (15:30 +0200)]
HONEYCOMB-249 Add Ipv4Range calulator utility

Change-Id: If55fdafd6ed0a9c6acb9de74bf64154d3f26b2d5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-229 Introduce NAT to HC 42/3142/18
Maros Marsalek [Wed, 5 Oct 2016 13:03:33 +0000 (15:03 +0200)]
HONEYCOMB-229 Introduce NAT to HC

Reflects SNAT from VPP:
- 1:1 Static IPv4 mapping
- interface in/out NAT feature management

Bonus:
- Support presence containers in infra

Change-Id: Ieb38526f83edbae5e605d5c7e39bb22bbafc50e5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoCaching for Ipv4 addresses fixed also for readCurrentAttributes 01/3401/1
Jan Srnicek [Thu, 13 Oct 2016 14:58:22 +0000 (16:58 +0200)]
Caching for Ipv4 addresses fixed also for readCurrentAttributes

Caching scope fixed also in specific request logic
Added test

Change-Id: Ib70a3069cf7620132ae5921ddb21b56fa2f4108b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFix Ipv4 address caching again 96/3396/2
Maros Marsalek [Thu, 13 Oct 2016 13:22:08 +0000 (15:22 +0200)]
Fix Ipv4 address caching again

Just as e187f2bd1301a3f20d5316c5a14a99b733f07550

Change-Id: Ia9c86ef60c626f507adf62098b2dc3852932f32f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-207 : Configurable modules list for distributions 69/3269/13
Jan Srnicek [Thu, 13 Oct 2016 11:56:47 +0000 (13:56 +0200)]
HONEYCOMB-207 : Configurable modules list for distributions

Export list of modules for built distribution on compile time according
to distribution.modules property to ***module-config.txt
Load aggregated set of modules on start from all descriptors in /modules
folder

Change-Id: Icdeb23536aee3a243a221d3f2ec5f340d387764e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-233: update postman collection with mac-and-ip rule examples 75/3375/2
Marek Gradzki [Wed, 12 Oct 2016 12:23:43 +0000 (14:23 +0200)]
HONEYCOMB-233: update postman collection with mac-and-ip rule examples

Change-Id: I995385ffb74e03d54549662246025769442aaaeb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-233: add support for mixing L2/L3 rules 65/3365/5
Marek Gradzki [Mon, 10 Oct 2016 12:55:15 +0000 (14:55 +0200)]
HONEYCOMB-233: add support for mixing L2/L3 rules

In case of L2 interfaces, acls are translated into
a chain of classify tables and assigned as L2 table.

In case of L3 interfaces, acls are translated into
ip4 and ip6 chains (eth only rules go to
both chains, rest - depending on ip-version).

Limitations:
- it is not possible to define L3 rule without specifying ip-version
  (common header fields for IP4/IP6 have different offsets),
- eth rules on L3 interfaces are applied only to IP traffic
  (vpp classfier limitation).

Change-Id: I7ca2648cabad8c6e936cf71a51e06596a42891e8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-233: ietf-acl model augmentation to provide l2,l3 and l4 rules 34/3334/6
Marek Gradzki [Mon, 10 Oct 2016 11:58:01 +0000 (13:58 +0200)]
HONEYCOMB-233: ietf-acl model augmentation to provide l2,l3 and l4 rules
in one ACE

Change-Id: I2ebba9540fae1a49858d6887551385688d4529aa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-168 Replace deprecated GZip filter with handler 66/3366/3
Maros Marsalek [Wed, 12 Oct 2016 11:06:42 +0000 (13:06 +0200)]
HONEYCOMB-168 Replace deprecated GZip filter with handler

Change-Id: Idb82d23d3e79289f356a875c3729c80bb53f2567
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdd NSH map test case. HONEYCOMB-198 88/3388/1
Hongjun Ni [Thu, 13 Oct 2016 13:04:25 +0000 (21:04 +0800)]
Add NSH map test case. HONEYCOMB-198

Change-Id: I2d2fc50e25350d95d6b529eb3af045ea23e661ec
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoHONEYCOMB-217 Ubuntu16 (systemd) specific packaging 55/3355/4
Maros Marsalek [Tue, 11 Oct 2016 15:04:57 +0000 (17:04 +0200)]
HONEYCOMB-217 Ubuntu16 (systemd) specific packaging

Change-Id: Id1c962412194dd809e68f27d7e62b5ab36378be3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdd NSH entry test case. HONEYCOMB-198 63/3363/2
Hongjun Ni [Wed, 12 Oct 2016 16:23:09 +0000 (00:23 +0800)]
Add NSH entry test case. HONEYCOMB-198

Change-Id: Ie11b030f3071fdeca4b8fda5bcb63f6ba1de3b80
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoHONEYCOMB-258: fix protocol field translation in ACEs 41/3341/2
Marek Gradzki [Tue, 11 Oct 2016 10:35:51 +0000 (12:35 +0200)]
HONEYCOMB-258: fix protocol field translation in ACEs

It was translated to version field,
but should be to protocol/next header field.

Change-Id: I0cf23fdd43246bcc559f61d97701c9153e9b3607
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoMove interface acls to separate yang module 33/3333/4
Marek Gradzki [Mon, 10 Oct 2016 11:18:01 +0000 (13:18 +0200)]
Move interface acls to separate yang module

Change-Id: Ia11eacababd62f719e23af5b64b19c5227d56a45
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-246: allow mixing deny/permit rules 11/3311/6
Marek Gradzki [Fri, 7 Oct 2016 13:26:06 +0000 (15:26 +0200)]
HONEYCOMB-246: allow mixing deny/permit rules

- adds classify table on the end of each of the 3 chains to enforce ordering
- updates v3po.yang with default-action leaf
- updates postman collection

Change-Id: If54abec1a6516eaf87aae0e5da9382a6e5dee1f3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoPbb Postman Collection 09/3309/2
Jan Srnicek [Fri, 7 Oct 2016 11:05:41 +0000 (13:05 +0200)]
Pbb Postman Collection

Change-Id: Ib5010b5cf0f2245d8226bac65fa8d34e9ff3fc7a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-252 - Reduced scope of dump executors 00/3300/2
Jan Srnicek [Mon, 10 Oct 2016 07:14:09 +0000 (09:14 +0200)]
HONEYCOMB-252 - Reduced scope of dump executors

Change-Id: Ia426f855b13323369bcc7ec2cde0861421950476
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-154: update revison of models that changed since 16.09 07/3307/1
Marek Gradzki [Fri, 7 Oct 2016 09:21:52 +0000 (11:21 +0200)]
HONEYCOMB-154: update revison of models that changed since 16.09

Sets revision date to 14.12.2016 - API freeze for HC 1.17.01
Updated models:
- lisp.yang
- v3po.yang
- vpp-vlan.yang
- pbb-types.yang
- vpp-pbb.yang

Change-Id: Ib2b962c7756748ac357141ffbc6f5bc6668c97e3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoPbb Support 33/1833/30
Jan Srnicek [Fri, 7 Oct 2016 09:11:09 +0000 (11:11 +0200)]
Pbb Support

models/implementation refactored to work as rewrite on interfaces

Change-Id: I8ce42905ce8f183c354e718d02291aea2435110d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-236 - Unified read/write exceptions 75/3275/2
Jan Srnicek [Thu, 6 Oct 2016 06:54:02 +0000 (08:54 +0200)]
HONEYCOMB-236 - Unified read/write exceptions

Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-238: provide interface mode as a part of ietf-acl configuration 43/3243/5
Marek Gradzki [Tue, 4 Oct 2016 11:08:51 +0000 (13:08 +0200)]
HONEYCOMB-238: provide interface mode as a part of ietf-acl configuration

- L2 only rules for L3 interfaces are not allowed by vpp
- describes other limitations of ietf-acl model implementation

Change-Id: If7e79e4bbfe3113b82e3411d9a951c409799a29f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-138 - Lisp L2 Support 95/2395/7
Jan Srnicek [Tue, 4 Oct 2016 14:44:47 +0000 (16:44 +0200)]
HONEYCOMB-138 - Lisp L2 Support

Change-Id: Idff4776a64a88be2e0a45ab1927978e40876ea92
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-176 : Implemented delete for Routing 76/3276/2
Jan Srnicek [Wed, 5 Oct 2016 10:05:18 +0000 (12:05 +0200)]
HONEYCOMB-176 : Implemented delete for Routing

Change-Id: Idbf139773441e72e47c49518235b03a71e398acf
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoRevert "Disable NSH plugin due to CI issues" 68/3268/1
Marek Gradzki [Wed, 5 Oct 2016 05:20:18 +0000 (07:20 +0200)]
Revert "Disable NSH plugin due to CI issues"

This reverts commit 2dcc14e9c3c7779200e86fc7eb2fce4a0ef59e47.
NSH_SFC master is no longer broken.

Change-Id: Ib10b4bfd47efbb9f2393158fb3a9365ec4609793
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-234: empty implementation of egress acls for ietf model 21/3221/1
Marek Gradzki [Fri, 30 Sep 2016 13:10:52 +0000 (15:10 +0200)]
HONEYCOMB-234: empty implementation of egress acls for ietf model

Change-Id: I6152975b31a9bf764fa9d8a4210e16e61e98d61b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-234: update YANG model to support egress ACLs 01/3201/4
Marek Gradzki [Fri, 30 Sep 2016 10:28:28 +0000 (12:28 +0200)]
HONEYCOMB-234: update YANG model to support egress ACLs

- marks existing ACL support as ingress
- updates postman collection

Change-Id: I7ae39cb6698d9aafbe932d57725f138194b52e70
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-230 : Refactor of Adjacencies api use 19/3219/1
Jan Srnicek [Fri, 30 Sep 2016 12:18:15 +0000 (14:18 +0200)]
HONEYCOMB-230  : Refactor of Adjacencies api use

Change-Id: Ia83a5792c0e86fd5054d713038c2ed0a1c44a34e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoRemove outdated NOTES.txt 97/3197/1
Marek Gradzki [Thu, 29 Sep 2016 12:35:02 +0000 (14:35 +0200)]
Remove outdated NOTES.txt

Change-Id: I2afbe82d5f9081b3b1d0abcf1b1727334d364a42
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoDisable NSH plugin due to CI issues 95/3195/3
Marek Gradzki [Thu, 29 Sep 2016 11:41:55 +0000 (13:41 +0200)]
Disable NSH plugin due to CI issues

Will be reverted after merging https://gerrit.fd.io/r/#/c/3181/

Change-Id: Iab9e7d8a1e79cd96f84842071c62148aa9748b6f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoVPP-378: update jvpp package names 82/3182/3
Marek Gradzki [Wed, 28 Sep 2016 08:57:24 +0000 (10:57 +0200)]
VPP-378: update jvpp package names

Depends on
- vpp: https://gerrit.fd.io/r/#/c/3178
- NSH: https://gerrit.fd.io/r/#/c/3181

Change-Id: I1929947ccccc453aa32552fc42942a8b24ade157
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-210 - DumpEmptyCheck removed 76/3176/5
Jan Srnicek [Wed, 28 Sep 2016 12:42:39 +0000 (14:42 +0200)]
HONEYCOMB-210 - DumpEmptyCheck removed

Change-Id: I95ea94c3a1a581753f7eb667af7aacde832c21fd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-209 Move Reconciliation document from wiki to adoc 44/3144/2
Maros Marsalek [Mon, 26 Sep 2016 11:27:22 +0000 (13:27 +0200)]
HONEYCOMB-209 Move Reconciliation document from wiki to adoc

https://wiki.fd.io/view/Honeycomb/Persistence

Change-Id: If8be6c6a2466a1d6d2a95bbf1ea36883956a6dd7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFixed packages for NamingContext 79/3179/2
Jan Srnicek [Wed, 28 Sep 2016 08:40:40 +0000 (10:40 +0200)]
Fixed packages for NamingContext

Change-Id: I017c68924e729ec5f7a4bff4d112f082f11d34cb
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoLisp test coverage increased to ~80% 61/2761/4
Jan Srnicek [Wed, 28 Sep 2016 07:33:32 +0000 (09:33 +0200)]
Lisp test coverage increased to ~80%

Change-Id: Id4e9072ebb8d66e532e30c1dc3bb6036bfdc9012
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-180: mark read/write of ipv4 leaves unsupported 62/3162/1
Marek Gradzki [Tue, 27 Sep 2016 12:55:32 +0000 (14:55 +0200)]
HONEYCOMB-180: mark read/write of ipv4 leaves unsupported

Change-Id: Ifa774054646a59e39e4cc017df3be1e9e64233de
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-206: change package name to match groupId 59/3159/1
Marek Gradzki [Tue, 27 Sep 2016 12:24:06 +0000 (14:24 +0200)]
HONEYCOMB-206: change package name to match groupId

Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoExclude test utilities from sonar coverage statistics 58/3158/1
Marek Gradzki [Tue, 27 Sep 2016 12:20:29 +0000 (14:20 +0200)]
Exclude test utilities from sonar coverage statistics

Change-Id: Icb6ac7652c739efa3a4bf90f0ae99e4225035c69
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-195: increase v3po coverage over 80%. Part II 52/3152/1
Marek Gradzki [Tue, 27 Sep 2016 06:58:07 +0000 (08:58 +0200)]
HONEYCOMB-195: increase v3po coverage over 80%. Part II

Change-Id: Ia28078cad65c1a45754f1d440c3f6413836aa60d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-209 Configure maven site 73/3073/7
Maros Marsalek [Wed, 21 Sep 2016 11:51:57 +0000 (13:51 +0200)]
HONEYCOMB-209 Configure maven site

To produce site for Honeycomb +
javadoc
asciidoc

To build the site:
mvn clean install site:attach-descriptor site
mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage

Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-195: increase v3po coverage over 80%. WIP 28/3128/1
Marek Gradzki [Mon, 26 Sep 2016 06:28:20 +0000 (08:28 +0200)]
HONEYCOMB-195: increase v3po coverage over 80%. WIP

Change-Id: Ibe14d7203bdaf53b925e4d16b598942b62b65bae
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: generic merge test for reader customizers 27/3127/1
Marek Gradzki [Mon, 26 Sep 2016 06:20:34 +0000 (08:20 +0200)]
HONEYCOMB-116: generic merge test for reader customizers

Change-Id: I5c2505e6b3bcf622312f8dc324912507f6519a5b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-195: increase coverage for ietf-acl customizers over 80% 14/3114/2
Marek Gradzki [Fri, 23 Sep 2016 12:51:30 +0000 (14:51 +0200)]
HONEYCOMB-195: increase coverage for ietf-acl customizers over 80%

Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: utility for stubbing MappingContext methods 03/3103/3
Marek Gradzki [Fri, 23 Sep 2016 07:06:19 +0000 (09:06 +0200)]
HONEYCOMB-116: utility for stubbing MappingContext methods

- introduces MappingContextHelper (refactored ContextTestUtils)
- updates all v3po and lisp unit tests to use MCH
- updates lisp tests to mock EidMappingContext

Change-Id: I73b1adda767db71388ca1c4d7206cfd7ee9c70e1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-145 - Utility Class Refactoring 09/3109/2
Jan Srnicek [Fri, 23 Sep 2016 14:39:09 +0000 (16:39 +0200)]
HONEYCOMB-145 - Utility Class Refactoring

problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324)

Translate Utils Splitted to multiple Trait Interfaces

Ipv4Translator - Logic for translation of ipv4-based data
Ipv6Translator - Logic for translation of ipv6-based data
MacTranslator - Logic for translation of mac-based data
AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac
JvppReplyConsumer - Logic for extracting replies from jvpp calls
ByteDataTranslator - any byte-based conversions
Plus some existing utility classes changed to traits

Change-Id: I342b625954223966802e65dca0fabf8456c89345
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-116: utility for stubbing jvpp methods 00/3100/1
Marek Gradzki [Fri, 23 Sep 2016 05:21:11 +0000 (07:21 +0200)]
HONEYCOMB-116: utility for stubbing jvpp methods

- introduces FutureProducer (inspired by https://gerrit.fd.io/r/#/c/2650/)
- updates unit tests for v3po and lisp

Change-Id: I56488bb1dcd6fcaf6821a58f99b528677e095662
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: base classes for testing customizers 89/3089/2
Marek Gradzki [Thu, 22 Sep 2016 11:17:00 +0000 (13:17 +0200)]
HONEYCOMB-116: base classes for testing customizers

- adds base class for testing writers
- moves base classes to vpp-translate-test,
  subproject of vpp-common

Change-Id: Ia42e2be3a95a33866d1996dd42a9bd1773b970a7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHoneycomb-185: remove argumentCaptor from BDCustomizer and IfcCustomizerTests 65/3065/2
Marek Gradzki [Thu, 22 Sep 2016 08:12:29 +0000 (10:12 +0200)]
Honeycomb-185: remove argumentCaptor from BDCustomizer and IfcCustomizerTests

Change-Id: Ic1f541c3c2d90c3ec4074bfe5c5a73d3cc6c4a49
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRemove ReflectionToStringBuilder.toString invocation on jvpp DTOs 61/3061/1
Marek Gradzki [Thu, 22 Sep 2016 05:46:30 +0000 (07:46 +0200)]
Remove ReflectionToStringBuilder.toString invocation on jvpp DTOs

VPP-413 introduced toString methods for all DTOs

Change-Id: Ib81acca4867c49198d7d2ca550bf3a920a0d4f1a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdated Postman Collection for Lisp 33/3033/3
Jan Srnicek [Wed, 21 Sep 2016 12:03:50 +0000 (14:03 +0200)]
Updated Postman Collection for Lisp

Change-Id: I0c5a5d8519476295501047cd392cbb65729d941d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFixed reading of operational state of lisp 29/3029/5
Jan Srnicek [Wed, 21 Sep 2016 13:02:12 +0000 (15:02 +0200)]
Fixed reading of operational state of lisp

Rejecting of empty locator-sets
Added revert of searched key to match vpp address
order
Ignoring helper data returned by dumps

Change-Id: I5ec74f48dc373099b5fe516553d769c20e4a98f8
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-202: Honeycomb-parent pom 93/2993/2
Maros Marsalek [Tue, 20 Sep 2016 13:09:55 +0000 (15:09 +0200)]
HONEYCOMB-202: Honeycomb-parent pom

As a replacement for:
odlparent-lite + odlparent + bundle-parent + binding-parent
 + config-parent

Change-Id: I68054fe548a627a92978d5aa399f5d4aea6b9703
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-116: refactor v3po tests to use CTU.mockMapping 48/2948/3
Marek Gradzki [Sun, 18 Sep 2016 13:17:02 +0000 (15:17 +0200)]
HONEYCOMB-116: refactor v3po tests to use CTU.mockMapping

Change-Id: I72d3a545d66e1280e34beff72adcdf876dae86fd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-222 Fix Interface L2 writer order 85/2985/1
Maros Marsalek [Tue, 20 Sep 2016 13:53:57 +0000 (15:53 +0200)]
HONEYCOMB-222 Fix Interface L2 writer order

The writer was placed between Interface and Subitnerface,
so it was invoked before subinterfaces were processed.

Meaning that if the L2/xconnect targetted subitnerface, it
would be submitted prematurely.

Moving the Interface L2 writer after Subinterface writer.

Change-Id: I192ebde5eaf4b05a104d76bce39de74569cdb608
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix ietf-acl delete 72/2972/2
Marek Gradzki [Tue, 20 Sep 2016 06:58:39 +0000 (08:58 +0200)]
Fix ietf-acl delete

Cancels classify tables assignment for interface
before classify table removal.

Change-Id: I8f1ec1f43dac89f64af306f02786166f713743f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-215 Add suggests dependency from hc -> vpp_nsg_plugin 59/2959/3
Maros Marsalek [Mon, 19 Sep 2016 08:02:35 +0000 (10:02 +0200)]
HONEYCOMB-215 Add suggests dependency from hc -> vpp_nsg_plugin

Only for deb packaging, RPM does not support Suggests directive on all platforms

Change-Id: I7702fd5c6acb90be367f6ae8d59c0a795bc68d1f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
(cherry picked from commit 9716f4ee19aa8fb982d9f8661f9f42fb59b1259d)

7 years agoUpdate postman calls: 58/2958/2
Maros Marsalek [Mon, 19 Sep 2016 08:29:32 +0000 (10:29 +0200)]
Update postman calls:

- missing auth
- resetting "Add ACL to ifc" requests fixed
- added ACL context read

Change-Id: I67850be6bc2e61b3819733cd678c321cfe2bc75e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix path for VppCommonModule test 61/2961/2
Marek Gradzki [Mon, 19 Sep 2016 15:39:58 +0000 (17:39 +0200)]
Fix path for VppCommonModule test

Change-Id: Ifad59d17997a3f4616982497b42c77c43def59b9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUnit test for VppCommonModule 33/2933/1
Marek Gradzki [Sat, 17 Sep 2016 21:48:48 +0000 (23:48 +0200)]
Unit test for VppCommonModule

Change-Id: I76ffd960b67f4d1e8240f0d73f5eea2e84d143e9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>