hc2vpp.git
6 years agoBump jvpp version to 19.04-SNAPSHOT 68/17068/2
Michal Cmarada [Thu, 24 Jan 2019 19:17:04 +0000 (20:17 +0100)]
Bump jvpp version to 19.04-SNAPSHOT

Changes
 - sets version of VPP package dependencies to 19.04.
 - updates vpp-plugins to vpp-plugin-core dependencies for debian

Change-Id: Ida51151910f217248aa761b59f8cfdb3861b3f26
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoRelease notes: update jira and project version to 19.04 67/17067/1
Michal Cmarada [Thu, 24 Jan 2019 18:58:51 +0000 (19:58 +0100)]
Release notes: update jira and project version to 19.04

Change-Id: I3053325892449da41608df83622dd37268606c63
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoBump hc2vpp version to 1.19.04-SNAPSHOT 56/17056/1
Michal Cmarada [Thu, 24 Jan 2019 13:27:26 +0000 (14:27 +0100)]
Bump hc2vpp version to 1.19.04-SNAPSHOT

Change-Id: I5f2c8635eab44f5d7b74514f3a2f7b4218b3369c
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoUpdate ncclient examples 31/13331/8
Michal Cmarada [Wed, 23 Jan 2019 10:41:26 +0000 (11:41 +0100)]
Update ncclient examples

- added optional parameter host for copy_config, get_config
  and edit-config.
- added basic tests for interfaces:
  - loopback interface
  - af-packet interface
  - tap interface
- added diff_xml.py to find differences between two sets of config.
  It supports both full xml comparison and comparison based on xPath
- added example diff between running and candidate config (interfaces)
- fixed formatting and namespaces

Change-Id: If6dd7a76fab538735ab92c67f9457326fbcba7ec
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoUpdate IPSec writers 80/16880/2
Tibor Král [Fri, 18 Jan 2019 15:54:28 +0000 (16:54 +0100)]
Update IPSec writers

 - Fix data_len fields in api messages
 - Add enum for authentication types

Change-Id: I266bb096488b41d4e97b6fa4c5a557b71925be77
Signed-off-by: Tibor Král <[email protected]>
6 years agoUpdate IPSec documentation 55/16855/3
Tibor Král [Fri, 18 Jan 2019 13:01:43 +0000 (14:01 +0100)]
Update IPSec documentation

 - Add missing IpSec links to userguide
 - update Readme.adoc
 - additional request to postman collection

Change-Id: I233b0f7a58acbfab9b8b587bbd2f20566709e52f
Signed-off-by: Tibor Král <[email protected]>
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoadd missing SRv6 links to userguide 52/16852/1
Michal Cmarada [Thu, 17 Jan 2019 12:08:41 +0000 (13:08 +0100)]
add missing SRv6 links to userguide

- adds link for yang models
- adds links for postman collections

Change-Id: I553e10cb5813132867b6af540f02277e07e0fb24
Signed-off-by: Michal Cmarada <[email protected]>
6 years agofix ra postman collection in user guide 51/16851/1
Michal Cmarada [Thu, 17 Jan 2019 11:55:16 +0000 (12:55 +0100)]
fix ra postman collection in user guide

- fix wrong link for
  routing_advertisements_postman_collection.json

Change-Id: Ib2ba8ce812b25b08e79e0a38004b0ebb8fc5d3ef
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoadd missing asciidoc files for IpSec 47/16847/1
Michal Cmarada [Thu, 17 Jan 2019 09:42:30 +0000 (10:42 +0100)]
add missing asciidoc files for IpSec

Change-Id: I76688ae179879287d1ded5181c643a59d026283e
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-87: Expose IPSEC management 04/16104/21
Tibor Král [Wed, 14 Nov 2018 17:20:02 +0000 (18:20 +0100)]
HC2VPP-87: Expose IPSEC management

Change-Id: Ib13a2cdba5a0902581c455de67cc0ee64d20598d
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of V3PO models 91/16791/4
Michal Cmarada [Mon, 14 Jan 2019 17:47:57 +0000 (18:47 +0100)]
HC2VPP-300: Unify namespaces of V3PO models

Change-Id: Ibf74c4c1ea159bfcbe1de8bef4dac9bde3cb9ffd
Signed-off-by: Tibor Král <[email protected]>
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of DHCP model 90/16790/3
Tibor Král [Sun, 13 Jan 2019 14:49:53 +0000 (15:49 +0100)]
HC2VPP-300: Unify namespaces of DHCP model

Change-Id: I4b9c7e616afceeb0bad2fb92584544acf132cd2b
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of Interface-Role 89/16789/3
Tibor Král [Sun, 13 Jan 2019 14:38:26 +0000 (15:38 +0100)]
HC2VPP-300: Unify namespaces of Interface-Role

