Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Requires https://gerrit.fd.io/r/#/c/8185/
Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Utilizes new default update implementation
Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I28d277d7bf39b61836d86c247bac8411dbe350d4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Icf372b22c47e63e27296627160dff0bacdf9e7a3
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Removes need for custom mapping for locator pairs and their ids
Change-Id: Idaa6ee5ec74d8bf57a72bea95c0c0d408e6e940e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Requires https://gerrit.fd.io/r/#/c/7681/
Change-Id: Icd1d5dfb60f5eb79f9f4ab46f38d56f2b01672da
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Depends on https://gerrit.fd.io/r/#/c/6924/
Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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>
|
|
Change-Id: Ide0dd4581452cbff935df500c73d50afbbecdcbf
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I50155013874a9e69d926a48a212d402e93945d9b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
requires https://gerrit.fd.io/r/#/c/7168 to be merged
Change-Id: I5b734af662e651df5753f64f14b6b44d863ecbe8
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- 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>
|
|
Change-Id: Ibf25ca7998b59d0d918277092e2d1e84e68cd923
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ie7887c8e8f10678410ad677c425bfed1690bf440
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
- 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>
|
|
- must be written before interfaces, to prevent setting flags
for not existing interface
Change-Id: I7fc472f3bfed2c71081a5db8628f557fb1870743
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I190562527c68d022a9b16fc76ad6a011161f4308
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|
|
Workaround till HONEYCOMB-354 is resolved
Change-Id: I2e4d4d9f62ebaff3c2ff253379f493e96043bd8d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Artificial prefix for mappings that are not present
Change-Id: I789750e3877918b2e15ba19871da1bf8bc4e207b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Added HmacKey as handled children for writer/reader
Change-Id: If1f1669333b2f89225e99100e672064869482a17
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also bumps honeycomb and vpp dependencies
Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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>
|
|
- 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>
|
|
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>
|
|
Change-Id: I589b6480853ea4716f60301e2b53bdd82db3dde1
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
- initialization test support for container and list customizers
- test samples
Change-Id: If3fe4faf82a86c43fafdfab694a4388d50f61de4
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|
|
Change-Id: Ieb46ee56da4efd8d0d3423b66e2d74386c440688
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
must be cached per locator set
(same as ipv4 addresses under interfaces)
Change-Id: I1e2828a1ba4d4d20c99a995e281fe0b6726465fb
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|
|
Change-Id: If780bbe08c0eee36a00b408b4a71383fa9d1e300
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
PitrCfg holds reference to locator set, therefore must be deleted before
Change-Id: Ic4d2d7e26126991a4426310e4e4a5f0516969fc9
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Reference must be checked while removing to prevent
dead references
Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|
|
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>
|
|
Depends on https://gerrit.fd.io/r/#/c/4137
Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Changed root context id to point correctly to Contexts
trought augmentation
Change-Id: I04a99438f0628ce429bcf8e4a00beba65ec400d3
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Refactoring to remove boilerplate code/for more readability
Change-Id: I1ed09160a183c748e698087edf57063e25e8d953
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|
|
Refactoring due to https://gerrit.fd.io/r/#/c/3898/
Change-Id: I3ddcc06aca0a730db9fd727a3d2b10cd085f870e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
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>
|