summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28HC2VPP-232 - Secondary table lookup supportJan Srnicek50-376/+699
Ietf models now contains case table-lookup to be able to define lookup to secondary table. It must be separated to dedicated case as combining secondary-vrf and other next hop types(simple,multi,special) does not make sense, its either you define lookup to table, or you specify next hop of some kind. This patch works properly only for write, as read is affected by VPP-994/VPP-995. Read at this state can detect that route is using table lookup, but can't detect table that is used for that lookup. Also, HC2VPP-237 must be done in future Change-Id: Ia6976b35c6c1712d8add60beea7b0edbc4536974 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-27HC2VPP-236 - interface-nat model file name fixJan Srnicek1-0/+0
Change-Id: Iaa8d8ccb6ade28f9b62c398610638f5ba465fffd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-18HC2VPP-229 - Combined honeycomb and vpp restart handlingJan Srnicek2-19/+63
Prevents honeycomb from attempting disconnection on different instance of vpp that it was connected to Change-Id: I8dedcaebb08ac75dc0fb9568ab66a011b1b1b676 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-11HC2VPP-191 - One transport protocol apiJan Srnicek102-543/+566
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-07Ipv4AddressRange: remove unnecessary double->int convertionMarek Gradzki1-6/+2
Should fix https://sonar.fd.io/issues/search#issues=AViCMnel_ATy1iJVe-79 Change-Id: I798930dea057cac93ab95b6c1d6f660a21d84e74 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix error-handling issues found by SonarMarek Gradzki3-4/+4
Change-Id: Ic370f72c16beaf56003021a6a89f751de8b744b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix multiple checkstyle and Sonar warings in ByteDataTranslatorMarek Gradzki1-36/+18
Change-Id: Ie1503af359430c47ca71f4ed0230e79daf5f04d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix Sonar security issues in MacIpAceDataExtractorMarek Gradzki1-9/+11
Change-Id: I799a33f7589216c8a43c5560ed3dc58e1bf1eae1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki26-82/+46
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28HC2VPP-105: nat64 prefix readMarek Gradzki4-0/+323
Also updates NAT postman collection with nat64 prefix configuration examples Change-Id: I61cb12a2a91be92defccf55b82dc8658d185195f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28Fix Ipv6Translator.arrayToIpv6Prefix to support single address blockMarek Gradzki2-11/+22
Change-Id: I91353a0c780ac2f61d15c677c25f647f826f71c3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-28HC2VPP-105: nat64 prefix configurationMarek Gradzki3-0/+212
Change-Id: I205fb426ab9c0e47ef40b81c2f6dcd397524f1eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-28Bump nsh-sfc version to 17.10-SNAPSHOTMarek Gradzki1-7/+1
Change-Id: I722e260dca2bae351d4bb1ef4c27ac65bf9b1248 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vppMarek Gradzki51-480/+468
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24NamingContext.getNameIfPresent should not fail if name is missingMarek Gradzki3-7/+54
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-21HC2VPP-105: include NAT64 examples in postman collectionMarek Gradzki1-242/+448
Also includes some minor refactoring. Change-Id: Ibb186fe3fb0fde0ba0f11f5502d770d74a68063c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-21HC2VPP-105: add support for nat64 configuration on interfaceMarek Gradzki16-109/+248
Change-Id: I071f8981b680845ea031a9e61dfca7e34ea539e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-17HC2VPP-105: add support for NAT64 BIB entries readMarek Gradzki7-101/+423
Change-Id: Ic8e61a13cba8ae8e3e69f16985918451df239430 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-17Release notes cleanup after releasing hc2vpp 1.17.07Marek Gradzki9-36/+23
Change-Id: I355e73553345ce12360946d5db2c96253a2d1040 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: interface-nat.yang NAT64 supportMarek Gradzki21-60/+80
Change-Id: I22b391577e11bc33dbe03f643fe6968262f0712f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: add support for nat64 pool readMarek Gradzki3-82/+186
Change-Id: If458e0b812435de5ae41af1bdbf53e2ffaf94e35 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: add support for nat64 pool configurationMarek Gradzki5-26/+105
Change-Id: I5e57b7855e081056ad0d675084209fc9cd4add23 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek63-511/+69
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-22 - Interconnetion improvementsJan Srnicek2-19/+35
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 Srnicek32-559/+1016
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-15HC2VPP docs updateJan Srnicek2-9/+16
Change-Id: I43a1c149c881a829de4a6393bdcc0aa3cd5a336e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek16-104/+155
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HC2VPP-105: add support for NAT64 BIB entries configurationMarek Gradzki10-48/+206
No read support due to issues with nat64_bib_dump Change-Id: I851c4fc5084d6e29d622df2855cf8d47ba147015 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-14HC2VPP-105: update NAT models to support Nat64Marek Gradzki1-0/+47
Nat api in VPP (https://wiki.fd.io/view/VPP/SNAT#API_3) uses different api calls for nat44 and nat64. While ietf-nat model allows to distinguish between static nat44 and nat64 mappings, external-ip-address-pool needs to be augmented with nat pool type. Change-Id: I2ce1fa3a8241c337c617bcbb77ec5eb2a33044e4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-11HC2VPP-210 - Map server fallback threshold supportJan Srnicek103-553/+598
Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-10Adapt hc2vpp to changes to interface events apiMarek Gradzki4-44/+38
Requires https://gerrit.fd.io/r/#/c/7925/ Change-Id: If627983bfcb0bf36ec1aa34ec863280e1f1bee36 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-09HC2VPP-204: enable translation for itr-remote-locator-setMarek Gradzki2-0/+10
Change-Id: I28d277d7bf39b61836d86c247bac8411dbe350d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-08HC2VPP-209 - Map register TTL registration supportJan Srnicek103-554/+617
Change-Id: Icf372b22c47e63e27296627160dff0bacdf9e7a3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-07HC2VPP-162 - use composite key for locator pairJan Srnicek31-992/+260
Removes need for custom mapping for locator pairs and their ids Change-Id: Idaa6ee5ec74d8bf57a72bea95c0c0d408e6e940e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-07Adapt hc2vpp to jvpp error logging improvementsMarek Gradzki3-3/+6
Requires https://gerrit.fd.io/r/#/c/7681/ Change-Id: Icd1d5dfb60f5eb79f9f4ab46f38d56f2b01672da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-04Adapt hc2vpp to ODL Carbon bump in honeycombMarek Gradzki13-12/+20
Depends on https://gerrit.fd.io/r/#/c/6924/ Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-03Fix vpp-translate-test scopeMarek Gradzki1-0/+1
Wrong scope was needlessly increasing footprint and caused DEBUG logs to be printed after introducing https://gerrit.fd.io/r/#/c/7895/ Change-Id: Iad75e376da8b2a3005cfaf5147062a35b15a5e64 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-03Test logback configurationMarek Gradzki1-0/+15
DEGUB is only enabled for fd.io. Should significantly improve build time. Change-Id: Iabc2c82dc6eed335b8b025ff92e129cc07ece03f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-02HC2VPP-197: nat postman collection updateMarek Gradzki1-8/+92
Change-Id: Ia69b929fc31a5ee9608e9a187a560d39202971e1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-02HC2VPP-197: translation layert for post routing NATMarek Gradzki17-258/+378
Change-Id: Icef6682fbc7a18a1e52953270ad26f6b3b7676eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-02Fix revision number for multi-naming-contextMichal Cmarada1-2/+2
Change-Id: I3915e5b37043897ac43ef6853af6d26c39eba768 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2017-08-02HC2VPP-197: update interface-nat model to support post-routing NATMarek Gradzki20-101/+120
Change-Id: I009d790e21ff5019f94145e1aa1e08f87b6729ca Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-01HC2VPP-187 - Naming context improvementsJan Srnicek2-0/+29
Adds option to throw specific exception on non existing mapping Change-Id: I1903ad8d0d660380680f99f0252e7ec6d9c8862d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-27Release notes: BGP user guideMarek Gradzki4-1/+1377
Also adds postman collection with BGP examples (previously stored in honeycomb project). Change-Id: I83fece59abfea9c528b19d084be48515eff4ce99 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Api docs: api list sorted in natural orderMarek Gradzki4-12/+30
Change-Id: Ide2316c50ee144055eab2499fd241ca1ea354066 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Api docs: use project-vpp-version as defioned in release-notesMarek Gradzki3-7/+6
Change-Id: I4fb38506dc0090f703a23eb65c0518981929284d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Api docs: use project.version as defined in release-notesMarek Gradzki5-23/+14
Change-Id: I404d5d73580cc98dfed920f2ba781d0fe7fbd793 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>