Difference between revisions of "Archived-Sweetcomb"
m (→Scope) |
m |
||
Line 61: | Line 61: | ||
- Integration with other systems | - Integration with other systems | ||
--> | --> | ||
− | Sweetcomb's main responsibility is to enable communication between | + | Sweetcomb's main responsibility is to enable communication between northbound interfaces and VPP's management APIs, performing all necessary translations in the background. It is important to note that many features and utilities will be reused from open source projects and tools (e.g. netopeer2, Sysrepo) and will not be a direct part of Sweetcomb. This section is splitted into 2 sections: in-scope and out-of-scope to clearly define what is developed as part of Sweetcomb project and what will be just reused from other projects (or where Sweetcomb relies on other projects). |
'''Sweetcomb project scope:''' | '''Sweetcomb project scope:''' | ||
Line 84: | Line 84: | ||
** expose APIs to integrate with DPI control plane, such as nDPI. | ** expose APIs to integrate with DPI control plane, such as nDPI. | ||
** expose APIs to integrate with BRAS control plane, such as OpenBRAS. | ** expose APIs to integrate with BRAS control plane, such as OpenBRAS. | ||
− | |||
'''Out of scope:''' | '''Out of scope:''' | ||
− | * | + | * VPP API (VAPI or VOM) |
− | ** C APIs for VPP, allowing C-based applications to interact with VPP is out of scope of Sweetcomb project and is part of the base VPP project. | + | ** '''VAPI:''' C APIs for VPP, allowing C-based applications to interact with VPP is out of scope of Sweetcomb project and is part of the base VPP project. |
+ | ** '''VOM:''' C++ based API offering storage of networking objects | ||
− | * | + | * Compliancy with YANG models, storage of YANG tree |
− | ** | + | ** Provided by sysrepo project and libraries it uses |
* Server implementation of northbound interfaces | * Server implementation of northbound interfaces | ||
− | ** [http://tools.ietf.org/html/rfc4741, Netconf] from | + | ** [http://tools.ietf.org/html/rfc4741, Netconf] from [https://github.com/CESNET/Netopeer2 CESNET/Netopeer2] |
− | ** [https:// | + | ** [https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md, gNMI] northbound interface from |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
* Integration/performance testing | * Integration/performance testing | ||
Line 107: | Line 103: | ||
== Releases == | == Releases == | ||
+ | |||
Sweetcomb releases are based on VPP version numbers as sweetcomb uses VPP API which is not backward compatible. | Sweetcomb releases are based on VPP version numbers as sweetcomb uses VPP API which is not backward compatible. | ||
=== 19.08 - Current master === | === 19.08 - Current master === | ||
=== 19.04 - Last stable === | === 19.04 - Last stable === | ||
− | |||
=== 19.01 - broken (can not be used) === | === 19.01 - broken (can not be used) === | ||
Revision as of 14:40, 20 June 2019
Sweetcomb Facts |
Project Lead: Hongjun Ni, @ Intel
Repository: git clone https://gerrit.fd.io/r/sweetcomb |
Contents
Intro
Sweetcomb is a management agent written in C that runs on the same host as a VPP instance, and exposes yang models via NETCONF, RESTCONF and gNMI to allow the management of VPP instances. And users also can manage VPP through SSL and JSON.
Overview
Draw.io source here
Project Contact
- Hongjun Ni, @ Intel,
- Xingfu Li, @ HuachenTel,
- Zhuoqun Li, @ China Mobile,
- Jianjun Yang, @ China Unicom,
- Jinglong Zhi, @ China Telecom,
- Changlin Li, @ NXP,
- Tianyi Wang, @ Tieto,
- Feng Gao, @ Tencent,
- Jianyong Chen, @ Alibaba,
- Jian Gu, @ ZTE,
- Jerome Tollet, @ Cisco,
- George Zhao, @ Huawei,
Scope
Sweetcomb's main responsibility is to enable communication between northbound interfaces and VPP's management APIs, performing all necessary translations in the background. It is important to note that many features and utilities will be reused from open source projects and tools (e.g. netopeer2, Sysrepo) and will not be a direct part of Sweetcomb. This section is splitted into 2 sections: in-scope and out-of-scope to clearly define what is developed as part of Sweetcomb project and what will be just reused from other projects (or where Sweetcomb relies on other projects).
Sweetcomb project scope:
- Northbound interfaces exposed:
- Netconf from CESNET/Netopeer2
- gNMI northbound interface from sysrepo-gnxi
- Restconf (does not exist yet)
- Yang models for VPP management
- Configuration data and Operational data
- Support IETF without NMDA and Openconfig Yang Models
- Translation layer between VPP management and Yang based data structures
- Must support all features of VPP exposed in its APIs in an extensible manner
- Expose APIs to integrate with other open source projects
- Base implementation of all generic southbound interfaces leverage VPP-VAPI
- expose APIs to integrate with SD-WAN control plane, such as SDN Controller.
- expose APIs to integrate with Routing Daemon, such as FRR.
- expose APIs to integrate with IKE protocol, such as strongswan.
- expose APIs to integrate with DPI control plane, such as nDPI.
- expose APIs to integrate with BRAS control plane, such as OpenBRAS.
Out of scope:
- VPP API (VAPI or VOM)
- VAPI: C APIs for VPP, allowing C-based applications to interact with VPP is out of scope of Sweetcomb project and is part of the base VPP project.
- VOM: C++ based API offering storage of networking objects
- Compliancy with YANG models, storage of YANG tree
- Provided by sysrepo project and libraries it uses
- Server implementation of northbound interfaces
- Netconf from CESNET/Netopeer2
- gNMI northbound interface from
- Integration/performance testing
- Complex integration or performance tests are out of scope of Sweetcomb project and are part of CSIT project
- Any other application based on top of Sweetcomb is out of scope of this project and needs to be hosted in a dedicated project inside or outside of fd.io
Releases
Sweetcomb releases are based on VPP version numbers as sweetcomb uses VPP API which is not backward compatible.
19.08 - Current master
19.04 - Last stable
19.01 - broken (can not be used)
Devel
Source code is divided in three directories:
- scvpp: library source code to communicate with VAPI (VPP API).
- plugins: sysrepo plugin library source code implementing xpath callback
Requirements
- RPC operations, what data I am reading, writing
- Fault Tolerance, what happens if sweetcomb dies, or VPP dies
Implement your own module
- New model, how to support a new YANG model
- Notes about sysrepo , sysrepo part of a new YANG model
gNMI server
- gNMI Server, how to use gNMI server
VOM
- VOM as a middleware, Everything related to our attempt to use VOM rather than scvpp.
FAQ
Meeting
Sweetcomb backlog
Backlog can be found in: sweetcomb's JIRA.
Code quality
There is no current sonar analysis on: https://sonar.fd.io