summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08HC2VPP-406: fix build errors after ODL bump to neonMichal Cmarada8-19/+20
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 Cmarada46-109/+109
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-14HC2VPP-300: Unify namespaces of VPP-Common modelsTibor Král3-12/+12
Change-Id: If39a2f4d1db07a406c4552cc967f9308a2163d61 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-01-14HC2VPP-300: Unify namespaces of LISP modelsTibor Král52-373/+373
Change-Id: I03aad6e58c1c8af077ff601cce9ae76c5c378b76 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada6-7/+7
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2017-11-22Add missing @Override annotationsMarek Gradzki5-0/+6
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-18HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-tableJan Srnicek44-256/+256
table-id(VRF) or bd-reference(BD) must be mandatory, because if assignment of vni to vrf/bd does not exist, and local/remote mapping tryins to reference such vni, api call to vpp will fail with invalid value error Change-Id: Iaeaac1fe698ccc783313063906532bcf268a99fb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-10HC2VPP-243 - don't throw on remove of map-request-modeJan Srnicek1-2/+3
Allows removing all lisp-feature-data. Also fixes ordering for itr remote locator set. Change-Id: Ib181c724dfa76f5ac380eec5e50f5d76f6b01389 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-11HC2VPP-191 - One transport protocol apiJan Srnicek44-256/+256
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek4-30/+12
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-11HC2VPP-210 - Map server fallback threshold supportJan Srnicek44-265/+283
Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-08HC2VPP-209 - Map register TTL registration supportJan Srnicek44-262/+296
Change-Id: Icf372b22c47e63e27296627160dff0bacdf9e7a3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-07HC2VPP-162 - use composite key for locator pairJan Srnicek9-390/+117
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 Gradzki2-2/+5
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 Gradzki4-4/+4
Depends on https://gerrit.fd.io/r/#/c/6924/ Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-20HC2VPP-192 - Removing of locator pair mappingJan Srnicek1-0/+152
When negative mapping(no locators present), do not invoke read as it would fail on non existing parent data Change-Id: Ia20d707efd4d7fdab62d9dc0cd0b4003bc7de3cb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-19HC2VPP-168 - Gpe native entries support(operational read)Jan Srnicek2-0/+258
Change-Id: I50155013874a9e69d926a48a212d402e93945d9b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-19HC2VPP-168 - Gpe native entries support(write only)Jan Srnicek3-0/+255
requires https://gerrit.fd.io/r/#/c/7168 to be merged Change-Id: I5b734af662e651df5753f64f14b6b44d863ecbe8 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-09Update module tests after introducing YangDAGMarek Gradzki2-4/+6
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-06HC2VPP-165 - Optional Local Eid supportJan Srnicek3-83/+216
- Support for optional local eid's for gpe entries - Fixes equality issues for mapping identificators - Fixed write request ordering of locator pairs HC2VPP-160 - Use standard index to name mapping for gpe entries - Uses indexes returned from dump/write calls to bind context mapping Change-Id: Ib69240044206dec21307a47981a63f415a16bbdd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-24HC2VPP-147 - Gpe entry implementationJan Srnicek4-0/+980
Change-Id: Ie7887c8e8f10678410ad677c425bfed1690bf440 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-18HC2VPP-90 - Ipv4/Ipv6 prefix based eid's supportJan Srnicek9-62/+588
- adds full support for prefix based eid's ,both in non-normalized and normalized form Change-Id: I22451d20e0f9b540da447c8f120b917e0b30a6b7 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-02HC2VPP-131 - checking of lisp state before/after according to operationJan Srnicek11-30/+56
Change-Id: I190562527c68d022a9b16fc76ad6a011161f4308 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-24HC2VPP-124 - Post lisp apis to one***Jan Srnicek34-336/+334
All apis starting with prefix lisp*** will be abandoned, so refactoring to one*** variants Change-Id: I603b3ce54ef1f8b6cefaaccedb87ccbf3ea38dd0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-20Locator set top level initializationJan Srnicek2-8/+87
Workaround till HONEYCOMB-354 is resolved Change-Id: I2e4d4d9f62ebaff3c2ff253379f493e96043bd8d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-11HC2VPP-126 - Eid context artificial prefixJan Srnicek3-11/+11
Artificial prefix for mappings that are not present Change-Id: I789750e3877918b2e15ba19871da1bf8bc4e207b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-23HC2VPP-58 - Reduced unnecessary dumpJan Srnicek1-4/+4
By internal behaviour change in vpp, its now to possible to distinguish between negative/positive mapping Change-Id: I13981bdc2d5fc6d660874587679aaf076f0c6a86 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-22HC2VPP-115 - lisp state check before write/readJan Srnicek24-77/+628
- checks lisp state before read,disabled state will result in returning empty data - checks lisp state before write,disabled state will result in throwing IllegalStateException - fixes ordering issues for lisp gpe interfaces Change-Id: I6dcfc6c7f514aad57841f2aac1b2ee0c6b868c3c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-30 - Lisp control plane implJan Srnicek14-12/+1003
Add new nodes - rloc-probe/ing - map-server/s - map-request-mode - petr-cfg use Also adds new nodes to local-mapping - key - key type Change-Id: Ia50767a8fcbba4cd954ef94f7a08369ac01436a0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-10HONEYCOMB-335 - Initialization test supportJan Srnicek2-18/+83
- initialization test support for container and list customizers - test samples Change-Id: If3fe4faf82a86c43fafdfab694a4388d50f61de4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-02Lisp api use fixJan Srnicek1-15/+88
fixes use of Lisp api to new style with Object array instead of binary data Change-Id: Ib06f3d0b424cbb4288bb9b7ac8dc82c2fc0c69bf Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-01Lisp initializationJan Srnicek30-203/+203
Changes - Lisp state excluded from config data(bug introduced during L2 support patch) - Initializing for every read customizer - Proper rebinding of paths from LispState on Lisp Change-Id: I3da821412313e0826e5d80fdccfdc1021a550ad5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-25Lisp test coverageJan Srnicek3-27/+178
Change-Id: If780bbe08c0eee36a00b408b4a71383fa9d1e300 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-12HONEYCOMB-296 - Reference checking in Locator setJan Srnicek1-3/+86
Reference must be checked while removing to prevent dead references Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-02HONEYCOMB-300 - Adjacencies context pathJan Srnicek2-3/+11
Changed root context id to point correctly to Contexts trought augmentation Change-Id: I04a99438f0628ce429bcf8e4a00beba65ec400d3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-282 - Lisp factories refactoringJan Srnicek1-4/+4
Refactoring to remove boilerplate code/for more readability Change-Id: I1ed09160a183c748e698087edf57063e25e8d953 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HON-3 - Address logic refactoringJan Srnicek3-8/+7
Ipv4/6 address logic refactored to not use InetAddresses.fromLittleEndianArray to prevent unnecessary reverting of address arrays after fix introduced by VPP-132. Removed unused ***reverted variants of conversion logic. Tested with these plugins - Lisp - V3po - Nat Change-Id: I6a0728f8b3dffd04e2edd822ec61542216cca824 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-275 - compilation error with HC runner and setUpJan Srnicek8-28/+28
Refactored setUp() method in WriteCustomizerTest to not trigger http://errorprone.info/bugpattern/JUnit4SetUpNotRun while used in combination with @RunWith(HoneycombTestRunner.class) Change-Id: Iba56b39399ddd7678dda97e094e935a3f02dd22c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek35-0/+4367
- change groupIds - change packages - update poms Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>