summaryrefslogtreecommitdiffstats
path: root/v3po
AgeCommit message (Collapse)AuthorFilesLines
2016-06-09Fix state inference in sub-interface initializerMarek Gradzki1-2/+2
Change-Id: I14d95f5e5907987d5b558b2de33c64c26d2cf716 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-09HONEYCOMB-67 Introduce exception handling into JVPPTibor Sirovatka46-1039/+988
VppApiInvocationException replaced by VPP VPPBaseCallException(s) VppInvocationException - send request failed VppCallbackException - operation had failed (negative result) Change-Id: I897afead8d65ef1240e657116a0610850c62348f Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
2016-06-06Fix CUD support for non-mandatory child nodes of list typeMarek Gradzki5-21/+38
Change-Id: Ic75221fe61a0bb35753dd6f3b4deec1b8c020974 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Updated tests for new vlan modelMarek Gradzki19-704/+873
Change-Id: I2982d52a7d8e319b9b6ed1be5d312296ef843599 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove unused sub-interface identityMarek Gradzki3-11/+1
Change-Id: I886286d9a31c6f5e400ef8d26c8f89d57ff1f3d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Intializers for the new vlan modelMarek Gradzki6-188/+111
Change-Id: I513f0b190e9d9e669663a9a216e7c72b1ebeb10d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Update VLAN requests in the POSTMAN collectionMarek Gradzki1-95/+161
Change-Id: Id44adcddf8549bc13bc05d16600a443c635aae8e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki30-1336/+2202
Missing features that will be added in subsequent commits: - initializers update - unit test update - postman collection update Change-Id: Iff01f6f9b4347261a504fe1a1d7840060cae367f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove tags from vlan-tagged match type.Marek Gradzki1-27/+2
Information concerning subinterface tags was already defined in sub-interface-base-attributes. Change-Id: I49bd7cdbd984942b3413bab6b6660da08c5e045c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Move byteToBoolean to TranslateUtilsMarek Gradzki3-23/+42
Change-Id: I7a8142bc2df7d566bc3edde7ceb42eb6b8815852 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Vlan alternative modelMarek Gradzki15-31/+582
Change-Id: I0dcb535338495b4bb858adf2e2fe1b78cf85c498 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Add unit test for vxlan-gpe interfaceHongjun Ni5-0/+540
Change-Id: I95f76cbb6f8d79a8a4fd38acaf35b59062e34e5b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-02HONEYCOMB-61: Detect VPP disconnect using keepalivesMaros Marsalek12-29/+358
Change-Id: Ic664dbf452504d0fff97e8c766d735d9c5d95c72 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-02HONEYCOMB-71: Add VxLAN-GPE featureHongjun Ni7-222/+690
Patchset 3: Add Vxlan-gpe requests in postman_rest_collection.json Patchset 2: Fix the indent issue. Change-Id: If42b667f60a3591efc4b79353d78935277f8fb4d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-05-30Expect null in ReflexChildWriterCustomizerMaros Marsalek1-2/+2
Change-Id: I41311f840bb5e5cdb8911353763fa3c9feb8735a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-30Fix error reporting for missing writerMaros Marsalek1-2/+5
Change-Id: Ifb0c533ec12efffc039ae31516e274e059cd980f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-30Fix vlan type handling for sub interfaces and vlan-tag-rewrite operationMarek Gradzki6-5/+7
Change-Id: I932fb63932d9c53acc6317fa77cc0683faf47081 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-30Refactoring ietf-interfaces and ietf-interfaces-stateMarek Gradzki13-182/+167
augumentations provided by v3po.yang: * using groupings to reduce dupicated definitions Change-Id: I09c0d0764ba47973f6b8e42d3fed705730e7d652 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-26Move V3poUtils for vpp-translate-utilsMaros Marsalek20-73/+74
Change-Id: Id6218d5136e0e4c0f1848da20bba784b71feee13 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-25Do not delete configuration in initlizers on closeMaros Marsalek1-4/+2
Change-Id: I8e61360586d59c39039528667c19317658e53840 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24Replace interface mapping context for reused vxlan tunnelMaros Marsalek2-0/+39
This can occur when vxlan interface is deleted and then added, but read between those operations cached zombie vxlan interface in the interface mapping context Change-Id: I74fd5126bbcd0df5b5f78725c51030584effe9e4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Fix outstanding issuesMaros Marsalek14-48/+102
Change-Id: I2dec6bbd8db656663029ad0f59da1b583c890565 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-63: bump ODL dependencies to BE-SR2Marek Gradzki24-196/+89
+ Remove dedicated reads to netconf-state in operational datatree. Use regular reader from now on Change-Id: I3d7245cd6cb5d9cf057aea600fddceb49cf18039 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Extend VPP initializers to initialize everything readers provideMaros Marsalek11-57/+286
Change-Id: Ic7c82f4abfb3bd1bb5065fdfc9c080ed3ba6c94c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Move VPP initializers to v3po2vppMaros Marsalek14-101/+111
Change-Id: I65a317bc84ab422bcb956a91dea24d6a17f8e0a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Restore configuration and context from persisted filesMaros Marsalek31-281/+886
Change-Id: I6edce127f8895f5d65998b4be71a0a111ca2e8bb Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Provide context data in OPERATIONAL readsMaros Marsalek5-10/+101
+ Uncomment disabled reader for netconf monitoring Change-Id: I8de1507d1999ff7fc64aa87dc9a1c0d2af454b0d Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24Add POSTMAN collection to codebaseMaros Marsalek2-0/+576
Change-Id: I19a7d8298bff6f99ee2efb0b84979f59bdabc3a6 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Move vpp context model to v3po-apiMaros Marsalek2-1/+5
Change-Id: I92d9cdd199e245adf5d22ff9756e05d82d66abc4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add BA broker for context data treeMaros Marsalek87-1012/+1741
With broker, context data can be accessed in a transactional manner, same as config data + Renamed data-api concepts to not include DataTree + Renamed context related concepts to better distinguish between them + Now passing full ReadContext to read customizers + Naming context is backed by context data broker Change-Id: I0b2876dd74a31a9ced7d9b5145672868e12f8b82 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add context data treeMaros Marsalek15-23/+371
For storing mapping related context necessary for the plugins Add naming context adapter to store naming contexts in the data tree + Enable persistence for context data tree Change-Id: I2ac531e80e71a48d313b065997d134da2ae7ee12 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Make InmemoryDataTree module type configurableMaros Marsalek4-24/+34
Change-Id: Ie73eac8960a76ebcc578d3b44c50492f29908e24 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Config persisterMaros Marsalek10-3/+464
Add PersistingDataTree adapter for in memory config data tree Using JSON NormalizedNode writers from ODL Change-Id: Ida91fe6aa34aaeaedcd061ba1551afe49bbddbbb Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23Changed JVPP interface for construction and connectivityTibor Sirovatka1-8/+2
Change-Id: Ib53e855880bc414868aa2b9bb8f5df086917e375 Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
2016-05-19HONEYCOMB-48: vlan tag rewrite supportMarek Gradzki6-4/+612
Change-Id: Id20aa699db1fd48b253b3abb1b4341e779a9b98f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19HONEYCOMB-48: sub-interface CRUD supportMarek Gradzki6-0/+566
Change-Id: Id6ca6776ca988aef060ecc33c508b7b699c53d10 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19Bridge domain interconnection read customizerMarek Gradzki2-0/+254
Change-Id: If74cf4ad2a05b3311478afc64cb54748f0d813dc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19HONEYCOMB-48: added VLAN support to v3po.yangMarek Gradzki1-0/+104
Change-Id: Ic4ba5c4573e79bf406b85cac435ecee28d820cda Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19Bump jvpp version to 16.09-SNAPSHOTMaros Marsalek5-5/+5
Change-Id: Id7f9b0e8e8d5b044000e8f68f02df84ac7cfa916 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
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 Marsalek7-98/+136
+ 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>