summaryrefslogtreecommitdiffstats
path: root/src/scvpp
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19Suppress compiler Warnings for scvppYohanPipereau4-149/+25
-Unused Warnings for callbacks are suppressed with UNUSED maccro -Remove unused function. Change-Id: Ic31a1b40d59a4d9c4fc638452dee36586d1dacd5 Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-03-19Revert "Integrate interface.api changes to 3.0.0 to sweetcomb"Hongjun Ni3-35/+18
This reverts commit 4157d85b570d5da6af042758813712ae04573c8f. Change-Id: I5637ad3e994dcc63d1acd9d1f9729c0dbd2acbf4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2019-03-18Integrate interface.api changes to 3.0.0 to sweetcombYohanPipereau3-18/+35
Change-Id: If7cd04e4e699e27e9fd278a1ac1897d5f53a4345 Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-03-18Fix Cmake build environment and harden WarningsYohanPipereau2-6/+24
-Remove unused sweetcomb CmakeList.txt Warnings -Add more Warnings to plugins, scvpp and gNMI Cmake projects -Remove unused/useless Cmake options in CmakeList files & add comments -Improve gNMI CMakeList.txt and make it independant of a gRPC cmake build for later package integration. -Add FindGRPC.cmake -Remove the use of CXX17 variant and use a dedicated Cmake module for gRPC Change-Id: Iafa3c031d12802e8d8c914cbce6b119c2a5c4800 Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
2019-03-08scvpp - init NATAndrej Kozemcak3-0/+384
Change-Id: I85bf6df0d65e95d6a785bfffc8df9bf749089412 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-03-05scvpp test suite & tapv2 add/delete as dependencyYohanPipereau4-15/+247
Change-Id: I930026a47bbfe7a1a4fb2199ec17184f78fdb554 Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
2019-03-05Merge IETF and Openconfig to use SCVPPYohanPipereau7-330/+359
scvpp should eventually be the only interface with VAPI and should not depend on sysrepo. -All sysrepo error codes in scvpp codes have been changed for errno error codes. scvpp might eventually needs its own error codes. -All log messages in scvpp have been removed as error codes are the only way of reporting failures in a library. -Move VAPI symbol definition to SCVPP. In scvpp, unused maccros SC_VPP_VAPI_RECV and SC_REGISTER_RPC_EVT_HANDLER have been removed. Regarding plugins update: -Use Openconfig way to convert interface name to interface index. -Use Openconfig way to enable/disable an interface. -Use Openconfig way of configuring interface IPs but use more arguments like IETF. -Use Openconfig way of adding a new route. -Use Openconfig way of dumping an IP. -Use common interface dump operation for get_name and get_id. -Delete unused create loopback Change-Id: Icc513a064a2528c2b4cbda2b0dd57755a3b08ef9 Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
2019-02-27Move bapi to scvpp plugin.Andrej Kozemcak7-0/+672
Change-Id: I87be68ddad4827d6dfa04aad5ea725efae97157a Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-02-25Set vapi_context to NULL after trying to connect to VPP api and it failed.YohanPipereau1-1/+2
This prevents a SEGFAULT error triggered every time the connection to VPP fails. Change-Id: I2cab59168fe1479d6cbbcd8cb0645381171c527c Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
2019-02-23modify the undefined symboldrenfong.wang1-1/+1
Change-Id: Id0bda4a2accde3f76e212e47385a82984ca4040c Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-01Fix reconnect failure issueHongjun Ni1-0/+1
Change-Id: I6b809f4f025d9b2ce3bef2ef2c1a499758883b69 Signed-off-by: Xiaobo Chen <Xiaobo.Chen@tieto.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit b27867055ba3a9545824f2c48862a072175e0e21)
2019-01-22BAPI: Rename ERROR function.Andrej Kozemcak1-1/+1
Change-Id: I00807f9df9a6d2f5be601902651ea32b138a5ee5 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-01-04Fix head file definitionHongjun Ni1-3/+3
Change-Id: If5d675dcc2a052d0f654b3a11ed0cd0b4c109c82 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-12-27correct included header name in sc_vpp_comm.cdrenfong.wang1-1/+1
Change-Id: I3676029db0fd09b39cbe6bf11cc5029ba841bd3e Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2018-12-20Fix compiling issueHongjun Ni4-3/+3
Change-Id: I441665fbc921bbf0840752d66af8e84a690a148c Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-12-18Binary-api wrappers: IP and interfacesPavol Hanzel1-0/+27
Change-Id: I3b27dae29498346bf9baccd650d5260b0bfc6491 Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
2018-11-28Rework vpp connection based on vapi libraryHongjun Ni7-0/+364
Change-Id: I3b41b4141fd7ef7577f4f2cc9193b9c623a9d6d7 Signed-off-by: Chuanguo Wang <wangchuanguo@huachentel.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>