summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-02-09Refactor vagrant files for reliability and maintenance.Dave Wallace2-111/+235
Add git-review to VM. Change-Id: I7ed6c9d00037bb9665019f9f96e30ba9c2546525 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-09Encourage karaf to load odl-v3po-ui.Dave Wallace1-0/+3
Change-Id: I72b878f73418a02d662b7c4c2540644f9a4c02c7 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-09Vagrant configuration to create VMs and connections for demo.Dave Wallace3-0/+255
Change-Id: I4648f5cd738183193b3b342a96ececccdea0bad6 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-09Code refactor - more code in Vpp manipulation.Jozef Gloncak4-121/+124
Change-Id: I2b39df0e78a6947989b745cf7c93bbb501807738 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-09Adding odl-netconf-topololgy featureMiroslav Toth1-0/+2
Change-Id: If56ed34e50ff1003e78c5f1a5ac1d68abf5823b2 Signed-off-by: Miroslav Toth <mirtoth@cisco.com>