summaryrefslogtreecommitdiffstats
path: root/lisp
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-02-17Add union type builders (HC2VPP-62 workaround)Marek Gradzki4-0/+157
Change-Id: I17e5c7a23e864329130cf23c11888cc28d9c19ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-10HONEYCOMB-335 - Initialization test supportJan Srnicek5-18/+102
- 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 Srnicek2-78/+116
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 Srnicek75-563/+768
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 Srnicek4-28/+178
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 Srnicek2-6/+138
Reference must be checked while removing to prevent dead references Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki3-7/+7
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-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-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki3-7/+7
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-02HONEYCOMB-300 - Adjacencies context pathJan Srnicek3-5/+17
Changed root context id to point correctly to Contexts trought augmentation Change-Id: I04a99438f0628ce429bcf8e4a00beba65ec400d3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-25Merge "HONEYCOMB-282 - Lisp factories refactoring"Marek Gradzki14-599/+339
2016-11-25HONEYCOMB-290 - Revert of presence removalJan Srnicek1-0/+2
Presence is actually needed here, otherwise both mandatory leafs(table-id under vrf-subtable and bridge-domain-ref under bridge-domain-subtable) are required, which is unnecessary because sub-tables can be defined in any combination(none,one,both) This will recreate bug described in HONEYCOMB-290 till https://git.opendaylight.org/gerrit/#/c/48532/ is merged. In the mean time, whole subtree request must be used Change-Id: Id160888ea4b3e452288ce2d42d589dcc5319dd49 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-282 - Lisp factories refactoringJan Srnicek14-599/+339
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 Srnicek6-21/+20
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-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-21HONEYCOMB-290 - Removed presence for lisp sub-tablesJan Srnicek1-2/+0
Vrf/Bridge-domain sub-tables changed to structural containers Change-Id: Icaefcae6748837cdb4d6d731ec9cf5f67ff920b7 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek89-373/+361
- 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>
2016-11-09HONEYCOMB-254 - Adjacencies dump supportJan Srnicek23-82/+1143
Added mapping context between adjacency id(HC side) and combination of remote and local eids(vpp side) Change-Id: Icbba9130a82b7af51b23e6d6d68fcfbf49e66c99 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek1-2/+2
So that they can influence whether empty data is to be considered as present + Move registries implementations from util to impl + Introduce DelegatingReader trait + Extend GenericReader where possible to reduce duplication Change-Id: I5a416acd0c4eab1fbc30fcbe585719991dbe9215 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-04HONEYCOMB-276 - Mandatory for sub-tablesJan Srnicek1-1/+8
Added mandatory for sub-tables under vni-table Change-Id: I0f410cc0e79becafc16e7012395fa6269b278b98 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-03HONEYCOMB-259 - CacheKeyFactoryJan Srnicek13-67/+63
Provides logic for creating scoped keys Change-Id: I126bcb9255b4f8a3f2585f50e6e718948581e7f0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>