summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22interface-role: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: Ic773951c4d5177d47dc5b19d4e78e388d70019ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22dhcp: update yang model metadataMarek Gradzki1-2/+22
Adds organization and contact statements. Includes copyright in the module description. Change-Id: I59bb9d90390a6c9458faa628b3ffca5000f71c49 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22dhcp: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: Ife6b8703b2e6d9237701066dcd08dc8aa70afc6b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-21acl: update yang model metadataMarek Gradzki3-2/+71
Adds organization and contact statements. Includes copyright in the module description. Change-Id: If6b51ebbf74366722d16b725f6ddb058a7fec033 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-21acl: fix issues found by pyangMarek Gradzki3-30/+25
Fixes order of import statements, removes unused imports, etc. Change-Id: I53238e6b8bd217964b8951215b580f59e254bb9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-19HC2VPP-289: fix 802dot1 identifiersMarek Gradzki56-324/+328
Indentity names should not start with number, so prefix them with '_'. Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-13Update Docker file for demosMichal Cmarada1-1/+1
Change-Id: I618b060fbc2d76332cfaa60cac309fb96197797b Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-03-12Adapt mpls plugin to recent VPP API changesMarek Gradzki13-19/+137
MPLS API changes were introduced by: https://gerrit.fd.io/r/#/c/10781/ Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1 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-03-01Move ietf-routing-types to routing-apiMarek Gradzki1-0/+0
Current routing implementation does not use it, but other features planned for 18.04 (e.g. SRv6) will do. Change-Id: I0124ea27b5d24c1ac2e5ad196dc05df3a970d1c7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-02-27Fix mdsal-model-artifacts dependency for routing-apiMarek Gradzki1-12/+0
The routing-api module used outdated version of mdsal models (0.8.2-Beryllium-SR2). The mdsal-model-artifacts dependency is managed in the honeycomb-parent, so it should be removed from routing-api pom.xml. Change-Id: I31523870044990bbf288fd7ef062c8d8b0e01cc7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-02-23Remove usages of Sun's NullableMarek Gradzki3-3/+3
use javax.annotation.Nullable instead. Change-Id: Ia570d58dabb88c3b4ac7ef3a5e170d12434e9347 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 46f59f5928e191d991313308a144d6792f396d05)
2018-02-01Release notes update after releasing 1.18.01Marek Gradzki1-2/+8
Change-Id: I43c92fa286e11091edd62262354036626bf877e1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-31Update BGP INET examplesMarek Gradzki3-256/+170
- removes LU examples - moves postman collection to inet dir - updates BGP user guide Change-Id: I5844508bcd1898a9aec9b2d07fb66fb1cdf62098 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 33980cbf88a02a511c13d727eb6dc44d2155f571)
2018-01-31HC2VPP-270: BGP Prefix SID configuration examplesMarek Gradzki1-60/+81
Change-Id: Iaee4a94f2e306405338adf4aad3ead14ee2c094e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 74d447efebe9adc904d477b68d37ca709112ab4c)
2018-01-31HC2VPP-280: make next-hop optional for impose-and-forwardMarek Gradzki2-10/+35
Next hop address is not mandatory in VPP CLI, e.g. ip route add 192.0.2.11/32 via loop0 out-labels 3 Also hc2vpp-ietf-routing-types@2017-02-27.yang defines it as optional. Change-Id: I6bd63a3ac75d40b14ae553e128b7ebe43dee5118 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 710a7932be189a6bfc342b471efa1044f8a9798a)
2018-01-31HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27Marek Gradzki1-1/+3
The orginal ietf-routing-types model supports them, but it was patched due to ODL BUG (MDSAL-269). Change-Id: I70745a1bcd49b7eda21085c0c092af5a0f6bfaa0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 9f215a89a3d600c79ec44862abcbaede1f94a857)
2018-01-31Make rpmbuild.sh use hc2vpp_versionMarek Gradzki1-1/+2
Another step towards hc2vpp release process. Change-Id: I873782b79368bbf7ee569920378ad53651802e37 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-31Add direct update support for static lspMarek Gradzki2-4/+28
This is workaround for HONEYCOMB-421 (subtree writers + default update does not work well currently). Fixes HC2VPP-277 (at least basic scenarios). Change-Id: I7659436d6c376bdc63eaa36291d5c08792faad94 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit fc06ca33bc587ba2acff16e59645b3d386aa498d)
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-22Fix jvpp install scriptsMarek Gradzki2-2/+2
Change-Id: Ia1fdba64b6dacd1cb7c824d5cb34d98face1ec52 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit c4c23ef02f8f8a4198637458ebf8558d778bfa49)
2018-01-12Document csit-test-branch fileMarek Gradzki1-0/+5
Change-Id: I6f7c8699a4cdadb69a2682bc495f6f8b617cdc9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-11Move jvpp_version file to jvpp dir 2/2Marek Gradzki1-8/+0
Change-Id: I8361e8fa26d54de5c79bea25274b9301c6ad02c8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-11Bump jvpp version to 18.04-SNAPSHOTMarek Gradzki16-26/+26
Also sets version of vpp package dependencies to 18.04. Change-Id: I0b3faf6418ce9055ad05da41ba4fb022992f3784 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-11Update jira project version in hc2vpp 1.18.04 release notesMarek Gradzki2-4/+4
Change-Id: I105dab898cb47155ee70836066c38f760603576d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-11Introduce hc2vpp_versionMarek Gradzki3-7/+21
Hc2vpp jar versioning is currently slightly different than honeycomb DEB/RPM versioning. This patch introduces hc2vpp_version to reflect that difference and simplify release process. In the future unification of versioning scheme should be considered. Change-Id: I6b6f3c39a7bee9de86163b107f5e6ba941c839ee Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-10Bump hc2vpp version to 1.18.04-SNAPSHOTMarek Gradzki73-163/+163
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-10Move jvpp_version file to jvpp dir 1/2Marek Gradzki3-2/+10
Change-Id: I1d7132152561cd8417632ccc16942e2b527f9aa4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-09BGP demo: include vpp and hc version in the Readme.txtMarek Gradzki1-3/+3
Change-Id: I1c7c3337c392c8cdd5c301af6daf5d04b499d2d0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-09BGP demo: exit init.sh if VPP failed to startMarek Gradzki1-2/+11
Change-Id: I4fa97a404eb52da7ff73d527f5b28e0f5014b521 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-08BGP-HC docker exampleMarek Gradzki11-1/+474
Shows how to announce BGP prefix from one HC instance to another. Configuration (RESTCONF) is done over builtin docker0 network. Data plane is using veth pair that connects containers. BGP is also using veth but via unnumbered tuntap. Change-Id: Ia18b0729e12a4893ba559d0a68a9e962e58d2a2f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-03HC2VPP-274(dhcp.yang): use inet:ip-address-no-zone instead of inet:ip-addressMarek Gradzki8-50/+55
The zone index is not needed in case of dhcp.yang. It was introduced due to ODL bug: https://bugs.opendaylight.org/show_bug.cgi?id=6413 Change-Id: Ia32a2e6cc0c4ec31bd9b30392a3a558b28568fb2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-02HC2VPP-157: use interface-ref instead of string nameMarek Gradzki9-14/+19
Change-Id: Iaf1287c6643c783ff2d31d9ef87e90aa85ea53f1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-02Document changes to ietf-routing@2014-05-24.yangMarek Gradzki1-1/+6
The special-next-hop grouping was renamed to special-next-hop-grouping due to ODL's Binding Specification bug. Change grouping name back requires switching to Binding Specificiation v2 (HONEYCOMB-420). Change-Id: I2390176c06a7f64ae0261d62c8bc4f3d2ae193ca Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-02mpls-api: add missing yang dependenciesMarek Gradzki1-0/+8
Change-Id: I8b93211bcee0b7373fb8370f15e130ce8aa05fbf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-22HC2VPP-221: postman collection with configuration examplesMarek Gradzki1-0/+158
Change-Id: Ibc41828a7dda1136fda5a034af638564ba8ca31d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-22HC2VPP-268: add non-eos MPLS and IP FIB entriesMarek Gradzki4-149/+364
VPP manages separate eos and non-eos forwarding chains, so non-eos FIB entry is also needed. Imposing received outgoing label on IP packets is also required as described in https://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-07#page-10 and https://tools.ietf.org/html/draft-ietf-spring-segment-routing-msdc-08#section-4.2.2 Change-Id: Idb91dc44beb64f614f02a95ef0f4b8495c6aeb69 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-20HC2VPP-268: BGP prefix SID translationMarek Gradzki8-3/+532
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-12-19Scripts for installing jvpp jars to local mvn repoMarek Gradzki4-11/+101
By default hc2vpp build downloads latest jvpp packages from nexus.fd.io. They might not be compatible with installed vpp (e.g. in case of non-backward compatible vpp api changes). In order to prevent API mismatch, it is required to use jvpp version corresponding to the vpp installed. The patch includes scripts that can be used before building hc2vpp to install jvpp jars from vpp build dir or vpp-api-java package. Change-Id: I9aa0dc37921e022e5644c54238d3d579f6eb5ba8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-13(Multi)NamingContext: increment after computing maxMarek Gradzki3-23/+39
Instead of incrementing all elements of stream and applying max, first compute max and then increment. Change-Id: I4e45ffa74d9b8685abd7bafaddc77d1d9850abdb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Repleace attribte references in bgp_in_honeycomb_user_guide.adocMarek Gradzki1-0/+1
Change-Id: Ic9cf2e4dd47fa9a84a81ad2b85e0ab19caa01c2d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Fix module config version in BGP docsMarek Gradzki2-1/+2
Change-Id: I2215632ae5864f37738f5a4b907f8b2894ab849b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Clean Sonar warnings in JvppReplyConsumerMarek Gradzki1-13/+17
Change-Id: Ic664d0da1f3f253ee7d698c651354015792cc278 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Do not use createVrfIfNeeded of IpAddDelRouteMarek Gradzki8-33/+27
It was not used by VPP, recently removed by: https://gerrit.fd.io/r/#/c/9771/ Change-Id: Ic838e4daf95a98d675b3f0fda6e5fad242eb5bbd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-05Remove vpp-api-java from DockerfileMarek Gradzki1-13/+9
The vpp-api-java package is not directly used by honeycomb. Java API bindings are included in honeycomb package. Change-Id: I75dafd79cc8e9f1fc551cd43fcf3a46738b0dd2e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-30Remove dead stores and unused fieldsMarek Gradzki7-13/+3
Change-Id: I3ad4e1f1aae9ed52911acbed11d931349ad94da9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-28MPLS SR configuration examplesMarek Gradzki11-6/+1149
Provides examples of MPLS SR config using Honeycomb for the following topology: A / vpp1 – vpp2 – vpp4 \ // \ –– vpp3 –– B Each vpp node represents docker container with honeycomb running. A and B represent egrees nodes modeled using tap interfaces. Scripts for building topology and Postman collection with example requests included. Change-Id: I96099d9b5b2af50bf48962c869ad5b2474673227 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-27Include vim-tiny into hc2vpp docker imageMarek Gradzki1-2/+2
Change-Id: Ib13497d00f244a001ec6b0605745d76e79a16ccc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-27Remove unnecessary boxing and unboxingMarek Gradzki6-37/+23
Change-Id: I9f7cf7d7ecb97d7da449dac679f2d15438ac4970 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>