summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp
AgeCommit message (Collapse)AuthorFilesLines
2017-05-15HC2VPP-155 - Lisp enabled/disable ordering fixedJan Srnicek1-1/+2
- must be written before interfaces, to prevent setting flags for not existing interface Change-Id: Iaa592b96030b10d476d7f01b341ac19149352429 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-21Locator set top level initializationJan Srnicek4-28/+53
Workaround till HONEYCOMB-354 is resolved Change-Id: I2e4d4d9f62ebaff3c2ff253379f493e96043bd8d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-10HC2VPP-126 - Eid context artificial prefixJan Srnicek2-9/+19
Artificial prefix for mappings that are not present Change-Id: I789750e3877918b2e15ba19871da1bf8bc4e207b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-07HC2VPP-125 - Missing writer/reader for HmacKeyJan Srnicek2-2/+4
Added HmacKey as handled children for writer/reader Change-Id: If1f1669333b2f89225e99100e672064869482a17 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-23HC2VPP-58 - Reduced unnecessary dumpJan Srnicek1-24/+12
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 Srnicek35-184/+472
- 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 Srnicek18-13/+982
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-17Lisp model changes due to decrease version of ODLJan Srnicek2-2/+10
Change-Id: I589b6480853ea4716f60301e2b53bdd82db3dde1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-02Lisp api use fixJan Srnicek1-63/+28
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-02Fixed remote mapping caching scopeJan Srnicek1-1/+0
Change-Id: Ieb46ee56da4efd8d0d3423b66e2d74386c440688 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-02Fixed locator caching scopeJan Srnicek1-1/+4
must be cached per locator set (same as ipv4 addresses under interfaces) Change-Id: I1e2828a1ba4d4d20c99a995e281fe0b6726465fb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-01Lisp initializationJan Srnicek44-359/+560
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 Srnicek1-1/+0
Change-Id: If780bbe08c0eee36a00b408b4a71383fa9d1e300 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-18HONEYCOMB-337 - Fixed ordering for PitrCfg writersJan Srnicek1-2/+4
PitrCfg holds reference to locator set, therefore must be deleted before Change-Id: Ic4d2d7e26126991a4426310e4e4a5f0516969fc9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-12HONEYCOMB-296 - Reference checking in Locator setJan Srnicek1-3/+52
Reference must be checked while removing to prevent dead references Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-322: fix hc error after vpp restart if local-mapping was configuredMarek Gradzki5-25/+21
In case of honeycomb restart, mapping context is read first. Then persisted config is being processed. Therefore customiers should not reject configuration if metadata they are going to add is already present in mapping context. Also includes: * locator-set and remote-mapping handling update * fixes write order of locator sets and local-mapping. Not included: * initializers for lisp (hc restart without vpp restart might fail) Change-Id: I82c1ee878d9ce074a6bd8197678653814514e6ca Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-02HONEYCOMB-300 - Adjacencies context pathJan Srnicek1-2/+6
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 Srnicek13-595/+335
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-13/+13
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-289 - Type-aware read customizersJan Srnicek10-50/+61
Refactoring due to https://gerrit.fd.io/r/#/c/3898/ Change-Id: I3ddcc06aca0a730db9fd727a3d2b10cd085f870e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek51-0/+5788
- 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>