sweetcomb.git
6 years agoFix Cmake build environment and harden Warnings 45/18245/6
YohanPipereau [Tue, 12 Mar 2019 13:15:26 +0000 (14:15 +0100)]
Fix Cmake build environment and harden Warnings

-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>
6 years agoMerge "scvpp - init NAT"
Hongjun Ni [Tue, 12 Mar 2019 03:32:38 +0000 (03:32 +0000)]
Merge "scvpp - init NAT"

6 years agoAdd ietf NAT yang module 41/18141/2
Andrej Kozemcak [Tue, 15 Jan 2019 14:46:31 +0000 (15:46 +0100)]
Add ietf NAT yang module

Change-Id: I28e1ce057e9e778529e9be2f526cf8040afd8e61
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoscvpp - init NAT 64/18064/4
Andrej Kozemcak [Thu, 14 Feb 2019 12:10:55 +0000 (13:10 +0100)]
scvpp - init NAT

Change-Id: I85bf6df0d65e95d6a785bfffc8df9bf749089412
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMove sys_util files to plugins root directory 40/18140/1
Andrej Kozemcak [Fri, 8 Mar 2019 12:52:16 +0000 (13:52 +0100)]
Move sys_util files to plugins root directory

Change-Id: I2c7041fd34a99ebbe8e7a20ce87da9f39e548458
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMerge "Init gNMI server."
Hongjun Ni [Fri, 8 Mar 2019 07:09:35 +0000 (07:09 +0000)]
Merge "Init gNMI server."

6 years agoMerge "scvpp test suite & tapv2 add/delete as dependency"
Hongjun Ni [Fri, 8 Mar 2019 02:11:15 +0000 (02:11 +0000)]
Merge "scvpp test suite & tapv2 add/delete as dependency"

6 years agoMerge "test new ci verify job"
Hongjun Ni [Thu, 7 Mar 2019 00:55:55 +0000 (00:55 +0000)]
Merge "test new ci verify job"

6 years agoInit gNMI server. 04/17904/4
Andrej Kozemcak [Thu, 21 Feb 2019 15:23:03 +0000 (16:23 +0100)]
Init gNMI server.

Change-Id: Ie898b5385096e735bf947775e0278c3c8f4797a8
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoscvpp test suite & tapv2 add/delete as dependency 30/18030/1
YohanPipereau [Tue, 5 Mar 2019 15:37:39 +0000 (16:37 +0100)]
scvpp test suite & tapv2 add/delete as dependency

Change-Id: I930026a47bbfe7a1a4fb2199ec17184f78fdb554
Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
6 years agoMerge IETF and Openconfig to use SCVPP 85/17985/3
YohanPipereau [Thu, 28 Feb 2019 16:21:51 +0000 (17:21 +0100)]
Merge IETF and Openconfig to use SCVPP

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>
6 years agotest new ci verify job 83/17983/1
Hongjun Ni [Sun, 3 Mar 2019 10:32:39 +0000 (18:32 +0800)]
test new ci verify job

Change-Id: I7989d61b7a01d633e347e09ac36afd3e930a264d
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoThis commit changes the way models are registered. 70/17870/7
YohanPipereau [Tue, 26 Feb 2019 10:47:26 +0000 (11:47 +0100)]
This commit changes the way models are registered.

Registering a new model is now done using model_register function which
is generic enough to take care of every model family (IETF, Openconfig, ...).

Every model (ex: openconfig-interfaces) contain one or several xpaths.
Every model (ex: openconfig-interfaces) has its own dedicated C file
(ex: openconfig-interfaces.c) with its dedicated xpath_t structure in
it.
This structure is a mapping of all xpaths of a model to their associated
callbacks.
It still contains all informations needed by sr_*_subscribe functions.
Thus, xpath_t is an external array used in every model, it is seen as a
global symbol in shared library. And because these external arrays are passed
as arguments to a function, maccros defining the size of these xpath_t arrays
have been defined.

datastore_e datastructure has been removed to rely on the one provided by
sysrepo API.

