summaryrefslogtreecommitdiffstats
path: root/lisp
AgeCommit message (Collapse)AuthorFilesLines
2017-11-23Do not consume ReadFailedException in RemoteMappingCustomizerMarek Gradzki1-12/+9
Also fixes other issues found by static analysis (unecessary boxing, formatitng). Change-Id: I063ccf4334ebdecf944ca1470e677c95a0fd0bdd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki6-0/+7
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit b1f0c71b032eb17d8cac1c5324745b759c2da87f)
2017-10-31Set hc2vpp version to 1.17.10.1-SNAPSHOTMarek Gradzki3-7/+7
Change-Id: Ic1cca03f4375df306dca3bfe946cc2287a4ac44e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31Bump Hc2vpp version to 1.17.10v1.17.10Marek Gradzki3-7/+7
Also updates honeycomb dependencies. Change-Id: I2f04e80f2c1da3d9ac82425f517e8fd3d5cd4213 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-19Set hc2vpp version back to 1.17.10-SNAPSHOTMarek Gradzki3-7/+7
Change-Id: I4f7ec11c9b3564bbef0e9f2b96ee3d939d5a6971 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-19Bump hc2vpp version to 1.17.10-RC2v1.17.10-RC2Marek Gradzki3-7/+7
Also updates honeycomb dependencies Change-Id: Ifc6b3233b141236c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-18HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-tableJan Srnicek102-551/+556
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-12HC2VPP-245 - Local mapping vs Locator set orderingJan Srnicek1-4/+7
LocalMapping must be writen after/deleted before Locator set, as it has reference to it Change-Id: I8a7299d25e0fb5c2ffb83a34f478d82b2edfa749 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-10HC2VPP-243 - don't throw on remove of map-request-modeJan Srnicek3-9/+27
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-10-04Set hc2vpp version back to 1.17.10-SNAPSHOTMarek Gradzki3-7/+7
Change-Id: I6fa53750c10dc914794d4d45ebc5fdb881e214c8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.17.10-RC1v1.17.10-RC1Marek Gradzki3-7/+7
Also updates honeycomb dependencies Change-Id: Ifc6b3233b14f0d6c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@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-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki10-34/+15
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek14-113/+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 Srnicek103-553/+598
Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74 Signed-off-by: Jan Srnicek <jsrnicek@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 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 Srnicek2-1/+157
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-07-11HC2VPP-185 - create artificial mapping if not contained in mappingJan Srnicek1-2/+16
Change-Id: Ide0dd4581452cbff935df500c73d50afbbecdcbf Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki3-7/+7
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-19HC2VPP-168 - Gpe native entries support(operational read)Jan Srnicek6-6/+618
Change-Id: I50155013874a9e69d926a48a212d402e93945d9b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-19HC2VPP-168 - Gpe native entries support(write only)Jan Srnicek7-81/+701
requires https://gerrit.fd.io/r/#/c/7168 to be merged Change-Id: I5b734af662e651df5753f64f14b6b44d863ecbe8 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-16Rename yang files to match model revisionMarek Gradzki7-0/+0
Also order of revisions was sorted starting from most current. Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-13HC2VPP-168 - Native forward path apiJan Srnicek1-0/+51
Change-Id: I0a5f5ccb86f6cf22b056d5336d2e8fdd4a3081d5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-12Added missing config false for gpe-stateJan Srnicek1-0/+1
Change-Id: I6776468f885e3e84b989fe700d5a5d068491434c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-12HONEYCOMB-298 - Elimination of config path leafrefs in operational treeJan Srnicek1-3/+3
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28 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 Srnicek14-506/+316
- 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-24Decrease log level in lisp readers (lisp disabled case)Marek Gradzki10-14/+14
Change-Id: Ibf25ca7998b59d0d918277092e2d1e84e68cd923 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-24HC2VPP-147 - Gpe entry implementationJan Srnicek28-0/+3153
Change-Id: Ie7887c8e8f10678410ad677c425bfed1690bf440 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-18HC2VPP-147 - gpe forward entry apiJan Srnicek1-0/+108
Change-Id: If5f3c073e36de65083db35ee8b0c2bcbd97f4eea Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-18HC2VPP-90 - Ipv4/Ipv6 prefix based eid's supportJan Srnicek22-263/+1324
- 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-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: I7fc472f3bfed2c71081a5db8628f557fb1870743 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-02HC2VPP-131 - checking of lisp state before/after according to operationJan Srnicek24-55/+103
Change-Id: I190562527c68d022a9b16fc76ad6a011161f4308 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-24HC2VPP-124 - Post lisp apis to one***Jan Srnicek72-668/+659
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-21HC2VPP-94 - Bridge-domain-refJan Srnicek2-2/+12
leafref used instead of plain string reference Change-Id: If2eb7c8cc3dbd9a03d5ded70b0bdb20ec7f03a63 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-20Locator set top level initializationJan Srnicek6-36/+140
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 Srnicek5-20/+30
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-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki3-7/+7
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki2-4/+6
- provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-23HC2VPP-58 - Reduced unnecessary dumpJan Srnicek2-28/+16
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 Srnicek59-261/+1100
- 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-15Update revision of models that changed since 17.01Jan Srnicek1-1/+9
Change-Id: I7a42cee65b2a1957e9f1d039b0372fad1bb5550c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-30 - Lisp control plane implJan Srnicek33-536/+2850
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-03-14HC2VPP-29 - lisp control plane apiJan Srnicek1-0/+106
model updates regarding new apis Change-Id: I68b7df8d20944b47d1250536b69872b3b2f96941 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-17Lisp model changes due to decrease version of ODLJan Srnicek3-4/+14
Change-Id: I589b6480853ea4716f60301e2b53bdd82db3dde1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>