summaryrefslogtreecommitdiffstats
path: root/v3po
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15HONEYCOMB-91: BD and L2 FIB YANG model refactoringMarek Gradzki6-64/+94
Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-92: Process modifications recursivelyMaros Marsalek9-227/+737
+ Fix update subtree, child writer lookup + Change initializers operation to merge Change-Id: I6ece7eb3d17d5a0b4a413189ddd383567d7e2270 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-14HONEYCOMB-67: Minor corrections in tests, stylesTibor Sirovatka14-213/+214
Removed unnecessary calls from tests Sonar corrections Change-Id: Ib182d66fd47a4feb9686989d086482ffe188470f Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
2016-06-14HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interfaceHongjun Ni1-4/+12
Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-14Fix Vxlan-gpe interface state from VPPHongjun Ni3-4/+4
PatchSet 2: consolidate review comments. Change-Id: I50e0dc1c8acff0f22dad80ed5aa547e95728081a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-13Enable checkstyleMaros Marsalek11-47/+68
Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove reduntant list of interfaces for BDMarek Gradzki2-42/+0
Interface has BD reference already Change-Id: I21d71cc79ec22378e11bfb5fe1bc479b26c21639 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10HONEYCOMB-33: Add notification service to HcMaros Marsalek46-6/+2187
Implement VPP interface notification translator as part of v3po2vpp plugin Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove artificial limit on the maximum number of bridge-domainsMarek Gradzki1-2/+0
VPP code does not limit number of bridge domains to 1024. Change-Id: I280174d0e741b599b39f05b8db2bf0a423aeffcb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10Make filterSubtree recursiveMarek Gradzki1-9/+21
Change-Id: I7b2b888fd7debb0aec3292a07fc35c0e6493d117 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-09HONEYCOMB-62: Add Ip readersMaros Marsalek14-337/+730
+ Fix 1 interface reads. Interface reader worked only if GET interfaces-state was executed + Fix readSubtree for augmentations. Comoposite readers did not check child readers for augmentations, only direct children. Change-Id: I2bc433e3e5785453062ab262b9edabc72c333bf0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-09Fix int to long conversion in InterfaceUtilsMarek Gradzki1-15/+14
Change-Id: I569aca1bd536f1e6f9451d2af8207916cf370b70 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
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>