The subscription linked list which was used has been removed because
sysrepo already takes care of this. Now, the same subscription_session_ctx_t
is used for all subscriptions as it was the case in ietf_subscribe_events.
Thus cleanup callback has been simplified to a simple
sysrepo_unsubscribe instead of going through the entire Linked List.

Change-Id: I43d52f619be27b6216bb3b9d197518b032306fa7
Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
6 years agoMove bapi to scvpp plugin. 05/17605/5
Andrej Kozemcak [Thu, 14 Feb 2019 10:53:05 +0000 (11:53 +0100)]
Move bapi to scvpp plugin.

Change-Id: I87be68ddad4827d6dfa04aad5ea725efae97157a
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMerge "Test: Fix error in build script."
Hongjun Ni [Tue, 26 Feb 2019 06:48:15 +0000 (06:48 +0000)]
Merge "Test: Fix error in build script."

6 years agoMerge "In vpp master(now is 19.04) branch newest deb package, the name has changed"
Hongjun Ni [Tue, 26 Feb 2019 06:47:35 +0000 (06:47 +0000)]
Merge "In vpp master(now is 19.04) branch newest deb package, the name has changed"

6 years agoIn vpp master(now is 19.04) branch newest deb package, the name has changed 35/17835/2
Junfeng Wang [Tue, 26 Feb 2019 01:35:53 +0000 (01:35 +0000)]
In vpp master(now is 19.04) branch newest deb package, the name has changed

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>
6 years agoTest: Fix error in build script. 02/17802/1
Andrej Kozemcak [Mon, 25 Feb 2019 11:47:24 +0000 (12:47 +0100)]
Test: Fix error in build script.

Change-Id: I53a0f903f0c3f05043437bbb1d7b06f7b7fe9963
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMerge "Sanitize openconfig plugin and correct unsubscription."
Hongjun Ni [Mon, 25 Feb 2019 05:46:15 +0000 (05:46 +0000)]
Merge "Sanitize openconfig plugin and correct unsubscription."

6 years agoMerge "Fix install-vpp instructions in Makefile for debian-based machines."
Hongjun Ni [Mon, 25 Feb 2019 05:45:40 +0000 (05:45 +0000)]
Merge "Fix install-vpp instructions in Makefile for debian-based machines."

6 years agoSet vapi_context to NULL after trying to connect to VPP api and it failed. 64/17764/2
YohanPipereau [Thu, 21 Feb 2019 10:57:34 +0000 (11:57 +0100)]
Set vapi_context to NULL after trying to connect to VPP api and it failed.
This prevents a SEGFAULT error triggered every time the connection to VPP fails.

Change-Id: I2cab59168fe1479d6cbbcd8cb0645381171c527c
Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
6 years agoFix install-vpp instructions in Makefile for debian-based machines. 87/17787/2
YohanPipereau [Fri, 22 Feb 2019 14:58:27 +0000 (15:58 +0100)]
Fix install-vpp instructions in Makefile for debian-based machines.

Change-Id: I154f790cfe8ce179d9dee84a56436db79f12373e
Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
6 years agoSanitize openconfig plugin and correct unsubscription. 65/17765/2
YohanPipereau [Fri, 22 Feb 2019 00:42:59 +0000 (01:42 +0100)]
Sanitize openconfig plugin and correct unsubscription.

Change-Id: Ifcc861dff2387e2e34446f77f31bc20cf9d3ab4c
Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
6 years agomodify the undefined symbol 99/17799/1
drenfong.wang [Sat, 23 Feb 2019 03:50:20 +0000 (03:50 +0000)]
modify the undefined symbol

Change-Id: Id0bda4a2accde3f76e212e47385a82984ca4040c
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years ago1: Create Test enviroment. 36/17036/6
Andrej Kozemcak [Thu, 24 Jan 2019 06:34:58 +0000 (07:34 +0100)]
1: Create Test enviroment.

Change-Id: I79ea8d85312876af7fd389b4776f764c21345ff2
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoCreate docker enviroment. 07/17007/3
Andrej Kozemcak [Fri, 18 Jan 2019 08:08:28 +0000 (09:08 +0100)]
Create docker enviroment.

