summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-14HC2VPP-300: Unify namespaces of LISP modelsTibor Král125-805/+800
Change-Id: I03aad6e58c1c8af077ff601cce9ae76c5c378b76 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-14HC2VPP-300: Unify namespaces of FIB modelsTibor Král38-130/+132
Change-Id: Ib24688d039c7e38afe468af542f62c821111e41f Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-14HC2VPP-300: Unify namespaces of NAT modelsTibor Král33-108/+103
Change-Id: If535c40220b61b7ae3c8d4616395b1bad197e266 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-14HC2VPP-300: Unify namespaces of Routing modelsTibor Král28-66/+66
Change-Id: I826213be33a2378433ca659a2e149c015f3b2030 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-14HC2VPP-300: Unify namespaces of VPP_CLASSIFIER modelsTibor Král44-251/+250
Change-Id: Ia77639cec348980956c215ecccd980eec09a6aa0 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-13Modify gitignore to exclude any generated source filesTibor Král1-1/+1
Change-Id: I4edc5c2d69987c8d1284d785397ba6fc25db67a7 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-08Revert StatisticsMichal Cmarada92-1862/+457
This reverts commit 91db56913c9b1fc9292637adf4d96a052a737f61. This reverts commit cdc4d09c152e985c93016ff61789bc699b97883d. Change-Id: I06cba1968f7379a7daa98b9e66375a5d4127b499 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-04Fix MacAddress API changeMichal Cmarada2-3/+3
Change-Id: I516b90dac084f169d1bf1cc74909777d0824b7cb Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-12-14adapt to string type changes in JVPPMichal Cmarada4-14/+11
Change-Id: Ic3a01740290a2af37c495318f2aa5422f5fe06cd Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-12-12HC2VPP-395: Nullable patchTibor Král1-5/+1
Change-Id: I21c83ad95b1ba236a0456bd1896eebb8bf33f893 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-12-12fix after VPP api changes for address type aliasesMichal Cmarada2-3/+3
Change-Id: I228340d362adcbec9e46c8e406337392caffaf37 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-12-05HC2VPP-395: Provide Interface statistics countersTibor Král92-457/+1866
Change-Id: If0f62b36b9d9dc6718ed62f81268ac0908f02297 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-11-19HC2VPP-291: ACL model bumpMichal Cmarada76-3254/+4933
- 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 <mcmarada@cisco.com>
2018-11-12Bump jvpp version to 19.01-SNAPSHOTMichal Cmarada18-62/+61
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 <mcmarada@cisco.com>
2018-10-22Release notes: update jira and project version to 19.01Michal Cmarada2-4/+4
Change-Id: I6f29b4946d7f88007ac9ce673c7abb902f2dd1ea Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-22Bump hc2vpp version to 1.19.01-SNAPSHOTMichal Cmarada80-174/+174
Change-Id: Iedb7935735cc9836fb1cb11856d38ec1d090e6ba Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-17HC2VPP-390: Tap v2 interface implementationTibor Král10-21/+848
Change-Id: I92fe8adabbb770a45ad47c56f5cd21262c4bd6e1 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech> Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-10HC2VPP-390: Tap v2 interface APIMichal Cmarada74-394/+504
- added support for Tap v2 in v3po yang model - fixed pattern for tap-name Change-Id: Id4c02d56879ca87f370396c920fb599dd7741594 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-08Switch to NSH implementation in VPP projectMichal Cmarada2-181/+412
- update NSH dependency in pom file - update NSH postman collectionUpdate postman collection Change-Id: If7fd116dae4c074b49cfebf0b0a8bd083b0c00b9 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech> Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-05Update BGP user guide and related postman collectionMichal Cmarada2-275/+256
Change-Id: I0777af5b67847eff5bf29b34bd47d1dab232251b Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada117-288/+305
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-09-28Fix v3po interface typeMichal Cmarada3-8/+11
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 <mcmarada@cisco.com>
2018-09-26Add INFO.yaml fileMichal Cmarada1-0/+66
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 <vvalderrama@linuxfoundation.org> Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-09-03Fix nsh-sfc dependencyMichal Cmarada1-1/+1
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 <michal.cmarada@pantheon.tech>
2018-08-23HC2VPP-379: move NAT validation code out of customizersMarek Gradzki14-115/+447
Use Validator interface introduced by HONEYCOMB-431: https://gerrit.fd.io/r/#/c/14022/ Change-Id: I9e4c8d59f299ed7da4a93bbdc70c81f2bea93606 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: various readme fixesMarek Gradzki1-5/+5
- fix link to honeycomb <validate> implementation - fix paths in the examples Change-Id: Ifa72c4f7dbff67fe090ddbc3a67bd94f587b65a3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: update copyright informationMarek Gradzki11-62/+60
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 <mgradzki@cisco.com>
2018-08-22examples/ncclient: make validate and commit optionalMarek Gradzki1-4/+6
Change-Id: I9da8729b58500d18c82981284c44ad07bcbee167 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: set default log level to INFOMarek Gradzki4-11/+11
Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: update Readme.adoc after bump to Oxygen SR3Marek Gradzki1-14/+39
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 <mgradzki@cisco.com>
2018-08-22examples: add ncclient examples of URL capabilityMarek Gradzki7-7/+67
Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples/ncclient: <copy-config> example of bridge domain configurationMarek Gradzki4-0/+115
Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples/ncclient: update readme with <validate> exampleMarek Gradzki11-35/+46
Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples: convert ncclient Readme to adocMarek Gradzki1-19/+47
Change-Id: Ida137d00b51a480e4f27950cc9bbc609f4782efd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples: add verbose option to ncclient scriptsMarek Gradzki4-8/+32
Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21Adapt ncclient examples to 18.07 ietf-nat model changesMarek Gradzki8-201/+220
The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367. Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-17HC2VPP-343: enable validation for acl listMarek Gradzki11-197/+338
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 <mgradzki@cisco.com>
2018-08-14HC2VPP-375: align classify session's match with skip-n-vectors zerosMarek Gradzki2-30/+24
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 <mgradzki@cisco.com>
2018-08-13Check length of classify session's match vector (HC2VPP-373)Marek Gradzki4-6/+70
Change-Id: I45028349f81a756d03d46e02af40041a7cae1fec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-13Explicitly fail when classify table for given session is missingMarek Gradzki2-6/+18
Change-Id: Ied737af2eb650f54fbaa5413eb0a586793d34e43 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-13lisp: remove unnecessary Integer boxing in RemoteMappingCustomizerMarek Gradzki1-1/+1
Fixes issue reported by Sonar Change-Id: If7448ea2618cbcbad56c7dcf4c87ec6f1cc1cb39 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-13jvpp-benchmark: ignore unclosed resources reported by SonarMarek Gradzki2-0/+6
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 <mgradzki@cisco.com>
2018-08-10Set mask/match length when using VPP's classfierMarek Gradzki5-1/+5
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 <mgradzki@cisco.com>
2018-08-08Fix prefixes in unicast-routing modelsMichal Cmarada2-2/+2
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 <michal.cmarada@pantheon.tech>
2018-07-27HC2VPP-341: remove v1.0/v2.0 postman collectionsMarek Gradzki22-11253/+2
Hc2vpp examples are using now v2.1 format. Change-Id: I945c03f8b80a4a74cf7064c566205ae5dc334d89 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-27Add script for bumping hc2vpp versionMarek Gradzki1-0/+23
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 <mgradzki@cisco.com>
2018-07-20Bump jvpp version to 18.10-SNAPSHOTMarek Gradzki15-23/+29
Also sets version of VPP package dependencies to 18.07. Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-20Release notes: update jira and project version to 18.10Marek Gradzki2-4/+4
Change-Id: I9180a1bd4f60846568381caf8f99548cbad3a0fc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-20Bump hc2vpp version to 1.18.10-SNAPSHOTMarek Gradzki80-173/+173
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-18Fix binding name for routeMichal Cmarada5-4/+91
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 <michal.cmarada@pantheon.tech>