summaryrefslogtreecommitdiffstats
path: root/lisp/api/src
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22lisp: fix issues found by pyangMarek Gradzki3-14/+11
Change-Id: Ia48f32dca30e74c3d132556a85e38d70802f6c83 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-26Remove unused builders for union types generated by yangtoolsMarek Gradzki4-157/+0
Builders were removed after bumping ODL dependencies to Boron: https://gerrit.fd.io/r/#/c/3508/ Then due various issues, e.g. HC2VPP-62, Boron bump was reverted: https://gerrit.fd.io/r/#/c/5064/ https://gerrit.fd.io/r/#/c/5065/ HC is using Carbon now, so builders can be removed again. Change-Id: I1a04dddc798a19842765263bde48a33447480992 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-18HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-tableJan Srnicek1-4/+9
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-09-11HC2VPP-191 - One transport protocol apiJan Srnicek1-0/+23
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-11HC2VPP-210 - Map server fallback threshold supportJan Srnicek1-0/+10
Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-08HC2VPP-209 - Map register TTL registration supportJan Srnicek1-0/+10
Change-Id: Icf372b22c47e63e27296627160dff0bacdf9e7a3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-07HC2VPP-162 - use composite key for locator pairJan Srnicek2-80/+9
Removes need for custom mapping for locator pairs and their ids Change-Id: Idaa6ee5ec74d8bf57a72bea95c0c0d408e6e940e 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-06HC2VPP-165 - Optional Local Eid supportJan Srnicek1-0/+2
- 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 Srnicek2-0/+140
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-04-21HC2VPP-94 - Bridge-domain-refJan Srnicek1-2/+5
leafref used instead of plain string reference Change-Id: If2eb7c8cc3dbd9a03d5ded70b0bdb20ec7f03a63 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-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 Srnicek1-2/+4
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-01Lisp initializationJan Srnicek1-1/+5
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>
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-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-09HONEYCOMB-254 - Adjacencies dump supportJan Srnicek1-0/+65
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-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-10-21Remove unused builders for union types generated by yangtoolsMarek Gradzki4-157/+0
Generated builders are not used in the runtime. Starting from ODL boron, strings that represent union types, are processed according to YANG RFC, that is in the order they are specified in the "type" statement, unitl a match is found. That makes builders for union types obsolete. Change-Id: If9289a0dde34f345a672103d2461a3acd00e2afd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-07HONEYCOMB-154: update revison of models that changed since 16.09Marek Gradzki1-0/+8
Sets revision date to 14.12.2016 - API freeze for HC 1.17.01 Updated models: - lisp.yang - v3po.yang - vpp-vlan.yang - pbb-types.yang - vpp-pbb.yang Change-Id: Ib2b962c7756748ac357141ffbc6f5bc6668c97e3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-05HONEYCOMB-138 - Lisp L2 SupportJan Srnicek5-135/+166
Change-Id: Idff4776a64a88be2e0a45ab1927978e40876ea92 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek4-14/+9
- Fix minor ones - Report bigger and include issue number in comment - Pull common dependencies into dependency management of common/parents Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31HONEYCOMB-75 - Lisp implemetationJan Srnicek1-0/+44
Rebased on final minimal distro Change-Id: Ib71fc59e62dda4633f4f79c5c7417a4aaf02a177 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-15HONEYCOMB-75 - Lisp APIJan Srnicek6-0/+1146
Change-Id: I9999bd2c10fb8731aaabc2a0875eac43647d9e08 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>