Change-Id: I9ead8f2517f3f461bf3fe629804b8966783eecbd
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agofix package run error 17/17717/1
drenfong.wang [Wed, 20 Feb 2019 08:47:40 +0000 (08:47 +0000)]
fix package run error

Change-Id: I5eb02817ad0b25649f89bfd2d8df022665baf064
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agodelete /build-root/downloads /build-root/build-package/_CPack_Packages 99/17599/1
drenfong.wang [Thu, 14 Feb 2019 09:15:51 +0000 (09:15 +0000)]
delete /build-root/downloads /build-root/build-package/_CPack_Packages

Change-Id: I5c4247e8a4d4e13c40e3fdc78388e1c66317df7a
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agochange the include vapi header name 94/17594/2
drenfong.wang [Thu, 14 Feb 2019 08:30:47 +0000 (08:30 +0000)]
change the include vapi header name

Change-Id: I7ac80f29421e5a7ba9daac4e07fcb425ddd7f671
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix rpm build and deb build 90/17590/2
drenfong.wang [Thu, 14 Feb 2019 07:19:19 +0000 (07:19 +0000)]
fix rpm build and deb build

Change-Id: I6a48e0aaf6ab1fdccac30ccca7b8ac85513da2e9
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoAdd some IDE to gitignore 45/17545/1
Hongjun Ni [Wed, 13 Feb 2019 10:22:40 +0000 (18:22 +0800)]
Add some IDE to gitignore

Change-Id: I3c281e4962b12ef57ec0df9da91df57a33a0040e
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agocorrect libvppinfra name in 19.04/ubuntu 01/17501/1
drenfong.wang [Tue, 12 Feb 2019 09:03:15 +0000 (09:03 +0000)]
correct libvppinfra name in 19.04/ubuntu

Change-Id: I23976a844a80198c566f047e9fa7ed615c6b75ed
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix install-vpp on 19.04 99/17499/1
drenfong.wang [Tue, 12 Feb 2019 08:33:56 +0000 (08:33 +0000)]
fix install-vpp on 19.04

Change-Id: Ib9ec8f42d3feab34b1a5c20d124b937e69cd73b7
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix vpp-plugin name in ubuntu(changed after 19.04-rc0~27) 94/17494/1
drenfong.wang [Tue, 12 Feb 2019 08:01:49 +0000 (08:01 +0000)]
fix vpp-plugin name in ubuntu(changed after 19.04-rc0~27)

Change-Id: Ibe454a1a4578bb4bdee1e55949bd01ec5e752a98
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoMerge "add build-package for sweetcomb"
Hongjun Ni [Tue, 12 Feb 2019 07:53:43 +0000 (07:53 +0000)]
Merge "add build-package for sweetcomb"

6 years agofix gcc compile args 92/17492/1
drenfong.wang [Tue, 12 Feb 2019 06:56:11 +0000 (06:56 +0000)]
fix gcc compile args

Change-Id: Ib6c6042619e7afcb561300762e49dbbfd2ff57cf
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix gcc compile args 87/17487/1
drenfong.wang [Tue, 12 Feb 2019 06:19:01 +0000 (06:19 +0000)]
fix gcc compile args

Change-Id: I9352e17b20d718b6385c93e4d92cb156adcca60a
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoremove vpp-api-java/python/lua 85/17485/1
drenfong.wang [Tue, 12 Feb 2019 05:32:07 +0000 (05:32 +0000)]
remove vpp-api-java/python/lua

Change-Id: I1525f6b34c2288ca2675ae793e6e77e7dd5dd588
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoMerge "no need for vom now"
Junfeng Wang [Tue, 12 Feb 2019 05:24:25 +0000 (05:24 +0000)]
Merge "no need for vom now"

6 years agono need for vom now 83/17483/1
drenfong.wang [Tue, 12 Feb 2019 05:09:36 +0000 (05:09 +0000)]
no need for vom now