Change-Id: I5b41d0984dd65f374a5ff1da3c9e68af8fb87dd8
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of L3 models 88/16788/4
Tibor Král [Sun, 13 Jan 2019 14:25:38 +0000 (15:25 +0100)]
HC2VPP-300: Unify namespaces of L3 models

Change-Id: Ie31909c3c555624ea7cf4fa4675f61aee9f02ffe
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of MPLS model 87/16787/2
Tibor Král [Sun, 13 Jan 2019 14:13:22 +0000 (15:13 +0100)]
HC2VPP-300: Unify namespaces of MPLS model

Change-Id: I5ad6027a261cbd8b7c1afefcecaaba16f486a456
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of NSH model 86/16786/2
Tibor Král [Sun, 13 Jan 2019 14:02:25 +0000 (15:02 +0100)]
HC2VPP-300: Unify namespaces of NSH model

Change-Id: I1fba2ddf85930bc0f74160d699dc9eeaef33844e
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of Sample model 85/16785/2
Tibor Král [Sun, 13 Jan 2019 13:50:47 +0000 (14:50 +0100)]
HC2VPP-300: Unify namespaces of Sample model

Change-Id: I9f216139107bd702d2c36d0649b75ef1c3a7b85f
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of SRV6 model 84/16784/3
Tibor Král [Sun, 13 Jan 2019 13:40:15 +0000 (14:40 +0100)]
HC2VPP-300: Unify namespaces of SRV6 model

Change-Id: I35b6df6a2ad435e699fe2d92f133828e3f7d2d9e
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of VPP-Common models 83/16783/4
Tibor Král [Sun, 13 Jan 2019 13:20:58 +0000 (14:20 +0100)]
HC2VPP-300: Unify namespaces of VPP-Common models

Change-Id: If39a2f4d1db07a406c4552cc967f9308a2163d61
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of VPP-Management model 82/16782/4
Tibor Král [Sun, 13 Jan 2019 13:06:32 +0000 (14:06 +0100)]
HC2VPP-300: Unify namespaces of VPP-Management model

Change-Id: If6b1be957757ac65602180b3e2ad45928100216f
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of LISP models 81/16781/4
Tibor Král [Sun, 13 Jan 2019 12:54:26 +0000 (13:54 +0100)]
HC2VPP-300: Unify namespaces of LISP models

Change-Id: I03aad6e58c1c8af077ff601cce9ae76c5c378b76
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of FIB models 80/16780/5
Tibor Král [Sun, 13 Jan 2019 12:33:06 +0000 (13:33 +0100)]
HC2VPP-300: Unify namespaces of FIB models

Change-Id: Ib24688d039c7e38afe468af542f62c821111e41f
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of NAT models 79/16779/3
Tibor Král [Sun, 13 Jan 2019 12:21:28 +0000 (13:21 +0100)]
HC2VPP-300: Unify namespaces of NAT models

Change-Id: If535c40220b61b7ae3c8d4616395b1bad197e266
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of Routing models 78/16778/3
Tibor Král [Sun, 13 Jan 2019 12:00:31 +0000 (13:00 +0100)]
HC2VPP-300: Unify namespaces of Routing models

Change-Id: I826213be33a2378433ca659a2e149c015f3b2030
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-300: Unify namespaces of VPP_CLASSIFIER models 77/16777/2
Tibor Král [Sun, 13 Jan 2019 11:37:44 +0000 (12:37 +0100)]
HC2VPP-300: Unify namespaces of VPP_CLASSIFIER models

Change-Id: Ia77639cec348980956c215ecccd980eec09a6aa0
Signed-off-by: Tibor Král <[email protected]>
6 years agoModify gitignore to exclude any generated source files 01/15401/5
Tibor Král [Fri, 19 Oct 2018 12:28:25 +0000 (14:28 +0200)]
Modify gitignore to exclude any generated source files

Change-Id: I4edc5c2d69987c8d1284d785397ba6fc25db67a7
Signed-off-by: Tibor Král <[email protected]>
6 years agoRevert Statistics 26/16726/1
Michal Cmarada [Fri, 4 Jan 2019 07:59:46 +0000 (08:59 +0100)]
Revert Statistics

This reverts commit 91db56913c9b1fc9292637adf4d96a052a737f61.
This reverts commit cdc4d09c152e985c93016ff61789bc699b97883d.

Change-Id: I06cba1968f7379a7daa98b9e66375a5d4127b499
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoFix MacAddress API change 87/16687/1
Michal Cmarada [Fri, 4 Jan 2019 08:10:39 +0000 (09:10 +0100)]
Fix MacAddress API change

Change-Id: I516b90dac084f169d1bf1cc74909777d0824b7cb
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoadapt to string type changes in JVPP 73/16473/1
Michal Cmarada [Fri, 14 Dec 2018 08:39:12 +0000 (09:39 +0100)]
adapt to string type changes in JVPP

