summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp
AgeCommit message (Collapse)AuthorFilesLines
2018-01-02HC2VPP-157: use interface-ref instead of string nameMarek Gradzki8-13/+13
Change-Id: Iaf1287c6643c783ff2d31d9ef87e90aa85ea53f1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki1-0/+1
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5 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-20Use InetAddresses.forString instead of InetAddress.getByNameMarek Gradzki3-15/+12
Unlike InetAddress.getByName(), Guava's InetAddresses.forString() never cause DNS services to be accessed. JDK equivalents whenever you are expecting to handle only IP address string literals, so there is no blocking DNS penalty for a malformed string. See: https://google.github.io/guava/releases/22.0/api/docs/com/google/common/net/InetAddresses.html#forString-java.lang.String- Change-Id: I7972c09f1f0a3a2688021302acbf6df112be7f72 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-07Fix operational read for interface's MAC addressMarek Gradzki2-2/+8
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 Gradzki6-37/+22
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 Perina2-31/+42
Required by https://gerrit.fd.io/r/#/c/8377/ Change-Id: I91b5adda6ec8d9b011ebc1287fd2ec9811164b04 Signed-off-by: Matej Perina <mperina@cisco.com>
2017-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@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 Srnicek12-116/+29
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-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek4-13/+73
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 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-07-07HC2VPP-182: fix looppack interface orderingMarek Gradzki1-1/+1
Change-Id: I4244814fbf5e79dd78b80ea73d08aa79ccac15a1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-21HC2VPP-172: fix RewriteCustomizer.mergeMarek Gradzki2-2/+2
Change-Id: I63fbae0b34627d9af056cefa0ff60dd3c2b52bb1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-12HONEYCOMB-298 - Elimination of config path leafrefs in operational treeJan Srnicek83-532/+592
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-09Update module tests after introducing YangDAGMarek Gradzki2-3/+5
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-01HC2VPP-164 - Interface/SubInterface filtrationJan Srnicek7-15/+46
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 Gradzki5-82/+80
Changes were introduced by https://gerrit.fd.io/r/#/c/6662/ Change-Id: If5d4866339623c6789ac1674c5c190a4a28f51c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-19HC2VPP-156: fix unnumbered sub-interface handlingMarek Gradzki4-20/+78
Change-Id: I3c6f4dcd972834543b4fd1193540b5052c787d78 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-16HC2VPP-148: unnumbered interfaces translation layerMarek Gradzki8-0/+357
Change-Id: Ieafef7f3486134f66c54c56245fc9b685b69d4a9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-15HC2VPP-151 - ip table reconfiguration while address present preventionJan Srnicek4-1/+183
- fixed ordering - addresses must be written after vrf's - added check to prevent such scenario in multi-request scenario Change-Id: Idc233a8ac36fabef306339bfeec57bdc19b0f082 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-15HC2VPP-144 - Sub-interface spanJan Srnicek11-64/+212
Provides option to define port mirroring from interface to subinterface Change-Id: I8c04e8eb6b980c830e77e1ef2b75ddff3d59364c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: jsrnicek <jsrnicek@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-10HC2VPP-114 - Ipv4/6 routing support for sub interfacesJan Srnicek27-271/+767
Provides option to set ipv4/6 vrf id for sub interface same way as for interface Change-Id: I3e14620d61e364e6741a1f1642570dd9ee317255 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki1-2/+2
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-15Update revision of models that changed since 17.01Jan Srnicek74-471/+471
Change-Id: I7a42cee65b2a1957e9f1d039b0372fad1bb5550c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-7 - Split vpp state/Cli RPC to separate moduleJan Srnicek22-567/+113
Introduces VppManageModule containing - Vpp state attributes - CLI RPC support - Keep-alive Change-Id: I8907e57132cc9e57840aa3b9607fa131a77f767d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek57-5955/+0
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek71-7500/+5
Split vpp-classifiers and vpp-classifiers acls' to separate modules. Contains TODO's for future change of dependencies Change-Id: I94f92ce2ec8960c67bd406f085f2fe928079ee23 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-08HC2VPP-96: ND proxy translation layerMarek Gradzki6-0/+481
Change-Id: I437f68d601499ab9ee6aef26e2f67b8e4ac61dfc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-08Fix match-exact-tags translation for subifMarek Gradzki2-5/+7
Change-Id: I98203b4e42a65de972faff4ab6d80154ddd10b52 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-03HC2VPP-78 - subnet validation fixJan Srnicek5-288/+4
Validation removed, more descriptive expcetion handling to be added after VPP-649 Change-Id: I6e0a84b2dc3f3c9d3d943874baa508636a1df808 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-03Remove vrfId cfg from Ipv4NeighbourCustomizerMarek Gradzki2-45/+3
Follows vpp change: https://gerrit.fd.io/r/#/c/5522/ Change-Id: I881ffab2f7a417020334605426e2c9fdd3a4b028 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-24HC2VPP-84: multiple ARP proxy ranges supportMarek Gradzki10-266/+372
Change-Id: If3e2b8b889a62ce8b9e62f854c592c24f319c0d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-22Fix ethernet container removal error messageMarek Gradzki1-1/+1
Change-Id: I9a9cdd39d8016b75fc2966ddb0cf855e94e95d55 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-21HC2VPP-81: add support for ARP proxy enable/disableMarek Gradzki3-8/+52
Change-Id: Ib0cd5ce9175161a3e9bc83076931fb75e6d82a09 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17HC2VPP-75 - vrf extraction fixJan Srnicek4-5/+219
- fixed vrf extraction for Ipv6Neighbours + add test - added vrf extraction for Ipv4Neighbours + add test Change-Id: Ia7d1b6057c19e2f72139b3b0464f4a50a24b1c7b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-08HC2VPP-11/HC2VPP-12 - refactored ipv4/6 logic/testsJan Srnicek22-378/+1046
- all dumping logic moved under common abstract classes - added tests Change-Id: Ifdee84795bd8cf6f0d29349dd2cfcf9b2bbec1c9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-25Decrease log level to debug for proxy-arp readMarek Gradzki1-1/+1
Change-Id: I63f5615ea3ddeb924f6e6432587439ee585f6975 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-12HONEYCOMB-267 - Reference check for Bridge domain in L2Jan Srnicek2-4/+92
Eliminate attempts to remove bridge domain referenced in L2 Change-Id: Ia8ddafe68f87ef9fac0b091fb40d2142ce456cd4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki1-2/+2
Also updates version of honeycomb dependencies. Vpp API version bump moved to separate commit due to issues with jvpp jars. Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-04HONEYCOMB-182 - Vrf supportJan Srnicek3-13/+19
Change-Id: Ic2328b626b198bffb550f22ca1144853c16b39e4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-102/HONEYCOMB-103 - Ipv6 SupportJan Srnicek46-327/+2067
Contains - Ipv6 read/write Support for Interfaces - Ipv6 read/write Support for Subi-Interfaces - Postman collection with relevant requests Todo - Test coverage - HC2VPP-11 - Refactoring - HC2VPP-12 - Could be related to - HONEYCOMB-328 Tested - read/write for both interfaces and sub-interfaces - passes ok - init with following scenarios - vpp clean/hc has data - passes ok - vpp has data/hc clean - passed with error for sub-interface described in HONEYCOMB-328. The actual ipv4/ipv6 part passes ok Change-Id: Ib18acb9b18d6374dc5847e30db4049696d512e72 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-187 - Ipv6 support for arp terminationJan Srnicek2-7/+25
Change-Id: I27e9c3d30960d6d9d845c6148edc0429b66be66d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>