summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-18Fix interface dump cachingMarek Gradzki4-32/+54
Change-Id: I18d29bebf754c34bbc05e5c9cfb78d8aba87c205 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-17Check expected interface type in sub-Interface nodesMaros Marsalek22-120/+285
+ Pass full WriteContext to the write customizers, making them more flexible Change-Id: I75c55aed02f9300eee20eabb4a3e84e294ed1e0f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-13HONEYCOMB-37: Add unit test for Vxlan tunnel state customizerMaros Marsalek4-3/+145
Change-Id: I8a3499233c2d200b0bb0c1e2534ea1dfdbb5f12c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-13HONEYCOMG-37 Enable ipv6 addresses for vxlan-tunnelsMaros Marsalek8-100/+139
+ Add logging to other interface type customizers Change-Id: I177c0af26991c5f421b513f5fd9964ca1c23027e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11Remove unused Interface1CustomizerMaros Marsalek1-61/+0
Change-Id: I0c573129c08688f71bf082330b03ec6053c9e3d4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11Add proper break statements to abstract readerMaros Marsalek2-2/+5
Change-Id: Iebb52d59e2e342151e616548722366985d7ee9a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMB-37: Add Vxlan operational read supportMaros Marsalek2-0/+150
Change-Id: If2050ed67da2f17b13dc4de0cae6eabddb3b389b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMB-36: vhost user interfaces CRUD supportMaros Marsalek11-35/+661
Change-Id: I1c16cf71fa450fe5079b4af8b1e24bdc921a6e82 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMG-47: Tap interface CRUD supportMaros Marsalek16-117/+877
Tap interface specific configuration and state was added to V3po yang model. TapCustomizer added. Fixed customizers for Interfaces state. Fixed bug in Bridge domain customizers. Change-Id: I9dd47b8ada5153df8732c02cb59d331ab1adc71e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-10Added vhost user interface type to v3po.yangMartin Sunal1-0/+46
Change-Id: I161260bf2ed1c4d750c3ce123ebb12420c697410 Signed-off-by: Martin Sunal <msunal@cisco.com>
2016-05-09HONEYCOMB-37: vxlan CRUD supportMarek Gradzki2-14/+252
Change-Id: I4dad2a5766bd94ebdfdf6c302aa5054be5bc86ee Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-09Fix L2Customizer log messagesMarek Gradzki1-4/+3
Change-Id: Ia03bfaa071c07496233fccfff034e78837105611 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-09Comment out equality check in AbstractCompositeWriter.updateCurrentMarek Gradzki3-11/+22
There is a bug in ODL when checking auguments for equality: https://git.opendaylight.org/gerrit/#/c/37719 Until the bug is fixed, updateCurrentAttributes will be invoked even if there was no data change. It is customizer responsibility to perform equality check if invoking update without actual data change can cause side-effects in VPP. Change-Id: Id72ec55ea7179330a4ebb1df49c29195908c5461 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-06Fix physical address parsingMarek Gradzki2-7/+57
Change-Id: Ib5fedab56d9bef556fc13f28a266004d2e5d73a6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-05HONEYCOMB-10: Porting v3po2vpp to the new Java APIMarek Gradzki56-958/+1846
Change-Id: Ic7166b0f578442165595aa44a587ebbc5db0e75c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-04HONEYCOMB-25: Use java 8 for sources and target JVMMarek Gradzki7-13/+49
Change-Id: Icdd2e8a393bd6214a9b69364a8498075fe3be43f Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-29Fix compilation problems caused by vxlan_add_del_tunnel definition change in ↵Marek Gradzki3-6/+67
vpe.api Change-Id: I6599598cb9755f263a603df484710e210867e068 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-18HONEYCOMB-38: Add link for md-sal/binding equality fixMaros Marsalek1-1/+1
Change-Id: Ifc7d511b73c18e9ba0813c9321b475a825ec9af6 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-15HONEYCOMB-38: Fix vpp interface customizersMaros Marsalek12-285/+202
The order of execution was not correct + CompositeWriter ignored some changes Change-Id: I53fd9fda4b7a0379e0fa8451fa894865f67ebace Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-13HONEYCOMB-9: Remove initial Honeycomb pipelineMaros Marsalek25-2521/+269
+ Rewire global restconf to only serve VPP requests + Remove artificial Honeycomb mountpoint Change-Id: I90738123e46a9fb29db19ee09fd139b57cd8af10 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-13HONEYCOMB-9: Disable polling thread for former pipelineMaros Marsalek1-7/+6
The poll causes deadlocks on vppJapi in combination with Initializers or any other read/write operations Change-Id: I623642e42780b5174956f7859c0192c925900c19 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-13HONEYCOMB-8: Fix netconf monitoring operational data provisioningMaros Marsalek14-168/+431
Local storage for netconf monitoring was not wired with netconf northbound for vpp. Change-Id: I864614ffcbf7acf16eccc65ab58b9821b2682f93 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-34: Config initializer for ietf-interfacesMarek Gradzki6-46/+338
Change-Id: I164ab014638d40d1494dacb704c079c166256128 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Additional log information for InitializersMaros Marsalek1-4/+4
Change-Id: Ib972514a7bfd17b5f2821e39f2614f8d05d5a237 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-34: Config tree initialization using binding data brokerMarek Gradzki26-326/+497
Change-Id: I070aca2cc35dd10ea5bde19c8cbf4cad1c50f468 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Config tree initialization using ModifiableDataTree dependencyMarek Gradzki20-287/+678
Change-Id: I9fa6119a92cc1979ed6f3364bb74e856a7a712c5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Configurable OperationalDataTree dependencyMarek Gradzki11-27/+177
Change-Id: I675a4ae11845990dfcacbe99eb0a1b799485de35 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Configurable ConfigDataTree dependencyMarek Gradzki14-112/+207
Change-Id: I17a93835541e66835398391e2a127b25767b774a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Configurable serializer dependencyMarek Gradzki20-69/+398
Change-Id: I05cb7836ec4a379f7617710a6c6f64c3541ff0c9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-34: Initializers. Initial versionMarek Gradzki14-0/+310
Change-Id: Id3e815773813c924e3e53dc3a92826d803848186 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-8 Set port to 2830 for HC netconf northboundMaros Marsalek1-1/+8
Change-Id: I0838ecc300a6592b91f0537896cc8d252c1d49df Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Migrate Interface listenerMaros Marsalek43-254/+1878
Change-Id: Iffde1ee21b749a8c8efa96c243f7f8bb0811b4c7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Add InterfaceCustomizer for ietf-interfacesMaros Marsalek8-0/+621
Add custom reader for if:/interfaces-state/if:interface with no augmentations for now. Change-Id: Icc0f403db204430f27ac96cf7b32e7800e11dacb Signed-off-by: Stefan Kobza <skobza@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Add configuration and wiring for readers and writersMaros Marsalek35-310/+961
Remove config module Wrap vpp-japi in a config module Change-Id: Iee1e0c653309bd3c1019323ce689dacf3ed995cd Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-8: HC ascii docs. Initial versionMaros Marsalek10-0/+155
Change-Id: Id9540f9a7aa863517c1fbf54f9eb5bd20b565476 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-8: Remove references to VPP from data layerMaros Marsalek16-153/+154
Change-Id: Ia8ceb1f6e16c5148514ee2add55ff78533d8fe1e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-8: Move data layer from impl module into submodulesMaros Marsalek30-43/+270
Change-Id: Ic75793f65cfcad7cc2c96e7a09093e0e1802e4e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Remove references to VPP from translation layerMaros Marsalek77-1025/+762
Change-Id: I281db366a112edc08203e8cb392a212708d4552a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Split impl module into smaller partsMaros Marsalek74-258/+1082
Change-Id: I9232e0adfe611cb97951080839b28a7b62ba5484 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Add Read contextMaros Marsalek23-87/+189
Change-Id: I42179d5c7244bfe4c62ee1efffad414a1cfe4b0b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Exception handling for VPP APIsMaros Marsalek24-181/+663
Change-Id: Ic71a2ac3d01e88cb38596a24a12a7bf8ebf54da5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Simplify reader APIs, remove list of DataObjectsMaros Marsalek11-143/+174
Change-Id: I0cb3f20ef4595b0143dcc7e0ad5475f121a9cc86 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Simplify writer APIs, remove list of DataObjectsMaros Marsalek27-401/+606
Change-Id: I139a883da167f9ab388b41b3ede50e48adc22d0b Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-01VPP API <-> YANG translation layer integration #2(Writers)Marek Gradzki20-276/+750
Change-Id: If91364f1900693b040aee163f1c6e092381b0efd Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-31Dedicated NETCONF north interface for v3poMaros Marsalek10-2/+765
Change-Id: I3a001ef68f7ff43ec1b2a935dd474ec966cea878 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-31Migrate Vpp/BridgeDomains config management under new writersMaros Marsalek3-0/+348
Change-Id: I0e5734bd54548ff78a2ec4420e4a8294401f4d46 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-31Initial implementation of VPP writersMaros Marsalek12-0/+1021
Composite, recursive and extensible writers Change-Id: I1fbd1d49af44343ab655e31d17ba51dd0f8ca268 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-31VPP composite writer APIsMaros Marsalek4-0/+151
Base APIs for composite and extensible VPP writers Change-Id: I160374ba4897977e1d079633f0eb845478441d75 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-31VPP API <-> YANG translation layer integrationMarek Gradzki12-57/+338
Prototype that uses Readers API for non-list nodes. Change-Id: I482dcfe09d094456b014e55edbc38ce6e98afcc3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-31Move generic APIs and Utils out of reader packageMaros Marsalek15-19/+22
Change-Id: I3657da8005a5af1c003107528e16dc1d81efa85a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>