Change-Id: Ic3a01740290a2af37c495318f2aa5422f5fe06cd
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-395: Nullable patch 41/16441/2
Tibor Král [Wed, 12 Dec 2018 10:19:02 +0000 (11:19 +0100)]
HC2VPP-395: Nullable patch

Change-Id: I21c83ad95b1ba236a0456bd1896eebb8bf33f893
Signed-off-by: Tibor Král <[email protected]>
6 years agofix after VPP api changes for address type aliases 44/16444/1
Michal Cmarada [Wed, 12 Dec 2018 12:04:35 +0000 (13:04 +0100)]
fix after VPP api changes for address type aliases

Change-Id: I228340d362adcbec9e46c8e406337392caffaf37
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-395: Provide Interface statistics counters 58/16258/6
Tibor Král [Wed, 28 Nov 2018 17:20:00 +0000 (18:20 +0100)]
HC2VPP-395: Provide Interface statistics counters

Change-Id: If0f62b36b9d9dc6718ed62f81268ac0908f02297
Signed-off-by: Tibor Král <[email protected]>
6 years agoHC2VPP-291: ACL model bump 78/15478/9
Michal Cmarada [Mon, 19 Nov 2018 13:59:14 +0000 (14:59 +0100)]
HC2VPP-291: ACL model bump

 - bump ACL yang models
 - fix ACL module implementation and validation
 - fix ACL Unit tests
 - update postman collection

Change-Id: Iaab64e6d92d17babc3ccef7921b41070c3716516
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoBump jvpp version to 19.01-SNAPSHOT 76/15376/5
Michal Cmarada [Mon, 12 Nov 2018 12:35:06 +0000 (13:35 +0100)]
Bump jvpp version to 19.01-SNAPSHOT

Also sets version of VPP package dependencies to 19.01.
 - fixes several changes made in VPP API

Change-Id: Icca406f414bce30745026573c78a69eea09dc566
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoRelease notes: update jira and project version to 19.01 75/15375/2
Michal Cmarada [Thu, 18 Oct 2018 11:52:36 +0000 (13:52 +0200)]
Release notes: update jira and project version to 19.01

Change-Id: I6f29b4946d7f88007ac9ce673c7abb902f2dd1ea
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoBump hc2vpp version to 1.19.01-SNAPSHOT 74/15374/2
Michal Cmarada [Mon, 22 Oct 2018 07:06:54 +0000 (09:06 +0200)]
Bump hc2vpp version to 1.19.01-SNAPSHOT

Change-Id: Iedb7935735cc9836fb1cb11856d38ec1d090e6ba
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-390: Tap v2 interface implementation 23/15123/8
Tibor Král [Wed, 3 Oct 2018 15:23:08 +0000 (17:23 +0200)]
HC2VPP-390: Tap v2 interface implementation

Change-Id: I92fe8adabbb770a45ad47c56f5cd21262c4bd6e1
Signed-off-by: Tibor Král <[email protected]>
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-390: Tap v2 interface API 93/15193/2
Michal Cmarada [Tue, 9 Oct 2018 14:08:58 +0000 (16:08 +0200)]
HC2VPP-390: Tap v2 interface API

 - added support for Tap v2 in v3po yang model
 - fixed pattern for tap-name

Change-Id: Id4c02d56879ca87f370396c920fb599dd7741594
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoSwitch to NSH implementation in VPP project 11/14911/3
Michal Cmarada [Mon, 8 Oct 2018 07:47:41 +0000 (09:47 +0200)]
Switch to NSH implementation in VPP project

 - update NSH dependency in pom file
 - update NSH postman collectionUpdate postman collection

Change-Id: If7fd116dae4c074b49cfebf0b0a8bd083b0c00b9
Signed-off-by: Tibor Král <[email protected]>
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoUpdate BGP user guide and related postman collection 56/15156/2
Michal Cmarada [Fri, 5 Oct 2018 10:54:04 +0000 (12:54 +0200)]
Update BGP user guide and related postman collection

Change-Id: I0777af5b67847eff5bf29b34bd47d1dab232251b
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoFix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433) 64/14464/6
Michal Cmarada [Tue, 25 Sep 2018 09:21:09 +0000 (11:21 +0200)]
Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)

Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoFix v3po interface type 31/15031/2
Michal Cmarada [Fri, 28 Sep 2018 08:54:43 +0000 (10:54 +0200)]
Fix v3po interface type

