summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-04-18Fix docker runtime and Makefilev19.08-rc0YohanPipereau1-20/+19
-Remove make test used in build-scvpp and add a test-scvpp instruction -Remove useless build scripts for docker build -Use sysrepo docker image to build sweetcomb docker image -Change makefile clean instruction to avoid errors -Do not put scripts in build-root directory but in sweetcomb root dir -Remove sysrepo compiled in Debug mode causing error looking for symbols Change-Id: Ie1d77f5224ad545da29c0f450403dbd47ca7c563 Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-04-16Leave docker and docker_test optionsYohanPipereau1-0/+6
Change-Id: I34b4b53a1464826d0eda4e2ca09982afc69f093e Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-04-09Modify build systemYohanPipereau1-169/+141
-Clean Makefile -Fix errors in scvpp length copies -Add testing when building scvpp Change-Id: I5a331386a1812b147dfec26310dfbd3aed327dae Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-03-29Sweetcomb global cleanupYohanPipereau1-2/+25
-Merge IETF and Openconfig to use SCVPP 2 -Move L2 bridge from sc_vpp_interface to sc_vpp_v3po -Implement tav2 dump -Make openconfig-interfaces functions static -Try one more dispatch after failure in VAPI_CALL -Add error return code for scvpp -Remove unused length maccros -Return appropriate error code for interface dump when interface not found -Improve scvpp test suite -Change get_interface_id prototype -Use interface_dump_iface in openconfig_interface. -No more vapi types in openconfig_interfaces.c -Move openconfig_local_routing VAPI operations to sc_vpp_ip -Implement a multiple dump with a stack data structure -Comment out state_cb code from openconfig_local_routing to use new functions later. -Rename YANG model to their fully qualified name : <module>@<revision> -Remove headers almost empty and put registration declaration in sc_model.h -Shorten vapi context global variable name -Reorganize scvpp unit test suite -Add instructions to Makefile to install/uninstall YANG models in sysrepo. -Add this new instructions to README.md. -Reimplement interface_dump_all -Use a common message at INFO Log Level to know when sysrepo callbacks are triggered -Remove old structure to perform dump of all interfaces -Reimplement get_interface_name and add scvpp test for it -Clean sys_util -Use UNUSED maccro everywhere to have lighter prototypes -Have ietf-interfaces:interfaces-state work with new dump function -Add setup and teardown for NAT tests -Remove unused tapv2 dump -Remove useless sysrepo module callback -Remove xpath_find_first_key usage in openconfig-interfaces -Remove xpath_find_first_key in oc_local_routing and in the rest of sweetcomb -Reorganize scvpp include dir and fix scvpp_test new warnings -Fix scvpp tests for ip routes -Factorize scvpp nat and test return code of its function -Correct test_dump_if_all if there is an existing hardware interface -Implement a per-prefix dump in scvpp -free changes iterator in ietf-interfaces -Add new XPATH in oc local-routing -Introduce helper methods for sysrepo config callbacks -Factorize config callback -Refactor the openconfig-local-routing config callback -Use common foreach_change to iterate over changes in all models -Create a sample directory gathering example of configurations supposed to work with sweetcomb -Fix state callback of oc-local-routing -Add new sample for get operation on next-hop -foreach_elt maccro condition forgets to read one element Change-Id: I8e87fce577a00337977588f057a6e095a20f457c Signed-off-by: YohanPipereau <ypiperea@cisco.com>
2019-03-07Init gNMI server.Andrej Kozemcak1-13/+74
Change-Id: Ie898b5385096e735bf947775e0278c3c8f4797a8 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-02-26In vpp master(now is 19.04) branch newest deb package, the name has changedJunfeng Wang1-1/+1
https://packagecloud.io/app/fdio/master/search?q=19.04-rc0~266-gd7e7c2b88~b2149&filter=debs&filter=debs&dist=ubuntu%2Fbionic Revert "Fix install-vpp instructions in Makefile for debian-based machines." This reverts commit 34adbaa08710678aea59127f28becf834e29a200. Change-Id: I74a8b48b98e6cd879c45d731fcd3f0af8bb03571 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-02-25Fix install-vpp instructions in Makefile for debian-based machines.YohanPipereau1-1/+1
Change-Id: I154f790cfe8ce179d9dee84a56436db79f12373e Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
2019-02-211: Create Test enviroment.Andrej Kozemcak1-0/+4
Change-Id: I79ea8d85312876af7fd389b4776f764c21345ff2 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-02-21Create docker enviroment.Andrej Kozemcak1-0/+4
Change-Id: I9ead8f2517f3f461bf3fe629804b8966783eecbd Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-02-20fix package run errordrenfong.wang1-1/+2
Change-Id: I5eb02817ad0b25649f89bfd2d8df022665baf064 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-14delete /build-root/downloads /build-root/build-package/_CPack_Packagesdrenfong.wang1-1/+1
Change-Id: I5c4247e8a4d4e13c40e3fdc78388e1c66317df7a Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-14fix rpm build and deb builddrenfong.wang1-2/+8
Change-Id: I6a48e0aaf6ab1fdccac30ccca7b8ac85513da2e9 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-12correct libvppinfra name in 19.04/ubuntudrenfong.wang1-1/+1
Change-Id: I23976a844a80198c566f047e9fa7ed615c6b75ed Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-12fix install-vpp on 19.04drenfong.wang1-3/+3
Change-Id: Ib9ec8f42d3feab34b1a5c20d124b937e69cd73b7 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-12fix vpp-plugin name in ubuntu(changed after 19.04-rc0~27)drenfong.wang1-2/+2
Change-Id: Ibe454a1a4578bb4bdee1e55949bd01ec5e752a98 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-12Merge "add build-package for sweetcomb"Hongjun Ni1-5/+10
2019-02-12remove vpp-api-java/python/luadrenfong.wang1-2/+2
Change-Id: I1525f6b34c2288ca2675ae793e6e77e7dd5dd588 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-12add build-package for sweetcombdrenfong.wang1-5/+10
Change-Id: I4e2bc4e667e32804c5fc18879e6520e463b86362 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-11modify yum's Parameterdrenfong.wang1-1/+1
Change-Id: Iebfd4180c18a23bfde97969f2cd455e080b7fc1e Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-11fix install-dep for centosdrenfong.wang1-2/+2
Change-Id: I2669337eb5c683f33e9690686554876b3c6d2ff8 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-11fix install-dep-extra's auto installation on centosdrenfong.wang1-12/+5
Change-Id: I9f1eb53263cd2160cc85cf36d2ee4f503dd68166 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-04correct vpp-devel name in rpm package and add some package depdrenfong.wang1-2/+2
Change-Id: Ibcbd5d4a420c162f67f91c0b227eaab6e4c572cc Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-03Merge "comfirm for the installation of libavl"Junfeng Wang1-1/+1
2019-02-03comfirm for the installation of libavldrenfong.wang1-1/+1
Change-Id: Ifdbe12495c8cf1c8346dae3c266d46f5191778c1 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-02-03Fix install-vpp issueHongjun Ni1-2/+2
Change-Id: I645b1194592a4f73f00d925df2db0b63e9f824fa Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 3a917187a40a57af6f504609221ea4e91168f6ce)
2019-01-23add indent installation for fixstyle and change libssh 0.7.5(cannot build in ↵v19.04-rc0drenfong.wang1-4/+5
ubuntu 18.04) to 0.7.7 Change-Id: I1fdce561ce0d2609f3f455c1e8762d547ce6f365 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-01-23libssh version too low in ubuntu 16, build from sourcedrenfong.wang1-2/+7
Change-Id: I52f3a12881d80014de0ecc4a026979874f7b9a0f Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2019-01-22Makefile, add clean commnadAndrej Kozemcak1-0/+10
Change-Id: I915dc489866c54cd37066727b83c4ecef87377b4 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
2019-01-22add option to build dependence from source and install vppdrenfong.wang1-15/+91
Change-Id: I4caa8737c9d5dd13f6d6c5e01e646801e5dab8a1 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2018-12-29add help option for makefile and classfy yang modeldrenfong.wang1-1/+2
Change-Id: I176bdbdfed79a5fa6db840797866b2d8354778f9 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
2018-12-20Add the libcmocka-dev into the dependent package.Gao Feng1-1/+1
Change-Id: Id92462e26afec53f29d6398edcd5cc4c503c4f08 Signed-off-by: Gao Feng <davidfgao@tencent.com>
2018-12-19corrected Makefile (mkdir -p)Pavol Hanzel1-2/+2
Change-Id: If9e33a00bcb250d16b2a9b1e4361b9bde9168557 Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
2018-11-28Rework vpp connection based on vapi libraryHongjun Ni1-0/+4
Change-Id: I3b41b4141fd7ef7577f4f2cc9193b9c623a9d6d7 Signed-off-by: Chuanguo Wang <wangchuanguo@huachentel.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-11-20Initial code commit for Sweetcomb projectHongjun Ni1-0/+112
The initial code is contruted by Cisco and HuachenTel. It supports three key features: 1). Keeps compatible with IETF Yang Model and Honeycomb Yang Model. 2). Supports mulitiple clients to configure VPP simultaneously. 3). Automatically connect to VPP. Change-Id: I3dda4fddb14062e5f113d505c6a7ee64d60c44c0 Signed-off-by: Rastislav Szabo <raszabo@cisco.com> Signed-off-by: Chuanguo Wang <wangchuanguo@huachentel.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>