summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Fix GRE tunnel after API changesMichal Cmarada2-21/+35
Change-Id: I346a2e1793e3fc5758a23ca4f049e8118a81b54b Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-04-11HC2VPP-397: add support for java 11Michal Cmarada2-12/+20
- dependency updates - compilation error fixes - javadoc fixes Change-Id: Ic7371931b0728c888a39350a77c959121afb9786 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-04-08HC2VPP-406: fix build errors after ODL bump to neonMichal Cmarada10-13/+13
This fixes build issues after ODL bump in Honeycomb (HONEYCOMB-443). Change-Id: I3bf203dd60d12057595b15ce1ad59302dc14e2a0 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-04HC2VPP-404: Update package names for JVPPMichal Cmarada59-160/+160
Fix package names for JVPP so it no longer contains vpp since it has been migrated outside of VPP project. Change-Id: I1e7a3fe4713beaaf7a1a0b41e7180d03bb7b74e5 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-28remove vpp deprecated tap-cli interfaceMichal Cmarada43-595/+237
Change-Id: I5b78cd2c9d8250b6af691d124fd31bb1bf822fb1 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-14HC2VPP-300: Unify namespaces of V3PO modelsMichal Cmarada57-388/+383
Change-Id: Ibf74c4c1ea159bfcbe1de8bef4dac9bde3cb9ffd Signed-off-by: Tibor Král <tibor.kral@pantheon.tech> Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-14HC2VPP-300: Unify namespaces of FIB modelsTibor Král3-3/+3
Change-Id: Ib24688d039c7e38afe468af542f62c821111e41f Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-08Revert StatisticsMichal Cmarada53-975/+262
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 Cmarada1-1/+1
Change-Id: I516b90dac084f169d1bf1cc74909777d0824b7cb 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 Cmarada1-1/+1
Change-Id: I228340d362adcbec9e46c8e406337392caffaf37 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-12-05HC2VPP-395: Provide Interface statistics countersTibor Král53-262/+979
Change-Id: If0f62b36b9d9dc6718ed62f81268ac0908f02297 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-11-12Bump jvpp version to 19.01-SNAPSHOTMichal Cmarada2-32/+18
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-17HC2VPP-390: Tap v2 interface implementationTibor Král5-2/+457
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 Cmarada41-236/+236
- 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-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada8-9/+9
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-09-28Fix v3po interface typeMichal Cmarada1-6/+7
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-07-04HC2VPP-79: use AddressTranslator for ip-address-no-zone translationMarek Gradzki3-66/+34
Change-Id: I46955630709e3d837f95f488cb2fe089952865c4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-04HC2VPP-275: use ip-address-no-zone in v3po YANG modelMarek Gradzki7-41/+41
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 <mgradzki@cisco.com>
2018-07-03Bump v3po model versions from 2017-06-07 to 2018-07-03Marek Gradzki41-236/+236
Change-Id: I7ed600c929b130edf84c09d136e95e32cab4be9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-03HC2VPP-346: use fib-table-list-ref for FIB to ifc assignmentMarek Gradzki2-8/+10
Change-Id: Ie57776ab9784b7c57630b7ea9ce9b96b71feb5a5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-02Fix VXLAN state readMarek Gradzki1-1/+1
Use UnsignedInts.toLong instead of (long) cast. Change-Id: I1b6875860019f3449bc32f16cd959f3084583d20 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-02HC2VPP-346: use fib-table-list-ref for VXLAN configurationMarek Gradzki2-3/+9
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 <mgradzki@cisco.com>
2018-06-27BD: remove redundant null check in BridgeDomainCustomizerMarek Gradzki1-10/+8
Details objects cannot be null. Change-Id: I2a1c0991ec2ccfee4c6d35c77321c6cb67f4bb7f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-22HC2VPP-88: translation layer for af_packet interface managementMarek Gradzki5-2/+281
Includes postman collection with RESTCONF examples. Change-Id: If6f7ba1e2e7ab37433ebc5215e4731f1193c62a2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-21Fix NPE in InterfaceDataTranslator.isInterfaceOfTypeMarek Gradzki1-3/+8
SwInterfaceDetails returned by dump manager are nullable. In that case isInterfaceOfType should return false. Change-Id: Iaf3d1f6c6923ed6863357fe2470716f135b6164f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-11HC2VPP-354: use hw_interface_set_mtu for Ethernet interfacesMarek Gradzki2-3/+14
The API was renamed by https://gerrit.fd.io/r/#/c/12930/ The VPP change spearates setting of hardware interface and software interface MTU. More details: https://git.fd.io/vpp/tree/src/vnet/MTU.md HC supports only hardware interface MTU configuration for Ethernet interfaces. MTU for software interfaces (per protocol MTU) is not supported (HC2VPP-355). Change-Id: I7eb1cb035a7b0f428a7bc7a9bb1c73819b52f0fa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-19HC2VPP-308: forbid local0 deletionMarek Gradzki1-2/+10
Adds special case for local0 in InterfaceCustomizer.deleteCurrentAttributes. Change-Id: I1eb0826f90bd5dbbdb3b6cbb4b19ac5cadb1a68f Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 48566d84cd9f4047d96541540cdfc9ef4936acf8)
2018-04-09Remove unused method parametersMarek Gradzki1-2/+1
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-19HC2VPP-289: fix 802dot1 identifiersMarek Gradzki12-93/+93
Indentity names should not start with number, so prefix them with '_'. Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-02HC2VPP-157: use interface-ref instead of string nameMarek Gradzki5-7/+7
Change-Id: Iaf1287c6643c783ff2d31d9ef87e90aa85ea53f1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-20Use IP Translators for creating ietf-inet-types DTOsMarek Gradzki3-81/+24
Cleans classes that uses custom IP translation code. Change-Id: Ia22a651d0bf0fcce143e8bf9aabcc326cfd50c2e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-07Fix operational read for interface's MAC addressMarek Gradzki1-1/+5
Hc2vpp supports 48-bit addresses. VPP returns 64-bits, so ignore extended part. This patch updates MAC address handling broken by https://gerrit.fd.io/r/#/c/9090/ Change-Id: I7cc8d75e19f1f56e1f1adc23848a4a9baef87206 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31Adapt to mac address representation change in l2.apiMarek Gradzki3-22/+6
https://gerrit.fd.io/r/#/c/9090/ changes mac representation from u64 to u8[] Change-Id: Ia82d5652926f8bd10c1c8fc3ad0e147b35dbee4c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-11Adapt notification producer to jvpp API changes (VPP-914)Matej Perina1-18/+29
Required by https://gerrit.fd.io/r/#/c/8377/ Change-Id: I91b5adda6ec8d9b011ebc1287fd2ec9811164b04 Signed-off-by: Matej Perina <mperina@cisco.com>
2017-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki4-8/+4
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24NamingContext.getNameIfPresent should not fail if name is missingMarek Gradzki1-1/+7
Also makes InterfaceChangeNotificationProducer notification translation code more defensive. The issue was revealed by HC2VPP-216 and HC2VPP-220. Change-Id: I20792a51743ae621d86c1b9066d680bc2303ed82 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24Move StaticCacheKeyFactory to honeycomb projectMarek Gradzki4-53/+8
Requires https://gerrit.fd.io/r/#/c/8169/ Change-Id: Ibb1482d350f4739c3ab33bc0ff678f06335af48c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek8-77/+13
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-22 - Interconnetion improvementsJan Srnicek1-17/+17
Change-Id: I0abb937df505663ecbae47f4c4a75681b3ff75be Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-213 - Dump cache manager use in TapCustomizerJan Srnicek1-37/+26
Change-Id: I2122a2245e8fc3b7717cb3dbc3c85b85e4b549fa Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-212 - Dump cache manager use in VHostUserCustomizerJan Srnicek1-39/+27
Change-Id: Ibf4ecd77dc64cf6fa1b349f1eb5b174741ccd2d9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-205 / HC2VPP-25 - Sub interface caching improvementJan Srnicek20-363/+598
Improves dumping mechanism for sub interfaces in a way that if full dump was already performed, it will be used from cache instead of new dump call. Also prevents creating dump dto's if not necessary Change-Id: I46a305ec1b325c2d949bff9e2b151752ccd508b6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek3-13/+68
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-10Adapt hc2vpp to changes to interface events apiMarek Gradzki2-26/+22
Requires https://gerrit.fd.io/r/#/c/7925/ Change-Id: If627983bfcb0bf36ec1aa34ec863280e1f1bee36 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07HC2VPP-182: fix looppack interface orderingMarek Gradzki1-1/+1
Change-Id: I4244814fbf5e79dd78b80ea73d08aa79ccac15a1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-21HC2VPP-172: fix RewriteCustomizer.mergeMarek Gradzki1-1/+1
Change-Id: I63fbae0b34627d9af056cefa0ff60dd3c2b52bb1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-12HONEYCOMB-298 - Elimination of config path leafrefs in operational treeJan Srnicek47-314/+374
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-01HC2VPP-164 - Interface/SubInterface filtrationJan Srnicek4-14/+40
Filtration cannot be done by subId ,because 0 is allowed value Change-Id: Ic89e30cb74943b6a4c9c995f032bd22567c5ad1e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-19Adapt to vpp API changesMarek Gradzki2-41/+43
Changes were introduced by https://gerrit.fd.io/r/#/c/6662/ Change-Id: If5d4866339623c6789ac1674c5c190a4a28f51c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>