VPP introduced new flag for interfaces: portType
(see https://gerrit.fd.io/r/#/c/14689/)

This caused API changes and introduced new port types:
 - Normal
 - BVI
 - Unknown unicast (not supported by HC2VPP yet - HC2VPP-389)
This patch fixes the current implementation for normal and BVI interface.

Change-Id: I271aaab9887e3759fa90d9056bafe550c867761d
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoAdd INFO.yaml file 73/14473/3
Michal Cmarada [Wed, 26 Sep 2018 07:08:17 +0000 (09:08 +0200)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- Issue Tracking
- Contacts
- PTL information
- Meeting information
- Committer information

Change-Id: I13f86307ccc1692d0dbe373996f664c7c823ae49
Signed-off-by: Vanessa Rene Valderrama <[email protected]>
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoFix nsh-sfc dependency 29/14629/1
Michal Cmarada [Mon, 3 Sep 2018 14:43:44 +0000 (16:43 +0200)]
Fix nsh-sfc dependency

nsh-sfc is beeing moved to vpp. First patch is already in
https://gerrit.fd.io/r/#/c/14489/. JVPP API is still missing
and nsh-sfc does not provide 18.07 or 18.10 Snapshot versions.
Therefore switching to 18.07 release version until JVPP API is
finished in VPP.

Change-Id: Ia74975023b7be092434d230a8ca909531231fd95
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-379: move NAT validation code out of customizers 30/14430/2
Marek Gradzki [Thu, 23 Aug 2018 08:33:47 +0000 (10:33 +0200)]
HC2VPP-379: move NAT validation code out of customizers

Use Validator interface introduced by HONEYCOMB-431:
https://gerrit.fd.io/r/#/c/14022/

Change-Id: I9e4c8d59f299ed7da4a93bbdc70c81f2bea93606
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: various readme fixes 15/14415/4
Marek Gradzki [Wed, 22 Aug 2018 11:41:15 +0000 (13:41 +0200)]
examples/ncclient: various readme fixes

- fix link to honeycomb <validate> implementation
- fix paths in the examples

Change-Id: Ifa72c4f7dbff67fe090ddbc3a67bd94f587b65a3
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: update copyright information 13/14413/1
Marek Gradzki [Wed, 22 Aug 2018 10:22:10 +0000 (12:22 +0200)]
examples/ncclient: update copyright information

This patch:

- removes copyright information from config XML files

  The change is required due to ncclient bug.
  If <config> embeded in <copy-config> request contains
  '://', then it is treated as URL and included in <url> node
  before sending to NETCONF server.

- updates licence to Apache 2.0 in other XML files.

Change-Id: I526de3c1beee6ff4cb255481fc01608beea159ff
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: make validate and commit optional 10/14410/1
Marek Gradzki [Wed, 22 Aug 2018 07:52:43 +0000 (09:52 +0200)]
examples/ncclient: make validate and commit optional

Change-Id: I9da8729b58500d18c82981284c44ad07bcbee167
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: set default log level to INFO 09/14409/1
Marek Gradzki [Wed, 22 Aug 2018 07:41:18 +0000 (09:41 +0200)]
examples/ncclient: set default log level to INFO

Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: update Readme.adoc after bump to Oxygen SR3 08/14408/2
Marek Gradzki [Wed, 22 Aug 2018 06:51:26 +0000 (08:51 +0200)]
examples/ncclient: update Readme.adoc after bump to Oxygen SR3

Patches, that fixes issues with ncclient compatibility,
are inclded in Oxygen SR3, so ncclient section can be removed.

Detailed information about NETCONF improvements
in future ODL versions was added.

Change-Id: I33c5013f106fcf5cff3216a723e7670b360d404f
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples: add ncclient examples of URL capability 06/14406/1
Marek Gradzki [Wed, 22 Aug 2018 04:59:36 +0000 (06:59 +0200)]
examples: add ncclient examples of URL capability

Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: <copy-config> example of bridge domain configuration 05/14405/1
Marek Gradzki [Tue, 21 Aug 2018 13:57:27 +0000 (15:57 +0200)]
examples/ncclient: <copy-config> example of bridge domain configuration

Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: update readme with <validate> example 96/14396/2
Marek Gradzki [Tue, 21 Aug 2018 13:19:11 +0000 (15:19 +0200)]
examples/ncclient: update readme with <validate> example

Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples: convert ncclient Readme to adoc 93/14393/2
Marek Gradzki [Tue, 21 Aug 2018 12:27:35 +0000 (14:27 +0200)]
examples: convert ncclient Readme to adoc

Change-Id: Ida137d00b51a480e4f27950cc9bbc609f4782efd
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples: add verbose option to ncclient scripts 84/14384/1
Marek Gradzki [Tue, 21 Aug 2018 08:31:47 +0000 (10:31 +0200)]
examples: add verbose option to ncclient scripts

Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoAdapt ncclient examples to 18.07 ietf-nat model changes 79/14379/1
Marek Gradzki [Tue, 21 Aug 2018 07:40:37 +0000 (09:40 +0200)]
Adapt ncclient examples to 18.07 ietf-nat model changes

The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367.

Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-343: enable validation for acl list 90/14090/2
Marek Gradzki [Thu, 14 Jun 2018 10:12:07 +0000 (12:12 +0200)]
HC2VPP-343: enable validation for acl list

This patch moves all validation for acl list to VppAclValidator,
implementation of Validator interface brought by (HONEYCOMB-431):
https://gerrit.fd.io/r/#/c/14022/

To test <validate> RPC, run ncclient tests with:
./edit_config.py acl/copy_config_unsupported-acl-type.xml -v

Support for <validate> RPC requres:
https://gerrit.fd.io/r/#/c/14040/

Change-Id: Iea591a76022e893f6aaf2a52637f45cadb284e4e
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-375: align classify session's match with skip-n-vectors zeros 80/14180/3
Marek Gradzki [Mon, 13 Aug 2018 15:18:23 +0000 (17:18 +0200)]
HC2VPP-375: align classify session's match with skip-n-vectors zeros

If bigger values of skip-n-vectors are used (e.g. policer usecase),
also key is very long, making the API hard to use.

To make it easier, match value will be now aligned with zeros if needed.

Read part does not need to be updated, beacause classify_session_dump
returns match without skip-n-vectors part.

Change-Id: Iab54480e7a3851690aed30c8f5b8b0e6769c054f
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoCheck length of classify session's match vector (HC2VPP-373) 68/14168/1
Marek Gradzki [Mon, 13 Aug 2018 09:56:17 +0000 (11:56 +0200)]
Check length of classify session's match vector (HC2VPP-373)

Change-Id: I45028349f81a756d03d46e02af40041a7cae1fec
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoExplicitly fail when classify table for given session is missing 67/14167/1
Marek Gradzki [Mon, 13 Aug 2018 10:17:29 +0000 (12:17 +0200)]
Explicitly fail when classify table for given session is missing

Change-Id: Ied737af2eb650f54fbaa5413eb0a586793d34e43
Signed-off-by: Marek Gradzki <[email protected]>
6 years agolisp: remove unnecessary Integer boxing in RemoteMappingCustomizer 60/14160/1
Marek Gradzki [Mon, 13 Aug 2018 05:19:14 +0000 (07:19 +0200)]
lisp: remove unnecessary Integer boxing in RemoteMappingCustomizer

Fixes issue reported by Sonar

Change-Id: If7448ea2618cbcbad56c7dcf4c87ec6f1cc1cb39
Signed-off-by: Marek Gradzki <[email protected]>
6 years agojvpp-benchmark: ignore unclosed resources reported by Sonar 58/14158/1
Marek Gradzki [Mon, 13 Aug 2018 05:12:38 +0000 (07:12 +0200)]
jvpp-benchmark: ignore unclosed resources reported by Sonar

Sonar reports unclosed resources,
but jvpp connections are closed in JVppBenchmark.tearDown.

It is only a benchmark,
so if JMH would crash and not call tearDown,
then we don't really care.

Change-Id: I60ae60c78610b8c07076c7d2a94917e8316d03dd
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoSet mask/match length when using VPP's classfier 22/14122/1
Marek Gradzki [Fri, 10 Aug 2018 04:56:36 +0000 (06:56 +0200)]
Set mask/match length when using VPP's classfier

Adapts hc2vpp to recent VPP api change:
https://gerrit.fd.io/r/#/c/13007/

Setting length field is currently mandatory
for variable length arrays (VPP-199).

Change-Id: I7ce66076d8a29d1ff5dfe5592e651d133e4072aa
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoFix prefixes in unicast-routing models 64/14064/1
Michal Cmarada [Wed, 8 Aug 2018 10:14:52 +0000 (12:14 +0200)]
Fix prefixes in unicast-routing models

It is not valid to use different prefix for imports and augmentations.
This fixes this issue and allows to use 2.0.6.1 yangtools version.

Change-Id: Ie39228fc60a31028fbf74b964011539b7056d9f6
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-341: remove v1.0/v2.0 postman collections 58/13758/2
Marek Gradzki [Fri, 27 Jul 2018 07:06:15 +0000 (09:06 +0200)]
HC2VPP-341: remove v1.0/v2.0 postman collections

Hc2vpp examples are using now v2.1 format.

Change-Id: I945c03f8b80a4a74cf7064c566205ae5dc334d89
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoAdd script for bumping hc2vpp version 55/13755/1
Marek Gradzki [Fri, 27 Jul 2018 06:31:04 +0000 (08:31 +0200)]
Add script for bumping hc2vpp version

The script simply replaces version string
in all files from GIT index.

TODO(HC2VPP-369): does not cover updating package
versions and release notes.

Change-Id: Iff4d84ced69873bd8d7e7d58714750d8f2b355e6
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoBump jvpp version to 18.10-SNAPSHOT 86/13586/1
Marek Gradzki [Fri, 20 Jul 2018 11:47:32 +0000 (13:47 +0200)]
Bump jvpp version to 18.10-SNAPSHOT

Also sets version of VPP package dependencies to 18.07.

Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoRelease notes: update jira and project version to 18.10 85/13585/1
Marek Gradzki [Fri, 20 Jul 2018 11:30:39 +0000 (13:30 +0200)]
Release notes: update jira and project version to 18.10

Change-Id: I9180a1bd4f60846568381caf8f99548cbad3a0fc
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoBump hc2vpp version to 1.18.10-SNAPSHOT 83/13583/1
Marek Gradzki [Fri, 20 Jul 2018 11:07:58 +0000 (13:07 +0200)]
Bump hc2vpp version to 1.18.10-SNAPSHOT

Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoFix binding name for route 12/13512/2
Michal Cmarada [Mon, 9 Jul 2018 11:59:31 +0000 (13:59 +0200)]
Fix binding name for route

In specific case when route uses 128 mask and this value is
converted to byte value it is changed to -128, which breaks
internal naming of routes. This needed to be fixed because
routes with 128 mask are not being read from VPP to operational
state.

Change-Id: Ic3b6ded721e7996587982b6a2b3bc8c9ebe03b43
Signed-off-by: Michal Cmarada <[email protected]>
6 years agoHC2VPP-176: add support for api-segment prefix 76/13476/2
Marek Gradzki [Mon, 16 Jul 2018 07:05:42 +0000 (09:05 +0200)]
HC2VPP-176: add support for api-segment prefix

VPP can be run with custom SHM segment prefix:

sudo vpp unix {cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix vpp1 }
sudo vppctl -s /run/vpp/cli-vpp1.sock

this patch adds optional api-segment-prefix parameter to
/opt/honeycomb/config/jvpp.json file.

Example configuration:

{
  "jvpp-connection-name": "honeycomb",
  "api-segment-prefix": "vpp1",
  "jvpp-request-timeout": 5
}

Change-Id: I7ca298644891602afe7898db88bb90d59b49ce4d
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoRemove workaround for YANGTOOLS-678 from ietf-ipv6-unicast-routing model 06/13506/1
Marek Gradzki [Tue, 17 Jul 2018 10:28:58 +0000 (12:28 +0200)]
Remove workaround for YANGTOOLS-678 from ietf-ipv6-unicast-routing model

YANGTOOLS-678 was fixed in Oxygen SR2 used in HC since 18.07.

Change-Id: I7a68e8f7178a7448216825ae64d968552686bba3
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoRemove workarounds from ietf-routing-types related to MDSAL-269 99/13499/2
Marek Gradzki [Tue, 17 Jul 2018 06:57:41 +0000 (08:57 +0200)]
Remove workarounds from ietf-routing-types related to MDSAL-269

Change-Id: Iadd17a3a44a20711e58c272934fb15dfe89bf2be
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoRemove workarounds from ietf-routing-types related to MDSAL-309 97/13497/2
Marek Gradzki [Tue, 17 Jul 2018 05:28:23 +0000 (07:28 +0200)]
Remove workarounds from ietf-routing-types related to MDSAL-309

MDSAL-309 was fixed in Oxygen SR1 used in HC since 18.07.

Change-Id: I65f4574a10afa7ee1875446d7bfcb04aeca8674b
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoRemove workarounds from routing and mpls models related to YANGTOOLS-841 96/13496/2
Marek Gradzki [Tue, 17 Jul 2018 05:06:27 +0000 (07:06 +0200)]
Remove workarounds from routing and mpls models related to YANGTOOLS-841

YANGTOOLS-841 was fixed in Oxygen SR1 used by HC since 18.07.

Change-Id: Ifa2627e284574a0bab84763dc2b6252a4b6be4a3
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-79: use AddressTranslator for ip-address-no-zone translation 34/13334/2
Marek Gradzki [Tue, 3 Jul 2018 12:09:36 +0000 (14:09 +0200)]
HC2VPP-79: use AddressTranslator for ip-address-no-zone translation

Change-Id: I46955630709e3d837f95f488cb2fe089952865c4
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-275: use ip-address-no-zone in v3po YANG model 33/13333/2
Marek Gradzki [Tue, 3 Jul 2018 10:44:55 +0000 (12:44 +0200)]
HC2VPP-275: use ip-address-no-zone in v3po YANG model

The inet:ip-address type was used in HC models
due to ODL bug:

https://bugs.opendaylight.org/show_bug.cgi?id=6413
which was fixed long time ago...

Change-Id: Icaa8ac1269c730243afba53bc663f39f7c90f36c
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-367: update ietf-nat model from 2018-02-23 to 2018-06-28 44/13344/1
Marek Gradzki [Wed, 4 Jul 2018 08:14:34 +0000 (10:14 +0200)]
HC2VPP-367: update ietf-nat model from 2018-02-23 to 2018-06-28

The 2018-06-28 revision:

- removes mandatory statement for limit-per-subscriber
  (previously commented out due to HC2VPP-328),

- removes logging-enable leaf that was not supported by hc2vpp

Change-Id: I36c2b05029331db03e37c016a31b32d6abf4ac06
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-79: provide AddressTranslator.ipAddressToArray for IpAddressNoZone 32/13332/1
Marek Gradzki [Tue, 3 Jul 2018 11:34:17 +0000 (13:34 +0200)]
HC2VPP-79: provide AddressTranslator.ipAddressToArray for IpAddressNoZone

Change-Id: I637842ea6a582676ab305c29b5d8464987537be0
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-79: use ip-address-no-zone for proxy-arp configuration 30/13330/1
Marek Gradzki [Tue, 3 Jul 2018 10:30:35 +0000 (12:30 +0200)]
HC2VPP-79: use ip-address-no-zone for proxy-arp configuration

The inet:ipv4-address type was used in HC models
due to ODL bug:

https://bugs.opendaylight.org/show_bug.cgi?id=6413

which was fixed long time ago...

Change-Id: Ibb57c9b725a038784808e61c1e709663b9c9b9e6
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoBump v3po model versions from 2017-06-07 to 2018-07-03 28/13328/1
Marek Gradzki [Tue, 3 Jul 2018 07:56:58 +0000 (09:56 +0200)]
Bump v3po model versions from 2017-06-07 to 2018-07-03

Change-Id: I7ed600c929b130edf84c09d136e95e32cab4be9e
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-346: use fib-table-list-ref for FIB to ifc assignment 27/13327/1
Marek Gradzki [Tue, 3 Jul 2018 07:56:58 +0000 (09:56 +0200)]
HC2VPP-346: use fib-table-list-ref for FIB to ifc assignment

Change-Id: Ie57776ab9784b7c57630b7ea9ce9b96b71feb5a5
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoFix VXLAN state read 17/13317/1
Marek Gradzki [Mon, 2 Jul 2018 12:29:50 +0000 (14:29 +0200)]
Fix VXLAN state read

Use UnsignedInts.toLong instead of (long) cast.

Change-Id: I1b6875860019f3449bc32f16cd959f3084583d20
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-346: use fib-table-list-ref for VXLAN configuration 16/13316/1
Marek Gradzki [Mon, 2 Jul 2018 11:09:26 +0000 (13:09 +0200)]
HC2VPP-346: use fib-table-list-ref for VXLAN configuration

User is required to explicitly configure FIB tables
using vpp-fib-management module.

The change does not require modification of RESTCONF and NETCONF requests.

Change-Id: Ie3cbff61281ba1a7a9e14c0a26cbd9ce6e44587f
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-348: use vpp-fib-management module instead of FIB table index 99/13299/4
Marek Gradzki [Fri, 29 Jun 2018 12:36:59 +0000 (14:36 +0200)]
HC2VPP-348: use vpp-fib-management module instead of FIB table index

Change-Id: Iba1f6d4c556c8ef839eb309b990f32945e6494fb
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoHC2VPP-349: use fib-table-list-ref in the proxy-arp model 13/13313/2
Marek Gradzki [Mon, 2 Jul 2018 06:36:39 +0000 (08:36 +0200)]
HC2VPP-349: use fib-table-list-ref in the proxy-arp model

User is now required to explicitly configure FIB tables
using vpp-fib-management module.

The patch also adds non-default vrf configuration example
to the proxy-arp postman collection.

Change-Id: I8cbdf0add8992bfb0a6a8fe0a38d6a466d5951f0
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoAdd initializer for FIB tables 11/13311/3
Marek Gradzki [Mon, 2 Jul 2018 05:09:14 +0000 (07:09 +0200)]
Add initializer for FIB tables

Default FIB tables (ID=0) are created in VPP during startup
for both ipv4 and ipv6.
In order to prevent oper and cfg mismatch,
HC needs to update its cfg during startup.

This patch adds initializer for FIB tables which handles that task.

Change-Id: Iadae8d545985a07fdb32000d3ca498cf3f9b40ed
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoMove Proxy Arp RESTCONF examples to separate POSTMAN collection 14/13314/1
Marek Gradzki [Mon, 2 Jul 2018 07:10:11 +0000 (09:10 +0200)]
Move Proxy Arp RESTCONF examples to separate POSTMAN collection

Proxy Arp implementation is part of l3 plugin, so move
configuration examples there as well.

Change-Id: If3eb22dd295901529035e1ea231e9133d6e86bc7
Signed-off-by: Marek Gradzki <[email protected]>
6 years agojvpp-benchmark: improve exception handling 90/13290/1
Marek Gradzki [Fri, 29 Jun 2018 05:35:35 +0000 (07:35 +0200)]
jvpp-benchmark: improve exception handling

Fixes several issues found by Sonar.

Change-Id: I7ab017f9d89221e8eff4b2438b7669df608b5587
Signed-off-by: Marek Gradzki <[email protected]>
6 years agofix Cast one of the operands to a long bug 67/13267/1
Michal Cmarada [Thu, 28 Jun 2018 07:39:52 +0000 (09:39 +0200)]
fix Cast one of the operands to a long bug

both of operands are int type which
can cause loss of data. This changes the types
of operands to long

Change-Id: Ie162d52b1f853c0d83d51c8871af42a597b93386
Signed-off-by: Michal Cmarada <[email protected]>
6 years agosrv6: simplify if condition in SidCustomizer.extractLocPrefix 48/13248/2
Marek Gradzki [Wed, 27 Jun 2018 15:10:08 +0000 (17:10 +0200)]
srv6: simplify if condition in SidCustomizer.extractLocPrefix

Do not check loc.getPrefix() == null twice.

Change-Id: I04a9dae25e14761d7f287aedd636dda8169f2dc9
Signed-off-by: Marek Gradzki <[email protected]>
6 years agosrv6: do not check if SidCustomizer.bindRequest() returns null 47/13247/2
Marek Gradzki [Wed, 27 Jun 2018 14:59:59 +0000 (16:59 +0200)]
srv6: do not check if SidCustomizer.bindRequest() returns null

Such comparison is allways false.

Change-Id: I39d4caac4146d48c04ecf28b3c9ecf7ae0127949
Signed-off-by: Marek Gradzki <[email protected]>
6 years agobgp: mark parameters of hc2vpp RouteWriters as @NonNull 57/13257/1
Marek Gradzki [Wed, 27 Jun 2018 19:13:29 +0000 (21:13 +0200)]
bgp: mark parameters of hc2vpp RouteWriters as @NonNull

Requires https://gerrit.fd.io/r/#/c/13254/

Change-Id: Icacf161f1c47f9471f19b0d89e5f2396942537ec
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoBD: remove redundant null check in BridgeDomainCustomizer 50/13250/1
Marek Gradzki [Wed, 27 Jun 2018 15:26:37 +0000 (17:26 +0200)]
BD: remove redundant null check in BridgeDomainCustomizer

Details objects cannot be null.

Change-Id: I2a1c0991ec2ccfee4c6d35c77321c6cb67f4bb7f
Signed-off-by: Marek Gradzki <[email protected]>
6 years agolisp: fix sonar issues in SubtableDumpParams 49/13249/1
Marek Gradzki [Wed, 27 Jun 2018 15:20:16 +0000 (17:20 +0200)]
lisp: fix sonar issues in SubtableDumpParams

Change-Id: Ic53723df24e8c373fab3f2a63d21de39c1fac156
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: fix repo link 42/13242/1
Marek Gradzki [Wed, 27 Jun 2018 12:29:26 +0000 (14:29 +0200)]
examples/ncclient: fix repo link

Change-Id: If9b2f1d8fd22b7e9df3069dd65e7db2900027a92
Signed-off-by: Marek Gradzki <[email protected]>
6 years agoexamples/ncclient: use ncclient repo instead of fork 40/13240/1
Marek Gradzki [Wed, 27 Jun 2018 12:24:22 +0000 (14:24 +0200)]
examples/ncclient: use ncclient repo instead of fork

There is no need for using fork after
support for <config> was merged:
https://github.com/ncclient/ncclient/pull/232

Change-Id: I0bd4a1ce6c4263228771ae3a74e298640a0c2a40
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-317: remove FibTableService 39/13139/4
Michal Cmarada [Wed, 20 Jun 2018 07:57:15 +0000 (09:57 +0200)]
HC2VPP-317: remove FibTableService

After implementing FIB table management in SRv6 and routing
FibTableService is no longer necessary and can be removed.

Change-Id: I797ac52d5ed8ee1c6bf901895080aa06e5ac9016
Signed-off-by: Michal Cmarada <[email protected]>
7 years agohide Srv6Util constructor in SRv6 module 73/13173/3
Michal Cmarada [Thu, 21 Jun 2018 09:23:52 +0000 (11:23 +0200)]
hide Srv6Util constructor in SRv6 module

Hide default constructor to prevent creating
instance of Srv6Util class.

Change-Id: I805ce1971883426d8df3d9ce6eac2e5bd6ce201a
Signed-off-by: Michal Cmarada <[email protected]>
7 years agoHC2VPP-344: Add FIB table management for routing 93/13093/6
Michal Cmarada [Fri, 22 Jun 2018 09:02:27 +0000 (11:02 +0200)]
HC2VPP-344: Add FIB table management for routing

- update models with FIB table management
- fixes implementation for FIB table management

Change-Id: I5cf397d6e827cb14df970e14ee268ef870931bd4
Signed-off-by: Michal Cmarada <[email protected]>