summaryrefslogtreecommitdiffstats
path: root/nsh/impl
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11Bump jvpp version to 18.04-SNAPSHOTMarek Gradzki1-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 Gradzki1-2/+2
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-30Remove dead stores and unused fieldsMarek Gradzki2-2/+2
Change-Id: I3ad4e1f1aae9ed52911acbed11d931349ad94da9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-11Reenable nsh moduleMarek Gradzki1-7/+1
Also updates nsh-sfc jar to 18.01-SNAPSHOT Change-Id: I25abe1f226e37f7460fedccaff7e50e2e97e97c1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump jvpp version to 18.01-SNAPSHOTMarek Gradzki1-1/+7
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 Gradzki1-2/+2
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28Bump nsh-sfc version to 17.10-SNAPSHOTMarek Gradzki1-7/+1
Change-Id: I722e260dca2bae351d4bb1ef4c27ac65bf9b1248 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek2-26/+10
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek1-10/+7
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-03Fix vpp-translate-test scopeMarek Gradzki1-0/+1
Wrong scope was needlessly increasing footprint and caused DEBUG logs to be printed after introducing https://gerrit.fd.io/r/#/c/7895/ Change-Id: Iad75e376da8b2a3005cfaf5147062a35b15a5e64 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25HC2VPP-180 - Doc coverage generatorJan Srnicek1-2/+2
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-07Bump jvpp version to 17.10-SNAPSHOTMarek Gradzki1-1/+7
Also sets version of vpp package dependencies to 17.10 Change-Id: I4e139ff2d485933c0de3339db50714a5c72e0a9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06HONEYCOMB-360 - Use binding-init module instead of whole distro coreMarek Gradzki2-2/+2
Change-Id: I86eb100ca96169c7cf8df7ba9f2a1c7e3e75d77f Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-01Change minimal-distribution to minimal-distribution-coreMarek Gradzki1-1/+1
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-09Update module tests after introducing YangDAGMarek Gradzki1-2/+3
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki1-4/+4
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-27Add Yang model for NSH MD2 supportHongjun Ni10-98/+177
Change-Id: Idec4f8dae90ef90de538b977248bee7a078ae374 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki1-2/+2
- 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-02-27Bump NSH version to 17.04-SNAPSHOTMarek Gradzki1-8/+1
Change-Id: Iea99737616deb7612058b93b36e548e178a80ed9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17Add NSH Egress Classifier featureHongjun Ni2-42/+53
Change-Id: I3242b8913df2eaa525f8595f6e2899203986b172 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-11Bump of jvpp version to 17.04Jan Srnicek1-1/+8
Depends on https://gerrit.fd.io/r/#/c/4632/ Nsh stays on 17.01, till owner provides higher version Change-Id: I1f51699b6809d30dd0272301ebb1074a42863618 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki1-2/+2
Also updates version of honeycomb dependencies. Vpp API version bump moved to separate commit due to issues with jvpp jars. Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-08Bump nsh_sfc java bindingsMarek Gradzki1-1/+1
Change-Id: Ib4c099de44f3f72105fa56ddd433a3e0acda428c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-08Augment nsh-map to support nsh-proxyHongjun Ni10-87/+101
recheck Change-Id: Ie2c3b7901e20df3e6bb19cceebe1e6d5c077cbea Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki1-2/+2
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-06Bump jvpp version to 17.01Marek Gradzki1-1/+1
Change-Id: I61bd9c78ad4a1a654ed3d54e76163724a738913f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-27Removed references to old v3po pluginJan Srnicek1-1/+1
These(maven part) were causing distribution export old v3po.json file, which would cause runtime error due to non-existing keepalive-delay property Change-Id: Icde6a8187ff7b1424df18521c2de8279fa7ad33b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-275 - compilation error with HC runner and setUpJan Srnicek2-40/+40
Refactored setUp() method in WriteCustomizerTest to not trigger http://errorprone.info/bugpattern/JUnit4SetUpNotRun while used in combination with @RunWith(HoneycombTestRunner.class) Change-Id: Iba56b39399ddd7678dda97e094e935a3f02dd22c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek15-47/+47
- change groupIds - change packages - update poms Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek1-2/+2
So that they can influence whether empty data is to be considered as present + Move registries implementations from util to impl + Introduce DelegatingReader trait + Extend GenericReader where possible to reduce duplication Change-Id: I5a416acd0c4eab1fbc30fcbe585719991dbe9215 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28Honeycomb-73 Extensible initializers for nshMaros Marsalek14-273/+81
Change-Id: I019e4d1ac50d77c20b47c39e7eafee36cc04509b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-24Augment nsh map API with nsh_actionHongjun Ni4-0/+39
Depends on VPP's patch: https://gerrit.fd.io/r/#/c/3462/ Change-Id: I874cb7c5b39b9ece75d7d9af980e8d25df6f5aad Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-15Raise test coverage of nsh plugin. HONEYCOMB-198Hongjun Ni2-0/+76
Change-Id: Iaf57bced6f07799e26470dd5c1700a8bbe7960f4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-14Raise test coverage of nsh plugin to 80%. HONEYCOMB-198Hongjun Ni5-2/+224
Change-Id: Ia1ebc0330544d63c66b6462a33563b86358ace6c Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-14HONEYCOMB-229 Introduce NAT to HCMaros Marsalek1-2/+2
Reflects SNAT from VPP: - 1:1 Static IPv4 mapping - interface in/out NAT feature management Bonus: - Support presence containers in infra Change-Id: Ieb38526f83edbae5e605d5c7e39bb22bbafc50e5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-13HONEYCOMB-207 : Configurable modules list for distributionsJan Srnicek3-68/+0
Export list of modules for built distribution on compile time according to distribution.modules property to ***module-config.txt Load aggregated set of modules on start from all descriptors in /modules folder Change-Id: Icdeb23536aee3a243a221d3f2ec5f340d387764e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-13Add NSH map test case. HONEYCOMB-198Hongjun Ni3-1/+303
Change-Id: I2d2fc50e25350d95d6b529eb3af045ea23e661ec Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-12Add NSH entry test case. HONEYCOMB-198Hongjun Ni3-0/+334
Change-Id: Ie11b030f3071fdeca4b8fda5bcb63f6ba1de3b80 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-06HONEYCOMB-236 - Unified read/write exceptionsJan Srnicek4-170/+137
Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28VPP-378: update jvpp package namesMarek Gradzki9-26/+26
Depends on - vpp: https://gerrit.fd.io/r/#/c/3178 - NSH: https://gerrit.fd.io/r/#/c/3181 Change-Id: I1929947ccccc453aa32552fc42942a8b24ade157 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27HONEYCOMB-206: change package name to match groupIdMarek Gradzki7-22/+15
Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek2-0/+4
To produce site for Honeycomb + javadoc asciidoc To build the site: mvn clean install site:attach-descriptor site mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-23HONEYCOMB-145 - Utility Class RefactoringJan Srnicek4-141/+114
problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324) Translate Utils Splitted to multiple Trait Interfaces Ipv4Translator - Logic for translation of ipv4-based data Ipv6Translator - Logic for translation of ipv6-based data MacTranslator - Logic for translation of mac-based data AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac JvppReplyConsumer - Logic for extracting replies from jvpp calls ByteDataTranslator - any byte-based conversions Plus some existing utility classes changed to traits Change-Id: I342b625954223966802e65dca0fabf8456c89345 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-14Allow HC user to enable/disable NSH moduleMarek Gradzki3-14/+35
Because NSH plugin is optional in VPP, it is disabled by default in HC. Change-Id: I6842c68b94144b7ba7e9f6f87a2395e0d692a70c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-14HONEYCOMB-46: Add NSH_SFC Feature in HoneycombHongjun Ni13-31/+1264
Cherry pick to master PatchSet 9: Remove unused imports PatchSet 8: Fix interface DI broken PatchSet 7: Move VppNshModule to distribution PatchSet 2: Augment with encap-if-name for nsh-map Change-Id: Ia12afb72edfe804f26b84021b997d55db3129933 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek1-3/+4
- Fix minor ones - Report bigger and include issue number in comment - Pull common dependencies into dependency management of common/parents Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek1-2/+2
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Fixing pomsMaros Marsalek1-7/+2
- Sample parent path - NSH redundant dependency + parent path Change-Id: I3f4144be4031e2742f9a29c7a5612fbafbf8d0cf Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-16HONEYCOMB-46: Add NSH feature in HoneycombHongjun Ni1-0/+54
PatchSet 14: Refactor NSH Plugin based on new code organization PatchSet 13: merge Change 1796: Add nsh-entry Yang Model PatchSet 12:augment with vxlan-encap-type PatchSet 11: rebase and make nsh yang model visible to ODL netconf PatchSet 8: move vpp-nsh.yang to v3po/nsh folder PatchSet 7: split two patches: nsh-entry and nsh-map PatchSet 6: support md-type1 and md-type2 PatchSet 5: Use encap-type and parameters PatchSet 4: Use identity instead of enum PatchSet 3: consolidate comments from Ed PatchSet 2: fix indent issue. Change-Id: I18353b714d39199ffa346fd39da6cafdbcc1b30c Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>