Change-Id: I5284136eeb2be85743b0361f602f6920ef5cd73a
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoadd build-package for sweetcomb 79/17479/1
drenfong.wang [Tue, 12 Feb 2019 04:21:58 +0000 (04:21 +0000)]
add build-package for sweetcomb

Change-Id: I4e2bc4e667e32804c5fc18879e6520e463b86362
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agomodify yum's Parameter 52/17452/1
drenfong.wang [Mon, 11 Feb 2019 05:24:11 +0000 (05:24 +0000)]
modify yum's Parameter

Change-Id: Iebfd4180c18a23bfde97969f2cd455e080b7fc1e
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix install-dep for centos 50/17450/1
drenfong.wang [Mon, 11 Feb 2019 04:45:02 +0000 (04:45 +0000)]
fix install-dep for centos

Change-Id: I2669337eb5c683f33e9690686554876b3c6d2ff8
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agofix install-dep-extra's auto installation on centos 46/17446/1
drenfong.wang [Mon, 11 Feb 2019 02:57:04 +0000 (02:57 +0000)]
fix install-dep-extra's auto installation on centos

Change-Id: I9f1eb53263cd2160cc85cf36d2ee4f503dd68166
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agocorrect vpp-devel name in rpm package and add some package dep 76/17276/3
drenfong.wang [Mon, 4 Feb 2019 04:34:37 +0000 (04:34 +0000)]
correct vpp-devel name in rpm package and add some package dep

Change-Id: Ibcbd5d4a420c162f67f91c0b227eaab6e4c572cc
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoMerge "comfirm for the installation of libavl"
Junfeng Wang [Sun, 3 Feb 2019 16:01:53 +0000 (16:01 +0000)]
Merge "comfirm for the installation of libavl"

6 years agocomfirm for the installation of libavl 66/17266/1
drenfong.wang [Sun, 3 Feb 2019 15:13:51 +0000 (15:13 +0000)]
comfirm for the installation of libavl

Change-Id: Ifdbe12495c8cf1c8346dae3c266d46f5191778c1
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoFix install-vpp issue 65/17265/1
Hongjun Ni [Sun, 3 Feb 2019 09:32:35 +0000 (17:32 +0800)]
Fix install-vpp issue

Change-Id: I645b1194592a4f73f00d925df2db0b63e9f824fa
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
(cherry picked from commit 3a917187a40a57af6f504609221ea4e91168f6ce)

6 years agoAdd Release Notes for 19.01 59/17259/1
Hongjun Ni [Sat, 2 Feb 2019 15:41:32 +0000 (23:41 +0800)]
Add Release Notes for 19.01

Change-Id: If0c8477beb285a55341d816b8f93e8b8fd807a1b
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
(cherry picked from commit 77eefcb60406c55380e82f8d7bf8ff6dbb44a657)

6 years agoAdd README file 57/17257/1
Hongjun Ni [Sat, 2 Feb 2019 15:19:07 +0000 (23:19 +0800)]
Add README file

Change-Id: Idb46d7e7b5424feb53b1d952033105014ded770f
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoFix reconnect failure issue 23/17223/1
Hongjun Ni [Fri, 1 Feb 2019 09:06:27 +0000 (17:06 +0800)]
Fix reconnect failure issue

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)

