aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.go
AgeCommit message (Collapse)AuthorFilesLines
2018-07-06make api.Channel as interfaceVladimir Lavor1-400/+0
Change-Id: I052d241ab09043b1195beebeee99df4d8536621f Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
2018-06-26Pair requests with replies using sequence numbersMilan Lenco1-16/+9
Requests are given sequence numbers (cycling over a finite set of 2^16 integers) that are stored into the lower 16bits of the context. 1bit is also allocated for isMultipart boolean flag and the remaining 15bits are used to store the channel ID. The sequence numbers allow to reliably pair replies with requests, even in scenarious with timeouted requests or ignored (unread) replies. Sequencing is not used with asynchronous messaging as it is implemented by methods of the Channel structure, i.e. above ReqChan and ReplyChan channels. Change-Id: I7ca0e8489c7ffcc388c3cfef6d05c02f9500931c Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2018-05-31Improve handling of probes on timeoutsOndrej Fabry1-24/+55
Change-Id: If94059586d4be739d6c8ae7843cfaf3bc90a5323 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-04-12Add warning message when health check failsOndrej Fabry1-1/+2
Change-Id: I89d465ec9395eeb298a6ca209a8a0fff9107674e Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-04-05Lookup message name by ID when receiving unexpected messageOndrej Fabry1-4/+4
Change-Id: I693e8084b7e3f036dec5e557dc772857bb7d5f3d Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-03-13Add API to set ControlPing msg and fail connect on unknown IDOndrej Fabry1-6/+28
Change-Id: Idd651a29d9fc3903f52d6fe8945add3052a28b52 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-01-04Merge "Fix imports for github.com/sirupsen/logrus"Rastislav Szabo1-1/+1
2017-11-30Removes unnecessary returned func from WaitReadyOndrej Fabry1-2/+1
Change-Id: I34889c8c79fa8ef7a196f8d067edca7f1cb5ad33 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-11-28Add WaitReady to VppAdapterOndrej Fabry1-52/+9
- this fixes issue with mocked adapter during AsyncConnect Change-Id: I952025fec865422f9e83cec9383d96f79a639c90 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-11-28Fix imports for github.com/sirupsen/logrusOndrej Fabry1-1/+1
Change-Id: I84f2e45e5ff188a2a7a80cf69f607b44486c1754 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-09-12Make healthCheck parameters configurableLukas Macko1-2/+32
Change-Id: Idfb6945e13522867ced96a1ed7db85e725f42d1e Signed-off-by: Lukas Macko <lmacko@cisco.com>
2017-09-12Use Sirupsen/logrus with uppercaseLukas Macko1-1/+1
Change-Id: I2f8870c52f64eb56deb44e4a807867b3ef0a0b76 Signed-off-by: Lukas Macko <lmacko@cisco.com>
2017-09-07import sirupsen with lowercaseLukas Macko1-1/+1
Change-Id: I555587fc9ecc074ea1a42f0dc77c11716a1b06cb Signed-off-by: Lukas Macko <lmacko@cisco.com>
2017-09-07Wait until vpp is ready + Update vendorLukas Macko1-0/+47
Change-Id: I7c42d44d60f84fd21e55f9e4928d776f5466cc83 Signed-off-by: Lukas Macko <lmacko@cisco.com>
2017-06-20Upgrade dependency to VPP 17.07 RC0Milan Lenco1-0/+2
Change-Id: I732d478b71895f4d3889752c683dbb6a84c6e17c Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2017-05-25added async connect API, new structure of examplesRastislav Szabo1-201/+164
Change-Id: Iab9bce174596c30998981e02b7030c248c423384 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-22binapi-generator renamed & moved, finished documentationRastislav Szabo1-2/+14
Change-Id: I7d3b53fa238e822b36a6a82c61ffb792da3898bf Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-17multiple small fixesRastislav Szabo1-4/+7
Change-Id: I9e822ce7e9b9f44f7d074b0294d6eda37c2a0f12 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04changes import paths from gerrit.fd.io/r/govpp.git to git.fd.io/govpp.gitRastislav Szabo1-3/+3
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04fixed import pathsRastislav Szabo1-3/+3
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04initial commitRastislav Szabo1-0/+340
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>