summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-07-21HONEYCOMB-122 Update reader registry to share similar APIs as writerMaros Marsalek143-2519/+2514
+ Extract common registry builder base code (Reader registry is not flat, so there is not full control over ordering as with writers but it is sufficient) + Split CompositeReader into CompositeReader, SubtreeReader and GenericReader + No need to build composite structure in ReaderFactories (registry does that internally) + Keep only ReaderCustomizer + ListReaderCustomizer, no root reader (same for writers) Change-Id: Ic4e5bc96ad47a6cbcada4efcc2209db5c16d2a6c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-19HONEYCOMB-49: fix outstanding issues found in reviewMarek Gradzki16-119/+147
Change-Id: Ic3314c8ddf75bda89f5170a503cf589f2ae743ab Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-15HONEYCOMB-49: add ACL requests to the POSTMAN collectionMarek Gradzki1-0/+273
Change-Id: If467d65bdd2d76816954fb9c27b223b136838f6f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: initializers for VPP classifierMarek Gradzki7-25/+171
Change-Id: Ia52bb38ce26da31bf33d142c19f20091c4ed951a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentationMarek Gradzki25-71/+1029
Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: VPP classifier model. Translation layer implementationMarek Gradzki16-6/+1729
Change-Id: I7d91f29f621fbb7ede9b3dd5d49a9b5c3ba58565 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: VPP classifier model. Initial versionMarek Gradzki4-0/+255
Change-Id: I8dbd22657c1cd1c9dfc45ca130015b5b3dbffee1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14Add google's error prone static analysis to buildMaros Marsalek4-10/+46
Can be also integrated with IDEs: http://errorprone.info/docs/installation Change-Id: I5f695995078139a077bd9d62c68792207c904e11 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-13Fix l2fib initializerMaros Marsalek1-1/+1
Change-Id: I2ae8bfd01e455dcdcb891db7653578943180e20b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-13HONEYCOMB-81 Fix v3po2vpp writer orderMaros Marsalek5-36/+74
Now fully persisted configuration can be restored when VPP and HC restart Change-Id: I6ad146da004044f643925208f8951e8eb8e87627 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-13Introduce integration tests to HoneycombMaros Marsalek11-196/+832
+ Add writer infrastructure initial test Change-Id: I0c1017f55c9456f145943ca6db6221555b746c8f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-13HONEYCOMB-94 Reimplement writer registry with better ordering optionsMaros Marsalek54-2368/+2782
Now the registry is flat and allows for full control of writer execution order Change-Id: I864e1d676588ffe59b596145e0829e81b1a1ed2f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-11HONEYCOMB-113: fix u16<->short conversion in SubInterfaceCustomizerMarek Gradzki3-49/+80
Change-Id: If958a33edc42b76dd4105ec7a355a12e8afc0835 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-07HONEYCOMB-113 - refactoring based on jvpp type-conversion changesJan Srnicek2-3/+3
Change-Id: I5792e8cbcaf4e214386083850594119e6f6ed445 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-07-03HONEYCOMB-97 - Added support for ip_neighbour_add_delJan Srnicek7-30/+479
Change-Id: I20d957bbfce3e1c50d7501844382a3ef301c3e95 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-07-01HONEYCOMB-104: add Ipv4 support to sub-interfacesMarek Gradzki17-425/+1134
* updates vpp-vlan.yang with Ipv4 and Ipv6 support based on ietf-ip rev. 2014-06-16 * adds Ipv4 support for sub-interfaces Ipv6 support for interfaces and sub-interfaces will be addded in the future (HONEYCOMB-102) Change-Id: I0bf10fe3ff1c543685f651d8b6fb06bbeee3db92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-29HONEYCOMB-105 Make interface notification creation thread safeMaros Marsalek2-5/+33
Change-Id: Ife48ff6ed3c8290f223fd14df1366927923bad30 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-27Fix IPv4 read cachingMaros Marsalek2-24/+82
Single cache key was used for each interface during a single read returing same IPs for all the interfaces Change-Id: I8cc05591b257d44a253cc23c9d79d9096459dcdd Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-27HONEYCOMB-100: introduce default 5s timeoutMarek Gradzki33-186/+350
in TranslateUtils.getReplyFor* calls Change-Id: Iac2bb428ea6adcc8d3da2238db1dec708df550f0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-23Add logs to JVpp config moduleMaros Marsalek1-2/+8
Change-Id: I1a1c27a29b7243968c7367968f1e32a75dac177e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-23HONEYCOMB-92 Ignore empty modifications for e.g. empty presence containersMaros Marsalek2-110/+120
Change-Id: I565686dbd2474fffbfea4e8cc837861845723bda Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-22HONEYCOMB-95: remove sub-interfaces from the list of interfacesMarek Gradzki2-53/+95
Change-Id: I3a22bbfd49a5e3c1519526a98e8841807553710b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-22HONEYCOMB-99: perform write/update after delete for all list writersMarek Gradzki1-6/+10
Order of delete/write/update operations can have side-effects for devices like VPP: Adding more than one IPv4 address can in some circumstances be silently ignored by VPP, therefore in case of updating IPs list, addresses have to be deleted first. Change-Id: I8712827e3c95232dac20a9ee35be1bc5b567bd54 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-21HONEYCOMB-64: Add ipv4 netmask supportMarek Gradzki11-257/+571
Supported contiguous netmask only (strictly, only leading 1s are allowed) Update postman collection Change-Id: I989bbd013227bc3e1eda0861241543db0cdbf656 Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-20HONEYCOMB-98: Fixed initializing of Ipv4 containerJan Srnicek4-46/+374
Change-Id: I19161f9a25534160b2473b2a03c4a3c9fc4a2c1c Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-06-17Fix for rpmbuildEd Warnicke1-0/+2
Change-Id: I8d7f1c17d750db72a7344b3c670ed850d5b90dff Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-17Fix path for honyecomb.spec fileEd Warnicke1-1/+1
Change-Id: Icc9cc635a9bcd3b29f42601b0ee283cbfdec4c9a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-17Instrument rpm build in honeycomb.Ed Warnicke1-1/+1
Change-Id: If88759bc29a74e4d1b8c4190ac371e75c9d08c8d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-17HONEYCOMB-96 - Fixed bad structure of writers for Ipv4/AddressJan Srnicek4-81/+318
Change-Id: Ie085c448aad6557ce3326922268753823adffb22 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-06-15Added rpm for honeycombEd Warnicke6-0/+99
Change-Id: I2dd2f1bae1c5f0b0232b8e453c3fa8a1761d657d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-15Implement L2 container deleteMaros Marsalek5-33/+84
Change-Id: I5173a892ec3e8ac695a5391e570c10f488241e07 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-15HONEYCOMB-91: fix restoring BD from persisted config.Marek Gradzki3-66/+110
Covers case when bd_id was present in the bdContext Change-Id: I817fc684f175958f772a87ee708fa7f49ceec6f7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: updated POSTMAN collection with L2 FIB supportMarek Gradzki2-44/+222
Change-Id: Ie4c0d866b4707af3260d5f5697c5ef21b8256a28 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: initializer for L2 FIB tablesMarek Gradzki19-192/+250
Change-Id: I7f133ea56fc3bb11e0f4b584839dabc0754a8d50 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: write customizer for L2FibEntryMarek Gradzki5-4/+405
Change-Id: I80353d9468924df755b7dfe2fca33515becdb8b5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: Create read customizer for L2FibEntryMarek Gradzki9-105/+358
Change-Id: I0ad5d98ba6c9442c79b21bf04be07b81d04a4595 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: BD and L2 FIB YANG model refactoringMarek Gradzki6-64/+94
Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-92: Process modifications recursivelyMaros Marsalek9-227/+737
+ Fix update subtree, child writer lookup + Change initializers operation to merge Change-Id: I6ece7eb3d17d5a0b4a413189ddd383567d7e2270 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-14HONEYCOMB-67: Minor corrections in tests, stylesTibor Sirovatka14-213/+214
Removed unnecessary calls from tests Sonar corrections Change-Id: Ib182d66fd47a4feb9686989d086482ffe188470f Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
2016-06-14HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interfaceHongjun Ni1-4/+12
Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-14Fix Vxlan-gpe interface state from VPPHongjun Ni3-4/+4
PatchSet 2: consolidate review comments. Change-Id: I50e0dc1c8acff0f22dad80ed5aa547e95728081a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-13Disable strict javadoc checks in Oracle JDKMarek Gradzki3-1/+19
Currently, compilation fails on Oracle JDK8, due to its strict javadoc checks. Change-Id: Id1c703834edeab32aa76ce765f5a0d7851f5022e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-13Enable checkstyleMaros Marsalek13-68/+206
Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-13Introduce coding style and checkstyle rulesMaros Marsalek7-0/+490
Change-Id: I1e67065393cdb901b81d5c5f8f3cec42f1b39fc8 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove reduntant list of interfaces for BDMarek Gradzki2-42/+0
Interface has BD reference already Change-Id: I21d71cc79ec22378e11bfb5fe1bc479b26c21639 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10HONEYCOMB-7: Remove vbd reference from gitignoreMarek Gradzki1-1/+0
Change-Id: Id0886aed4fdafd8b134b7245afb0ddff66ce1fa8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10HONEYCOMB-33: Add notification service to HcMaros Marsalek46-6/+2187
Implement VPP interface notification translator as part of v3po2vpp plugin Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove artificial limit on the maximum number of bridge-domainsMarek Gradzki1-2/+0
VPP code does not limit number of bridge domains to 1024. Change-Id: I280174d0e741b599b39f05b8db2bf0a423aeffcb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10Make filterSubtree recursiveMarek Gradzki1-9/+21
Change-Id: I7b2b888fd7debb0aec3292a07fc35c0e6493d117 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10HONEYCOMB-7: Remove VBD form HCMarek Gradzki80-5386/+0
VBD is now subproject of ODL: https://git.opendaylight.org/gerrit/#/admin/projects/honeycomb/vbd Change-Id: I1bf01a01cca50fe5e3f4f82a53c6b15ec5c7091d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>