summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Marsalek9-112/+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-13Enable checkstyleMaros Marsalek11-47/+68
Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b 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-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-09HONEYCOMB-62: Add Ip readersMaros Marsalek14-337/+730
+ Fix 1 interface reads. Interface reader worked only if GET interfaces-state was executed + Fix readSubtree for augmentations. Comoposite readers did not check child readers for augmentations, only direct children. Change-Id: I2bc433e3e5785453062ab262b9edabc72c333bf0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-09Fix int to long conversion in InterfaceUtilsMarek Gradzki1-15/+14
Change-Id: I569aca1bd536f1e6f9451d2af8207916cf370b70 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-09Fix state inference in sub-interface initializerMarek Gradzki1-2/+2
Change-Id: I14d95f5e5907987d5b558b2de33c64c26d2cf716 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-09HONEYCOMB-67 Introduce exception handling into JVPPTibor Sirovatka46-1039/+988
VppApiInvocationException replaced by VPP VPPBaseCallException(s) VppInvocationException - send request failed VppCallbackException - operation had failed (negative result) Change-Id: I897afead8d65ef1240e657116a0610850c62348f Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
2016-06-06Fix CUD support for non-mandatory child nodes of list typeMarek Gradzki5-21/+38
Change-Id: Ic75221fe61a0bb35753dd6f3b4deec1b8c020974 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Updated tests for new vlan modelMarek Gradzki19-704/+873
Change-Id: I2982d52a7d8e319b9b6ed1be5d312296ef843599 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove unused sub-interface identityMarek Gradzki3-11/+1
Change-Id: I886286d9a31c6f5e400ef8d26c8f89d57ff1f3d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Intializers for the new vlan modelMarek Gradzki6-188/+111
Change-Id: I513f0b190e9d9e669663a9a216e7c72b1ebeb10d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Update VLAN requests in the POSTMAN collectionMarek Gradzki1-95/+161
Change-Id: Id44adcddf8549bc13bc05d16600a443c635aae8e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki30-1336/+2202
Missing features that will be added in subsequent commits: - initializers update - unit test update - postman collection update Change-Id: Iff01f6f9b4347261a504fe1a1d7840060cae367f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove tags from vlan-tagged match type.Marek Gradzki1-27/+2
Information concerning subinterface tags was already defined in sub-interface-base-attributes. Change-Id: I49bd7cdbd984942b3413bab6b6660da08c5e045c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Move byteToBoolean to TranslateUtilsMarek Gradzki3-23/+42
Change-Id: I7a8142bc2df7d566bc3edde7ceb42eb6b8815852 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>