summaryrefslogtreecommitdiffstats
path: root/nsh/impl
AgeCommit message (Collapse)AuthorFilesLines
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>