summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-02-08Code refactor - standalone class for Vpp manipulation.Jozef Gloncak2-141/+228
Change-Id: I3869462364f2a73177eca6848bac897ccadfd67f Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-08Initial commit of vBd Manager functions.Daniel Malachovsky10-356/+464
- Bug Fixes for graphical manipulation. Fix req'd for unassigning pre-assigned. - Fixed Graphical issues, interface, vpp and vBD manipulation - Added REST functionality, GUI enhancements and squashed a few bugs. - reworked assigning and unassigning IF to vBD Change-Id: Ice13835699455439f6ab49a18facb49f7a16b7ef Signed-off-by: Varun Seereeram <vseereer@cisco.com> Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-08Adding vxlan tunnel id alocator interface.Jozef Gloncak1-0/+23
Change-Id: I8a9835c064fb6ebaa29a47eaee8e7b87eb0cedac Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-08Inventory rework 2Daniel Malachovsky12-122/+374
- added detail page - lot of design changes - lot of css overrides Change-Id: Ia1735272297c0913f971728acc6775cce93d4646 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-07Inventory reworkVarun Seereeram8-56/+90
- ui-grid replaces by smart-table - dark theme setted - orange buttons added Change-Id: I2afe3231a1e889a1d23056242167cad65cbfae11 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com>
2016-02-07vBDManager services initial commitDaniel Malachovsky7-99/+356
- added add/get/object definitions for vBD, VPP and Interfaces Change-Id: Ic639f06fad5700a1722fdb0b1034b8134bdb1c41 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-06Tunnel implementation - writting termination points and link to DS.Miroslav Toth2-22/+40
Change-Id: I6a4f3e397fba9fbcde53dc250a04d2c8580f2829 Signed-off-by: Miroslav Toth <mirtoth@cisco.com> Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-06Splitting sourcesDaniel Malachovsky13-296/+434
- splitted vpp.controller.js and vpp.services.js into smaller files to avoid blocking and problems during merging Change-Id: I379dc1e5154c6f685fb6a976db239b620e58fc6e Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-05UI-Grid initial commitDaniel Malachovsky12-832/+424
- added angular-ui-grid library for handling expandable table - removed old service (http) and old inventory controller - fixed bridge domains page formatting - fixes bugs due to old code's css - applied Dave's comments Change-Id: Ie10d05bb0da3cb9bac666b66cf7168696c45254f Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com>
2016-02-05Tunnel implementation - writting vxlan data to interface.Jozef Gloncak1-16/+144
Vxlan data are stored to both ends of tunnel - to source and destination vpp under interface with prefix 'vxlan-tunnel'. Change-Id: I703ca80e8986139f6bbe8b208629f3aa0593edb4 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-04Copyright header fixDaniel Malachovsky9-60/+52
- added copyright header to css and js files - small fixes in css files Change-Id: I62a32067d71ede7a7440662b1816f939659101e7 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
2016-02-04Fix UI bundle not being installedRobert Varga3-17/+7
Inheriting from aggregator causes the artifacts to be skipped during install. Use api-parent instead. Change-Id: I507a21b2999c193d41a924debfcd67b916160f94 Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-04GUI initial commitVarun Seereeram50-3/+2876
- open ui on http://controllerIp:8181/index.html - added interfaces to vpp topo. - fixed VPP mounting - fixed VPP Editing and deleting Change-Id: I6ae2c6e5781d3e0cdb78b112d706b9f5076301d5 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com> Signed-off-by: Robert Varga <nite@hq.sk>
2016-02-04Tunnel implementation - getting IP addresses from VPPs.Jozef Gloncak1-18/+75
Change-Id: I9d624a24865b8a9895308ab504993ac3410d5830 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
2016-02-04Adding automatic creation of tunnel.Jozef Gloncak1-3/+57
Initial code for adding code for interconnecting of virtual bridge domain (via tunnel) which is spread on several VPPs. Change-Id: I0da88c977e820b0b8edc565d261d3d8fb0629a1a Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>