summaryrefslogtreecommitdiffstats
path: root/vpp-integration
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19HC2VPP-288 - add SRv6 module (writers only)Michal Cmarada3-1/+19
Changes: - add new module for SRv6 - add models for SRv6 configuration: from https://datatracker.ietf.org/doc/draft-raza-spring-srv6-yang/ - hc2vpp-ietf-srv6-base@2018-03-01.yang - hc2vpp-ietf-srv6-static@2018-03-01.yang - ietf-srv6-types@2018-03-01.yang - implements Configuration of local sids and their end functions. - implements support for FIB table management (HC2VPP-345) Models hc2vpp-ietf-srv6-base and hc2vpp-ietf-srv6-static are changed (HC2VPP-332): - imports for routing models (HC2VPP-298) - presence in end function containers was added to fix mandatory child verification if parent container is not present Change-Id: Ib74e48023b671383f076b84773e26ce7c5ae282a Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech> Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2018-06-08HC2VPP-317 - Implement FIB table management supportMichal Cmarada2-1/+3
changes: - Added new custom model vpp-fib-table-management - allows management of IPv4 and IPv6 Fib tables for VPP Change-Id: I3647dd659dbefabab233eacef666c3835e69320d Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-05HC2VPP-336: reenable NSH pluginMarek Gradzki5-1/+63
This patch reverts https://gerrit.fd.io/r/#/c/12822/ and bumps jvpp nsh_sfc dependency to 18.07-SNAPSHOT. Change-Id: Idce70d39c9c273b7db3c771430ef5af58417b43b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-31HC2VPP-336: disable NSH pluginMarek Gradzki5-63/+1
nsh_sfc 18.07-SNAPSHOT artifacts are missing in the https://nexus.fd.io/content/repositories/fd.io.snapshot/io/fd/nsh_sfc/nsh-sfc/ repo, which causes hc2vpp build failures. As a workaround nsh plugin was disabled. Change-Id: If65f783f85f9b491f7caea63a51c70e4b4ad39c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-09HC2VPP-253 - Bump routing modelsMichal Cmarada1-2/+1
This patch updates (for support of SRv6 and MPLS) routing models to: - hc2vpp-ietf-routing@2018-03-13.yang (RFC 8349, https://tools.ietf.org/html/rfc8349) - hc2vpp-ietf-ipv4-unicast-routing@2018-03-13.yang (RFC 8349) - hc2vpp-ietf-ipv6-unicast-routing@2018-03-13.yang (RFC 8349) - hc2vpp-ietf-ipv6-router-advertisements@2018-03-13 (RFC 8349) - hc2vpp-ietf-routing-types@2017-12-04 (RFC 8294 ,https://tools.ietf.org/html/rfc8294) Due to odl bugs these models were changed, see HC2VPP-298 for more details. Significant changes in updated models: - Routing instance was removed, we used vpp-routing-instance as single instance before, which is no longer needed. - Routing-protocol and Routing-protocols were refactored to Control-plane-protocol/s. Control-protocol now uses type and name as key - Route Key was changed from id to ipPrefix - Next-hop and Next-Hop-list were refactored See attached routing_postman_collection.json for updated data structures and examples for both IPv4 and IPv6 routes. For router advertisements see routing_advertisments_postman_collection.json Another fixes in this patch: - fixes in MPLS module due to Routing model updates - fixes doc module due to changes in Routing model Change-Id: I33704a50061aef97dfbd73a7701ff6fe5274d6f0 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-09HC2VPP-316 - Fix docs generation for augments without qnameMichal Cmarada2-1/+25
this fixes bug when model augments case and augment generated class does not contain qname. Change-Id: I6b088d9dce46015e2c7c374b0197bedb5e868e79 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-02javadoc: add missing <name> in pom filesMarek Gradzki5-1/+5
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-27api-docs: update dependencies version to match hc2vpp parentMarek Gradzki2-4/+4
See: HC2VPP-311 Change-Id: I37329703943483211635bc6729f6751f5537ded0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump jvpp version to 18.07-SNAPSHOTMarek Gradzki2-2/+2
Also sets version of VPP package dependencies to 18.07. Change-Id: I87d5f538891d946b3a803afa987ab39c609f1ae1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump Hc2vpp version to 1.18.07-SNAPSHOTMarek Gradzki7-26/+26
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09HC2VPP-283: cleanup honeycomb dependency versionsMarek Gradzki2-4/+3
Introduces honeycomb.version property in hc2vpp-parent and adds various honeycomb artifacts to impl-parent to reduce work when bumping honeycomb version. Change-Id: I2f31f255aa5234c6890073b93b11f93e5cd444f7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-04Adapt hc2vpp to ODL Oxygen (HONEYCOMB-424)Marek Gradzki1-1/+1
Requires https://gerrit.fd.io/r/#/c/11320/ Also changes encoding of empty type in json test files to [null] (RFC8040) from {} that was used so far. Honeycomb uses draft-ietf-netconf-restconf-02 of restconf compoments, so there might be a bug in ODL or HC configuration. To resolve it, using RFC8040 version of ODL restconf components should be considered (HONEYCOMB-430). Not covered: - postman collections update - CSIT tests update Change-Id: I820c46b5b0b22330e8529e8870c8bdad9508473b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-02Revert "Fix generating of docs"Marek Gradzki1-24/+3
The actual issue occurs only locally if yang model was moved from one module to other and generated java files were not removed from the first location (see HC2VPP-286). Having doc generator failing in such cases might be annoying, but will also prevent duplicating yang models. This reverts commit 6abf9e092424f484e3f16b72d05f8fad0aa0f16e. Change-Id: I2e76ccc80f5a2f08a1b61df1d27ab41752b629b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-02Fix generating of docsMichal Cmarada1-3/+24
- when multiple ClassPaths pointed to the same class, ClassPathTypeIndex failed on duplicate key. Issue is resolved by ignoring other keys that refer to the same class and for every class key is genereated only once. Change-Id: I67fc783a335400c936cd52a0ba9118ab53402800 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-01-31Update VPP API to Yang indexMarek Gradzki2-13/+25
Adds MPLS and BGP prefix SID modules Change-Id: Ieae6223a9e24253b525cb65b72119525a6aa6a23 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit a040042f60d22fe75047f223fe12ca6295f97f41)
2018-01-11Bump jvpp version to 18.04-SNAPSHOTMarek Gradzki2-2/+2
Also sets version of vpp package dependencies to 18.04. Change-Id: I0b3faf6418ce9055ad05da41ba4fb022992f3784 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-10Bump hc2vpp version to 1.18.04-SNAPSHOTMarek Gradzki7-27/+27
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-20HC2VPP-268: BGP prefix SID translationMarek Gradzki1-3/+9
Missing features (to be addressed in subsequent commits): - non eos VPP FIB entry - push label entry Change-Id: I17ca7e3ce85ebb55aaa4438db34305ec30352798 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-07HC2VPP-257: MPLS interface managementMarek Gradzki1-0/+6
Translates /hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface to sw_interface_set_mpls_enable which is equivalent to: set interface mpls [...] enable MPLS table is created before configuring MPLS using mpls_table_add_del (required since VPP 17.10). Reading MPLS configuration state is not supported (VPP API is missing). Change-Id: I3f1b987c3669b0836a27649a711e75d0dc37a779 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-06HONEYCOMB-359 - CollectingWriterBuilder support for wildcarded writersJan Srnicek1-1/+31
requires https://gerrit.fd.io/r/#/c/8434/ Change-Id: I226192776a4285ee498d72fd000051d29ad6a974 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-11Reenable nsh moduleMarek Gradzki1-4/+1
Also updates nsh-sfc jar to 18.01-SNAPSHOT Change-Id: I25abe1f226e37f7460fedccaff7e50e2e97e97c1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-11Temporarily disable nsh_sfcMatej1-1/+4
nsh_sfc is using outdated jvpp-registry dependency which breaks build for hc2vpp, until dependency is updated nsh_sfc is going to be excluded from hc2vpp Change-Id: Ib7ca2fda0c80257c7194336a55b071c70aebfe21 Signed-off-by: Matej <matej.perina@pantheon.tech>
2017-10-04Bump jvpp version to 18.01-SNAPSHOTMarek Gradzki2-2/+2
Also sets version of vpp package dependencies to 18.01 Change-Id: I9d84915e206cc16c87479f94d4b8738899479cea Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki7-27/+27
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vppMarek Gradzki2-7/+7
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek1-0/+2
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-27Api docs: api list sorted in natural orderMarek Gradzki4-12/+30
Change-Id: Ide2316c50ee144055eab2499fd241ca1ea354066 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Api docs: use project-vpp-version as defioned in release-notesMarek Gradzki3-7/+6
Change-Id: I4fb38506dc0090f703a23eb65c0518981929284d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Api docs: use project.version as defined in release-notesMarek Gradzki5-23/+14
Change-Id: I404d5d73580cc98dfed920f2ba781d0fe7fbd793 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25Api docs: single row per VPP API messageMarek Gradzki5-45/+61
Lists all of supported CUD operations in single cell. Change-Id: I5f23200d869221f797ed8b4b5ca0512baa92486b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25Api docs: disable site for scripts and docsMarek Gradzki2-0/+32
Should fix hc2vpp merge jobs Change-Id: I4891c99d55745adc4cfe07356d8cf87c7e9a2fda Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25Api docs: unify handling of writers and subtree writersMarek Gradzki3-99/+55
Change-Id: Ib0bd217c92f39052cc24f6324b5d33aa0443d002 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit d615f74168ffccf8be8eda4b39b1e9bf9ba06bda)
2017-07-25Exlucde api-docs from sonar analysisMarek Gradzki3-0/+6
Change-Id: Ibc33174d044d2923bd13584c1f63eeb67d3b2b8a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25HC2VPP-180 - Doc coverage generatorJan Srnicek37-0/+2466
TODO - links to specific vpp api section(now points just to section with apis) TODO - links to specific java binding code(now points to class thats doing binding) TODO - operational coverage(ASM does not support lambda processing) TODO - generate coverage adoc links Change-Id: I44c85012da3bd2e7cdd41930753e5aae6955cd7b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki2-19/+19
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-01HONEYCOMB-374: remove BGP distribution for vppMarek Gradzki4-86/+10
After HONEYCOMB-358 was fixed, BGP northbound interface was included in Honeycomb's minimal distro: https://gerrit.fd.io/r/#/c/7363/ Change-Id: I8164747502b3612f540aa008007ceda445b89cb6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-01Change minimal-distribution to minimal-distribution-coreMarek Gradzki1-0/+6
The minimal-distribution-core was introduced by HONEYCOMB-373. Adoption is needed to remove indirect dependencies on various HC infra yang models to decrease footprint (HONEYCOMB-358 loads yang models based on maven dependencies). Change-Id: Iba639efb893deb8d51de09009750542f78dfdd50 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-28HC2VPP-174: add support for BGP IPv4/IPv6 unicastMarek Gradzki1-0/+6
Tranlates BGP IPv4/IPv6 routes to VPP FIB. Not supported: - multiple paths (https://tools.ietf.org/html/rfc7911) - IPv6 SR Change-Id: I06f0e81dd44df6a2eb7a3fe95445041e8f4f7af9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-20Bgp distribution for vppMarek Gradzki3-1/+79
Bgp can't be currently included in default distribution, because that would increase footprint, even with BGP disabled (HONEYCOMB-358). Change-Id: I9f0c264fdbc7b283cd05295ea27e88f9bc5f9a45 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-24HC2VPP-147 - Gpe entry implementationJan Srnicek1-0/+1
Change-Id: Ie7887c8e8f10678410ad677c425bfed1690bf440 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-12HC2VPP-128 - interface role implJan Srnicek1-0/+7
Provides logic to store data in config datatree Change-Id: Ia1304a84016f3df2b01a227d414fe75e3c647784 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-02HC2VPP-14: remove deprecated, classfier based ietf-acl model implementationMarek Gradzki1-4/+0
Change-Id: I3e7a91bab09b27b1032d27258be8886256841d5c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki2-16/+16
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki2-4/+6
- provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-14HC2VPP-7 - Split vpp state/Cli RPC to separate moduleJan Srnicek1-0/+7
Introduces VppManageModule containing - Vpp state attributes - CLI RPC support - Keep-alive Change-Id: I8907e57132cc9e57840aa3b9607fa131a77f767d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-55: policer&policer assignment CRUD supportMarek Gradzki1-0/+1
Change-Id: I627d2a56ab2a282744ea0172b4a0c72240b0032f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek1-0/+9
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek1-1/+12
Split vpp-classifiers and vpp-classifiers acls' to separate modules. Contains TODO's for future change of dependencies Change-Id: I94f92ce2ec8960c67bd406f085f2fe928079ee23 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-17Lisp model changes due to decrease version of ODLJan Srnicek1-2/+1
Change-Id: I589b6480853ea4716f60301e2b53bdd82db3dde1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-17Add union type builders (HC2VPP-62 workaround)Marek Gradzki1-1/+2
Change-Id: I17e5c7a23e864329130cf23c11888cc28d9c19ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>