summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-03-31Add base logging to composite readersMaros Marsalek4-23/+64
Change-Id: I6340787f39b9f88fff99190271f74e991b5a7888 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-22Add dedicated package for readersMaros Marsalek22-55/+56
Change-Id: Ic85bba0086a58ef53697a1ebf5542b3a7c28be53 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-22Address TODOs for VPP readersMaros Marsalek22-259/+477
Cleanup the mapping methods Clenup and document SPIs Exctract SubtreeManager interface Change-Id: Idaacebf949926107b0e4f2f467e5a4470126fa96 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-22Migrate VppState operational data reads under new readersMaros Marsalek5-0/+520
Change-Id: Id30f4ad22a1ea5b7cb982005e675d3f337dc78d1 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-22Initial implementation of VPP readersMaros Marsalek14-0/+997
Composite, recursive and extensible readers Change-Id: I86084fa0c4127bddd87f68ff6a48b79c27a9589c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-22VPP composite reader APIsMaros Marsalek3-0/+125
Base APIs for composite and extensible VPP readers Change-Id: Ic3d7c697fbffe40ab0d0ce3fea0a21cf89c652d0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-21Prepare for integration with VPP API <-> YANG translation layer.Marek Gradzki13-16/+16
Package trans was renamed to trans0. Change-Id: I849cbe528362a63cfce653b04c48db8819d255bd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-21MountPoint for data-tree based DataBroker.Marek Gradzki6-9/+351
Change-Id: I6a15e79747484790607d82d4024971763b4bae54 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-21Data-tree based DataBroker for Honeycomb agent.Marek Gradzki8-0/+863
Change-Id: I2cda490bfc47d748052587066b3f63d5c27d518c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-21Dedicated data-tree for Honeycomb agent.Marek Gradzki7-1/+830
Initial API Implementation. Change-Id: I96c682e2d0d544a4f937bc992a7d0919cb358fac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-21API for dedicated data-tree for Honeycomb agent.Marek Gradzki11-16/+421
Data-tree allows for better control over data processing (commit refusal, change processing ordering, additional validation etc.) than data-store (previous design). Change-Id: Id165df33da179ed925b2187fe247b2d6f672af43 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-18Removed usused VppPollOperDataImpl.updateOperational() return valueMarek Gradzki2-11/+4
Change-Id: I6eaefd0448367abdc5774d931cb22caf73166662 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-18Use equals instead of == for String comparisonMarek Gradzki2-6/+11
The same string value may be represented by two different String objects, so comparison using == may fail. Change-Id: I6f2f78d082b096baa255ff7836be338f5dd41473 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-08Fix pom files to use Beryllium Release VersionsEd Warnicke13-27/+27
Change-Id: I819355c989195a319e1b5ee6c3f2c0f2298628c2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-04Fix NPE in VppIetfInterfaceListener if Ietf interface is not augumentedMarek Gradzki1-24/+29
Change-Id: I9cdfbe67f089c74bf9205e447553b4ae07c2f2c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-03-03Pre provision interface configurationMaros Marsalek1-4/+50
In v3po, after connecting to vpp, read initial vpp existing (initial)configuration and put it into v3po's datastore. This is very minimalistic(only mandatory nodes are stored), only to allow configuration of bridge domains right off the bat. Change-Id: Ia29d537600660a8e50f648477a5a40d06f0eed6d Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-03-02Fix eclipse warningsRobert Varga2-9/+11
Reduce visibility of implementation class, add SafeVargars, make methods sstatic. Change-Id: I56c81371fad39b527d1423508537de59bd171e5b Signed-off-by: Robert Varga <nite@hq.sk>
2016-03-02Use Guava Splitter to split IP addressRobert Varga1-1/+3
Using String.split() forces compilation of the regex, which is slow. Use a thread-safe Splitter to perform the same job. Change-Id: Icbc326a376bc9aaea692f80d01439e81a302bc5f Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-19Remove V3poRequestRobert Varga2-32/+1
The callback interface from vpp-japi needs to be remodeled to reflect the fact there is only a single connection. Remove the unneeded abstraction before we move on to proper callbacks. Change-Id: Ic96d6f17110ab31988e1621ac42d76d0c5d4069f Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-19Use Guava's int-toipv4 primitiveRobert Varga1-10/+3
Guava has a neat utility to perform the conversion, use that instead of open-coding it. Change-Id: Ifa8d79845950faccc3433b84e42dc2ba08828248 Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-19Fixup logging and static methodsRobert Varga4-138/+115
Methods which can be static are made static. Also fixes string concat in logging. Next we share a single instance of the VppState identifier. Finally fixup the LoggingFuturesCallback. Change-Id: I4f5076bfcbf782ecf4452e00726d49b46e15628c Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-19Don't initialize data structures in V3po providerMaros Marsalek1-28/+4
Change-Id: Ie4e6c8846ac9e019ab954aa237406f142dcbebbe Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-02-18Initialize v3po data structuresMaros Marsalek4-10/+86
This is a workaround to avoid posible DataTree exception when submitting new interface configuration without pre-existing day0 configuration. Applies for all list nodes and a proper fix will follow in ODL. Change-Id: I6ee6e7ae189542d5ae2ad742f431b88745c42c4d Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-02-18Fix - creating parent node at VPPMaros Marsalek1-2/+2
Change-Id: Ib32d8b344fd3a8d2a14f31e9e6fad6099b0e731e Signed-off-by: Jozef Gloncak <jgloncak@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-02-12Underlay addedDaniel Malachovsky12-448/+549
- bd manager rewritten - underlay topo functional - lot of cleaning Change-Id: I48e259aaf341eb0a1c09e6b25dd411d525d854c1 Signed-off-by: Varun Seereeram <vseereer@cisco.com> Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-10Add another VM for wireshark to monitor the vpp1<-->vpp2 internal network.Dave Wallace1-6/+26
Change-Id: Iad350ac6c90ce372d6bde5e3fab126c524e816c1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-10Remove test code from V3poProvider initialization.Dave Wallace1-163/+0
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Id0f5b13093fc3ea0aa2a67cc18f3af341b2448e2 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-10Add scripts to reset / configure VDB application and VPP Honeycomb AgentsDave Wallace5-0/+303
Change-Id: I01abc34d43795d183a3b9e6441883f530b456e6b Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-10Cache apache-maven tarball in karaf packages mount if available.Dave Wallace1-39/+108
More code cleanup and console output tweaking. Change-Id: I0257bd8eb91addefd76d99f9c577225005aaf194 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-10Download karaf tarballs from nexus.fd.io snapshot repo.Dave Wallace1-27/+73
Clean up syntax and console output. Change-Id: I06de74d694f309602f612afb71872d2059aa87e9 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-09Design changes p. 1Daniel Malachovsky8-34/+100
- fixed some design flaws - added tunnel table into inventory detail - added filter to remove vxlan_tunnel from interfaces list in bd mnager Change-Id: Ia9f0ca737d062ed2ed57734561dbece34d20b7c3 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-09Adding vxlan tunnel id allocator.Jozef Gloncak5-32/+76
Change-Id: Id638bc0262481921cd42d830e9fc788e76bc3907 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>