6 years agoadd indent installation for fixstyle and change libssh 0.7.5(cannot build in ubuntu... 99/16999/2 v19.04-rc0
drenfong.wang [Wed, 23 Jan 2019 08:27:01 +0000 (08:27 +0000)]
add indent installation for fixstyle and change libssh 0.7.5(cannot build in ubuntu 18.04) to 0.7.7

Change-Id: I1fdce561ce0d2609f3f455c1e8762d547ce6f365
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoMerge "libssh version too low in ubuntu 16, build from source"
Hongjun Ni [Wed, 23 Jan 2019 06:18:28 +0000 (06:18 +0000)]
Merge "libssh version too low in ubuntu 16, build from source"

6 years agocentos gcc-4.8.5 should commpile plugin with gnu99 94/16994/1
drenfong.wang [Wed, 23 Jan 2019 05:29:12 +0000 (05:29 +0000)]
centos gcc-4.8.5 should commpile plugin with gnu99

Change-Id: Id642632b07ce6787af364a4ea576777e3453831a
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agolibssh version too low in ubuntu 16, build from source 93/16993/1
drenfong.wang [Wed, 23 Jan 2019 04:51:57 +0000 (04:51 +0000)]
libssh version too low in ubuntu 16, build from source

Change-Id: I52f3a12881d80014de0ecc4a026979874f7b9a0f
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoadd share lib install path 88/16988/1
drenfong.wang [Wed, 23 Jan 2019 02:36:22 +0000 (02:36 +0000)]
add share lib install path

Change-Id: I29f5a4e67afa218a55fabda4781ac6dbe5912a85
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoCMake, find all VPP library, add VOM library 58/16958/2
Andrej Kozemcak [Tue, 22 Jan 2019 09:47:37 +0000 (10:47 +0100)]
CMake, find all VPP library, add VOM library

Change-Id: Iee4e6dc1ec8c3000f725e656750ae121cbf370ab
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoBAPI: Rename ERROR function. 74/16874/2
Andrej Kozemcak [Fri, 18 Jan 2019 14:11:22 +0000 (15:11 +0100)]
BAPI: Rename ERROR function.

Change-Id: I00807f9df9a6d2f5be601902651ea32b138a5ee5
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMakefile, add clean commnad 73/16873/2
Andrej Kozemcak [Fri, 18 Jan 2019 09:07:28 +0000 (10:07 +0100)]
Makefile, add clean commnad

Change-Id: I915dc489866c54cd37066727b83c4ecef87377b4
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoadd option to build dependence from source and install vpp 20/16820/13
drenfong.wang [Tue, 15 Jan 2019 08:03:30 +0000 (08:03 +0000)]
add option to build dependence from source and install vpp

Change-Id: I4caa8737c9d5dd13f6d6c5e01e646801e5dab8a1
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoRemove not supported openconfig yang modules. 59/16759/1
Andrej Kozemcak [Fri, 11 Jan 2019 06:45:19 +0000 (07:45 +0100)]
Remove not supported openconfig yang modules.

Change-Id: I721def08356e64918424fdb889f545b64daeea88
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoFix head file definition 84/16684/1
Hongjun Ni [Fri, 4 Jan 2019 12:07:39 +0000 (20:07 +0800)]
Fix head file definition

Change-Id: If5d675dcc2a052d0f654b3a11ed0cd0b4c109c82
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoadd help option for makefile and classfy yang model 39/16639/1
drenfong.wang [Sat, 29 Dec 2018 02:12:55 +0000 (02:12 +0000)]
add help option for makefile and classfy yang model

Change-Id: I176bdbdfed79a5fa6db840797866b2d8354778f9
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agocorrect included header name in sc_vpp_comm.c 28/16628/1
drenfong.wang [Thu, 27 Dec 2018 02:32:27 +0000 (10:32 +0800)]
correct included header name in sc_vpp_comm.c

Change-Id: I3676029db0fd09b39cbe6bf11cc5029ba841bd3e
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
6 years agoMerge "Add Openconfig YANG modules."
Hongjun Ni [Fri, 21 Dec 2018 04:48:35 +0000 (04:48 +0000)]
Merge "Add Openconfig YANG modules."

6 years agoMerge "Add the libcmocka-dev into the dependent package."
Hongjun Ni [Fri, 21 Dec 2018 02:47:24 +0000 (02:47 +0000)]
Merge "Add the libcmocka-dev into the dependent package."

6 years agoAdd Openconfig YANG modules. 71/16571/1
Andrej Kozemcak [Thu, 20 Dec 2018 16:49:33 +0000 (17:49 +0100)]
Add Openconfig YANG modules.

Change-Id: I7e98bf1ca7196cff042a35b8bf096d2ea9d80028
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoAdd the libcmocka-dev into the dependent package. 66/16566/1
Gao Feng [Thu, 20 Dec 2018 07:01:44 +0000 (15:01 +0800)]
Add the libcmocka-dev into the dependent package.

Change-Id: Id92462e26afec53f29d6398edcd5cc4c503c4f08
Signed-off-by: Gao Feng <davidfgao@tencent.com>
6 years agoRefactor the file sc_plugins.c 65/16565/1
Gao Feng [Thu, 20 Dec 2018 06:47:49 +0000 (14:47 +0800)]
Refactor the file sc_plugins.c

1. It's better to check the return value of sc_connect_vpp with 0, not -1.
2. Eliminate the warnings when compiling the file sc_plugins.c.

Change-Id: I2c5b4aa4f06f9f6367bea96c26254b68b7da3a02
Signed-off-by: Gao Feng <davidfgao@tencent.com>
6 years agocorrected Makefile (mkdir -p) 60/16560/1
Pavol Hanzel [Wed, 19 Dec 2018 17:20:25 +0000 (18:20 +0100)]
corrected Makefile (mkdir -p)

Change-Id: If9e33a00bcb250d16b2a9b1e4361b9bde9168557
Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
6 years agocorrected functions: ietf_interface_name2index, ip_addr_str_to_binary 59/16559/1
Pavol Hanzel [Wed, 19 Dec 2018 17:18:15 +0000 (18:18 +0100)]
corrected functions: ietf_interface_name2index, ip_addr_str_to_binary

Change-Id: Ic914d7886111307bbb87dad8553c59da2092eb49
Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
6 years agoRename ietf interface function name 54/16554/1
Hongjun Ni [Wed, 19 Dec 2018 22:27:44 +0000 (06:27 +0800)]
Rename ietf interface function name

Change-Id: I3dfb859e76427e22bfe6f24a81c7b6c2b45a6ce6
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoRename ietf function name 53/16553/1
Hongjun Ni [Wed, 19 Dec 2018 22:12:08 +0000 (06:12 +0800)]
Rename ietf function name

Change-Id: Ic6d20458d2757e9cd3e79f443a5aac7101d625c6
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoRework ietf yang implementation 51/16551/1
Hongjun Ni [Wed, 19 Dec 2018 21:59:46 +0000 (05:59 +0800)]
Rework ietf yang implementation

Change-Id: I2396a1dc062a14adb7e9b60a6ea5c9491118aa20
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoFix interface build issue 50/16550/1
Hongjun Ni [Wed, 19 Dec 2018 21:20:08 +0000 (05:20 +0800)]
Fix interface build issue

Change-Id: I7e5d4551daa73560ca37232475fdba0296bd4105
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoFix compiling issue 44/16544/1
Hongjun Ni [Wed, 19 Dec 2018 20:22:42 +0000 (04:22 +0800)]
Fix compiling issue

Change-Id: I441665fbc921bbf0840752d66af8e84a690a148c
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoChange one committer email 36/16536/1
Hongjun Ni [Wed, 19 Dec 2018 11:05:31 +0000 (19:05 +0800)]
Change one committer email

Change-Id: I942b23d580d7d476edf033ad45d93c35b27e8bce
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoRevert "Modify one committer email" 35/16535/2
Hongjun Ni [Wed, 19 Dec 2018 02:30:57 +0000 (02:30 +0000)]
Revert "Modify one committer email"

This reverts commit ce0df03065e2b5ed9eaf9f905dc83751d7e06316.

Change-Id: I85543a4177e8c4c56eabe37c893f61fd7162ee8a
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoMerge "Init Openconfig pluging to sysrepo."
Hongjun Ni [Wed, 19 Dec 2018 02:23:47 +0000 (02:23 +0000)]
Merge "Init Openconfig pluging to sysrepo."

6 years agoMerge "Binary-api wrappers: IP and interfaces"
Hongjun Ni [Tue, 18 Dec 2018 05:27:01 +0000 (05:27 +0000)]
Merge "Binary-api wrappers: IP and interfaces"

6 years agoMerge "Modify one committer email"
Hongjun Ni [Tue, 18 Dec 2018 02:13:14 +0000 (02:13 +0000)]
Merge "Modify one committer email"

6 years agoModify one committer email 18/16518/1
Hongjun Ni [Tue, 18 Dec 2018 10:32:02 +0000 (18:32 +0800)]
Modify one committer email

Change-Id: I235440380303f6cc35584749ee7dbe46155f01e4
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoBinary-api wrappers: IP and interfaces 37/16337/6
Pavol Hanzel [Tue, 4 Dec 2018 14:35:38 +0000 (15:35 +0100)]
Binary-api wrappers: IP and interfaces

Change-Id: I3b27dae29498346bf9baccd650d5260b0bfc6491
Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
6 years agoInit Openconfig pluging to sysrepo. 58/16458/2
Andrej Kozemcak [Thu, 13 Dec 2018 08:10:36 +0000 (09:10 +0100)]
Init Openconfig pluging to sysrepo.

Change-Id: Icc14fe4af468a8f895e37aa53f68e5253e52a09e
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoRegister function for openconfig modules. 48/16348/7
Andrej Kozemcak [Wed, 5 Dec 2018 08:24:50 +0000 (09:24 +0100)]
Register function for openconfig modules.

Change-Id: Iaa2ad537e1665adc53df3b645c9e2c3ad3329ac3
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoOpenconfig local route xpath. 47/16347/5
Andrej Kozemcak [Tue, 4 Dec 2018 13:12:40 +0000 (14:12 +0100)]
Openconfig local route xpath.

Change-Id: Id180b4a54ab6a67f25077120fead854da79ec2b6
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoOpenconfig interfaces xpath. 46/16346/4
Andrej Kozemcak [Tue, 4 Dec 2018 12:43:14 +0000 (13:43 +0100)]
Openconfig interfaces xpath.

Change-Id: If8af26c846ae82b7ef311e7d0b431c026ad0da25
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
6 years agoMerge "added .gitignore"
Hongjun Ni [Wed, 5 Dec 2018 20:10:19 +0000 (20:10 +0000)]
Merge "added .gitignore"

6 years agoAdd INFO.yaml file 32/15832/3
Vanessa Rene Valderrama [Thu, 8 Nov 2018 20:54:50 +0000 (14:54 -0600)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- Issue Tracking
- Contacts
- PTL information
- Meeting information
- Committer information

Change-Id: Id88b813f3ebf9fd152b3e31e879ba4f171c57bde
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
6 years agoadded .gitignore 49/16349/1
Pavol Hanzel [Wed, 5 Dec 2018 09:51:49 +0000 (10:51 +0100)]
added .gitignore

Change-Id: Iff206d3a7a60fd4e4add73f216c4f6007b180657
Signed-off-by: Pavol Hanzel <pavol.hanzel@pantheon.tech>
6 years agoRework vpp connection based on vapi library 00/16200/2
Hongjun Ni [Tue, 27 Nov 2018 15:07:20 +0000 (23:07 +0800)]
Rework vpp connection based on vapi library

Change-Id: I3b41b4141fd7ef7577f4f2cc9193b9c623a9d6d7
Signed-off-by: Chuanguo Wang <wangchuanguo@huachentel.com>
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoFix comments on copyright etc. 30/16030/1
Hongjun Ni [Mon, 19 Nov 2018 22:04:34 +0000 (06:04 +0800)]
Fix comments on copyright etc.

Change-Id: I605d76017ba61a477532fb6ab3e4bea9b93e5119
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
6 years agoInitial code commit for Sweetcomb project 20/16020/1
Hongjun Ni [Mon, 19 Nov 2018 19:35:38 +0000 (03:35 +0800)]
Initial code commit for Sweetcomb project

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>
6 years agoAdd .gitreview 31/15831/1
Vanessa Rene Valderrama [Thu, 8 Nov 2018 20:34:32 +0000 (14:34 -0600)]
Add .gitreview

Change-Id: Iccd76d7ffb5e9381294c04a90a5860d9b426aa7a
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
6 years agoInitial empty repository
Vanessa Rene Valderrama [Thu, 8 Nov 2018 18:45:38 +0000 (18:45 +0000)]
Initial empty repository