summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-22Update dhcp translation after vpp api changesMarek Gradzki2-16/+15
Fixes hc2vpp build after https://gerrit.fd.io/r/#/c/5449/ was merged. Change-Id: I475a270c68d0071f9c2b9f298600160e56e873bc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-21HC2VPP-81: add support for ARP proxy enable/disableMarek Gradzki3-8/+52
Change-Id: Ib0cd5ce9175161a3e9bc83076931fb75e6d82a09 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-21Fixed parents for acl/dhcp aggregator modulesJan Srnicek2-4/+4
Change-Id: I2231d16434ec769891069d66c92bd7cb7891a447 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-17Lisp model changes due to decrease version of ODLJan Srnicek4-6/+15
Change-Id: I589b6480853ea4716f60301e2b53bdd82db3dde1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-17Add union type builders (HC2VPP-62 workaround)Marek Gradzki11-2/+353
Change-Id: I17e5c7a23e864329130cf23c11888cc28d9c19ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17Change dhcp yang model to use inet:ip-addressMarek Gradzki2-6/+8
workaround for https://bugs.opendaylight.org/show_bug.cgi?id=6413 needed until we bump ODL dependencies to Boron again. Change-Id: I28e03ed26e8c032fa4d06c9a1c0f4bc5f32c7c64 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17HC2VPP-75 - vrf extraction fixJan Srnicek4-5/+219
- fixed vrf extraction for Ipv6Neighbours + add test - added vrf extraction for Ipv4Neighbours + add test Change-Id: Ia7d1b6057c19e2f72139b3b0464f4a50a24b1c7b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-16Postman for NSH Egress ClassifierHongjun Ni1-24/+159
Change-Id: I94fb36cfc2610a727043f6f1e778cfe4d09f3488 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-02-17Add NSH Egress Classifier featureHongjun Ni3-42/+58
Change-Id: I3242b8913df2eaa525f8595f6e2899203986b172 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-02-14DHCP relay support (HC2VPP-71, HC2VPP-72)Marek Gradzki14-0/+698
Change-Id: Icea50f1444356c0c107dd31dfa47137c9866312e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13Reduce java dependencies for deb packagesMarek Gradzki2-2/+2
Use openjdk-8-jre-headless insdead of full jre/jdk Change-Id: Id4a444b7acc1beff42fa213b2368ed6a3bc6743a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13Remove unused nat.jsonMarek Gradzki1-3/+0
Change-Id: I35dcbb7b7d448d644a1bd99a1a5eb3bbf4045125 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13HC2VPP-66: unit tests for SLAAC writeMarek Gradzki9-3/+386
Change-Id: I0dd32f2d540a9187fbd97c3818470d2ee1ca47d7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13HC2VPP-67: postman collection with examples of RA configurationMarek Gradzki1-0/+201
Change-Id: I753605ec2b8e8548500761fd3a79079c7c6cc8e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13Add support for RA configurationMarek Gradzki5-1/+457
Includes: * ietf-routing model augmentation that addresses VPP specific RA options (HC2VPP-64) * writers for RA cfg (HC2VPP-65) Change-Id: Iea523caaddcf03e38c8e5e7c586f1606a44d335b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-10HC2VPP-53: YANG model for DHCP RelayMarek Gradzki5-0/+208
Change-Id: Ia6dd23a731b1889f5b69ff1761604c29ff84f03c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-10HONEYCOMB-335 - Initialization test supportJan Srnicek8-22/+181
- initialization test support for container and list customizers - test samples Change-Id: If3fe4faf82a86c43fafdfab694a4388d50f61de4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-08HC2VPP-11/HC2VPP-12 - refactored ipv4/6 logic/testsJan Srnicek25-401/+1126
- all dumping logic moved under common abstract classes - added tests Change-Id: Ifdee84795bd8cf6f0d29349dd2cfcf9b2bbec1c9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-07Increase snat unit test coverage > 80%Marek Gradzki8-0/+694
Change-Id: I3531d746ed12334f71f45f824d92bbe3bd517ba3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-07Fix snat mapping creationMarek Gradzki5-0/+167
The https://gerrit.fd.io/r/#/c/4828/2 introduces external_sw_if_index. If given, external ip address is ignored. Hc2vpp needs to set external_sw_if_index to -1. Change-Id: I9631e52aebbf7e70eb5168aa646fb44d3b82ef85 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-07Fixed use of structural readers in testsJan Srnicek4-33/+42
ioam plugin disabled till ioam team provides fix for HC2VPP-63 Change-Id: Ibf4970283c4dfefabc73634e522786d74ad32889 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-06ioam: export plugin - support for ioam-export plugin in hc2vppSagar Srivastav10-18/+479
Change-Id: I2314a2de3b9c2a1d9c2e5950659e44cb9bdda985 Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
2017-02-02Lisp api use fixJan Srnicek2-78/+116
fixes use of Lisp api to new style with Object array instead of binary data Change-Id: Ib06f3d0b424cbb4288bb9b7ac8dc82c2fc0c69bf Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-02Fixed remote mapping caching scopeJan Srnicek1-1/+0
Change-Id: Ieb46ee56da4efd8d0d3423b66e2d74386c440688 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-02Fixed locator caching scopeJan Srnicek1-1/+4
must be cached per locator set (same as ipv4 addresses under interfaces) Change-Id: I1e2828a1ba4d4d20c99a995e281fe0b6726465fb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-01Lisp initializationJan Srnicek75-563/+768
Changes - Lisp state excluded from config data(bug introduced during L2 support patch) - Initializing for every read customizer - Proper rebinding of paths from LispState on Lisp Change-Id: I3da821412313e0826e5d80fdccfdc1021a550ad5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-30Add csit-test-branchMarek Gradzki1-0/+2
Change-Id: Idf2d760566c6303b5b01b2ae90371ed0df4846ff Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-26Fix mac-ip acl assignment readMarek Gradzki7-48/+345
Now unassigned acls are filtered out. As a bonus acl plugin coverage was raised above 80%. Change-Id: Ia71be2086d0baadfbffc1f1263bab67f555c0687 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-25Lisp test coverageJan Srnicek4-28/+178
Change-Id: If780bbe08c0eee36a00b408b4a71383fa9d1e300 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-25Decrease log level to debug for proxy-arp readMarek Gradzki1-1/+1
Change-Id: I63f5615ea3ddeb924f6e6432587439ee585f6975 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-20HONEYCOMB-339: fix ip6 address string to byte conversionMarek Gradzki4-33/+33
Change-Id: I8c1d20b2be23bce27903b9d4149f59d3b83aacaa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18Rename modfied ietf-routing modelsMarek Gradzki6-21/+23
Change-Id: I6ea55212dcf3cc6e4015269b501ffd7828096459 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18HONEYCOMB-330: fix acl tag handlingMarek Gradzki14-45/+59
Acl tag in vpp's acl plugin is an ascii tag, so it should not be handled as hex string. Change-Id: I801d5b72a4c20f78246288ea63d914b0b9f3564b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18Add test postman for complete NSH ClassifierHongjun Ni1-0/+345
Add and Delete configuration items in numeric order Change-Id: I488cd213e8a6893a6cc173d80a45cb056e8c98e2 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-18HONEYCOMB-337 - Fixed ordering for PitrCfg writersJan Srnicek1-2/+4
PitrCfg holds reference to locator set, therefore must be deleted before Change-Id: Ic4d2d7e26126991a4426310e4e4a5f0516969fc9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-16HC2VPP-38 / HONEYCOMB-336 - removed mandatory from ace-ip-versionJan Srnicek9-49/+700
Removed mandatory statements Fixed multiple NPE Change-Id: I30af417b0594d9634a9352f7721285257fbcee1e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-16Add test postman for complete NSH-ProxyHongjun Ni1-8/+250
As per some customer's request, add a complete postman configuration for NSH-Proxy. Change-Id: Ifcfc9665424bf32440227cae84da7c8660959aa6 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-13HC2VPP-4 - Added missing site.xml descriptorJan Srnicek1-0/+39
Allows rendering of index for hc2vpp project Change-Id: I5d12dfd1d1f86f12c3cc83297daccf25bfec4679 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-13Add test postman for complete SFFHongjun Ni1-7/+311
Change-Id: I8d591a2dcbc1d9f5016122f1480136c4f42c2079 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-12HONEYCOMB-325 - Null pointer while routing attr not definedJan Srnicek32-63/+192
Fixes multiple null pointers Change-Id: Iaa1df9a8b0a886d1835fe7cb87bcf7cf5130c6f5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-12ioam : pot plugin - update yang fileSagar Srivastav7-57/+57
Change-Id: I27bbb50b04eca30374c8015dd2994524d80e3883 Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
2017-01-12HONEYCOMB-267 - Reference check for Bridge domain in L2Jan Srnicek2-4/+92
Eliminate attempts to remove bridge domain referenced in L2 Change-Id: Ia8ddafe68f87ef9fac0b091fb40d2142ce456cd4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-12HONEYCOMB-296 - Reference checking in Locator setJan Srnicek3-6/+178
Reference must be checked while removing to prevent dead references Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-11Bump of jvpp version to 17.04Jan Srnicek9-12/+19
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-11Fix NPE in L3 rulesMarek Gradzki5-17/+130
Patch introduces proper handling for IP adresses, which are optional. Change-Id: Ib009207b4b241d3e2b8c665a35bb1ff87b4a12ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit e0b4359b39acfe8a583089117a0c2485b85ff7e4)
2017-01-10Fixing NPE in TCP/UDP L4 rulesMarek Gradzki3-17/+106
Change-Id: Iae90f081c0add7ad9f6dd22229df683c6d395e78 Signed-off-by: Tomas Cechvala <tcechval@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-10HC2VPP-31: fix vpp-ace translation with no protocol setMarek Gradzki4-2/+46
Change-Id: I9d319ae3d04d90c7652828b0cb382ad142f9d2b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 1b7a019ae9ceeddee496b20f83c095ffcb87b6c2)
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki36-87/+87
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>
2017-01-04HONEYCOMB-182 - Vrf supportJan Srnicek3-13/+19
Change-Id: Ic2328b626b198bffb550f22ca1144853c16b39e4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-102/HONEYCOMB-103 - Ipv6 SupportJan Srnicek48-327/+2327
Contains - Ipv6 read/write Support for Interfaces - Ipv6 read/write Support for Subi-Interfaces - Postman collection with relevant requests Todo - Test coverage - HC2VPP-11 - Refactoring - HC2VPP-12 - Could be related to - HONEYCOMB-328 Tested - read/write for both interfaces and sub-interfaces - passes ok - init with following scenarios - vpp clean/hc has data - passes ok - vpp has data/hc clean - passed with error for sub-interface described in HONEYCOMB-328. The actual ipv4/ipv6 part passes ok Change-Id: Ib18acb9b18d6374dc5847e30db4049696d512e72 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>