summaryrefslogtreecommitdiffstats
path: root/v3po
AgeCommit message (Collapse)AuthorFilesLines
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>
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 Warnicke3-8/+8
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-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-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-09Encourage karaf to load odl-v3po-ui.Dave Wallace1-0/+3
Change-Id: I72b878f73418a02d662b7c4c2540644f9a4c02c7 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-01Fixup after vpp-japi changeRobert Varga4-180/+190
vppApi has now proper lifecycle, we must adhere to it. Change-Id: Ibf7eb5726f2751d017a3c28f823329ce4150cb01 Signed-off-by: Robert Varga <nite@hq.sk>
2016-01-30Split out interesting bits of v3po.yangRobert Varga2-49/+55
We need to lift some elements in the v3po bridge domain configuration configuration for reuse in the virtual bridge topology. Also drops couple of FIXMEs for future modeling work to sanitize the model further. Change-Id: Id2369ff5fa967a20c39fd6959a152221ea4924f5 Signed-off-by: Robert Varga <nite@hq.sk>