summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/java/io
AgeCommit message (Collapse)AuthorFilesLines
2016-06-13Enable checkstyleMaros Marsalek7-26/+42
Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove reduntant list of interfaces for BDMarek Gradzki1-26/+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 Marsalek1-0/+149
Implement VPP interface notification translator as part of v3po2vpp plugin Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-09HONEYCOMB-62: Add Ip readersMaros Marsalek9-56/+275
+ 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 Sirovatka26-715/+687
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 Gradzki3-7/+10
Change-Id: Ic75221fe61a0bb35753dd6f3b4deec1b8c020974 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove unused sub-interface identityMarek Gradzki1-5/+0
Change-Id: I886286d9a31c6f5e400ef8d26c8f89d57ff1f3d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Intializers for the new vlan modelMarek Gradzki3-66/+91
Change-Id: I513f0b190e9d9e669663a9a216e7c72b1ebeb10d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki16-576/+1145
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-06Move byteToBoolean to TranslateUtilsMarek Gradzki1-10/+2
Change-Id: I7a8142bc2df7d566bc3edde7ceb42eb6b8815852 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Vlan alternative modelMarek Gradzki5-15/+15
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 Ni2-0/+7
Change-Id: I95f76cbb6f8d79a8a4fd38acaf35b59062e34e5b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-02HONEYCOMB-61: Detect VPP disconnect using keepalivesMaros Marsalek1-6/+10
Change-Id: Ic664dbf452504d0fff97e8c766d735d9c5d95c72 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-02HONEYCOMB-71: Add VxLAN-GPE featureHongjun Ni3-0/+351
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-30Fix vlan type handling for sub interfaces and vlan-tag-rewrite operationMarek Gradzki3-3/+3
Change-Id: I932fb63932d9c53acc6317fa77cc0683faf47081 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-30Refactoring ietf-interfaces and ietf-interfaces-stateMarek Gradzki6-17/+18
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 Marsalek18-164/+55
Change-Id: Id6218d5136e0e4c0f1848da20bba784b71feee13 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24Replace interface mapping context for reused vxlan tunnelMaros Marsalek1-0/+13
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 Marsalek1-1/+1
Change-Id: I2dec6bbd8db656663029ad0f59da1b583c890565 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-63: bump ODL dependencies to BE-SR2Marek Gradzki4-20/+0
+ 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 Marsalek7-46/+241
Change-Id: Ic7c82f4abfb3bd1bb5065fdfc9c080ed3ba6c94c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Move VPP initializers to v3po2vppMaros Marsalek2-0/+152
Change-Id: I65a317bc84ab422bcb956a91dea24d6a17f8e0a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add BA broker for context data treeMaros Marsalek21-125/+136
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-19HONEYCOMB-48: vlan tag rewrite supportMarek Gradzki2-0/+231
Change-Id: Id20aa699db1fd48b253b3abb1b4341e779a9b98f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19HONEYCOMB-48: sub-interface CRUD supportMarek Gradzki3-0/+273
Change-Id: Id6ca6776ca988aef060ecc33c508b7b699c53d10 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19Bridge domain interconnection read customizerMarek Gradzki1-0/+119
Change-Id: If74cf4ad2a05b3311478afc64cb54748f0d813dc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-18Fix interface dump cachingMarek Gradzki3-32/+42
Change-Id: I18d29bebf754c34bbc05e5c9cfb78d8aba87c205 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-17Check expected interface type in sub-Interface nodesMaros Marsalek10-68/+83
+ 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 Marsalek1-1/+4
Change-Id: I8a3499233c2d200b0bb0c1e2534ea1dfdbb5f12c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-13HONEYCOMG-37 Enable ipv6 addresses for vxlan-tunnelsMaros Marsalek5-87/+122
+ 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 Marsalek1-2/+3
Change-Id: Iebb52d59e2e342151e616548722366985d7ee9a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMB-37: Add Vxlan operational read supportMaros Marsalek1-0/+143
Change-Id: If2050ed67da2f17b13dc4de0cae6eabddb3b389b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMB-36: vhost user interfaces CRUD supportMaros Marsalek6-1/+319
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 Marsalek8-102/+505
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-09HONEYCOMB-37: vxlan CRUD supportMarek Gradzki1-14/+42
Change-Id: I4dad2a5766bd94ebdfdf6c302aa5054be5bc86ee Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-09Fix L2Customizer log messagesMarek Gradzki1-4/+3
Change-Id: Ia03bfaa071c07496233fccfff034e78837105611 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-09Comment out equality check in AbstractCompositeWriter.updateCurrentMarek Gradzki1-0/+7
There is a bug in ODL when checking auguments for equality: https://git.opendaylight.org/gerrit/#/c/37719 Until the bug is fixed, updateCurrentAttributes will be invoked even if there was no data change. It is customizer responsibility to perform equality check if invoking update without actual data change can cause side-effects in VPP. Change-Id: Id72ec55ea7179330a4ebb1df49c29195908c5461 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-06Fix physical address parsingMarek Gradzki1-7/+17
Change-Id: Ib5fedab56d9bef556fc13f28a266004d2e5d73a6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-05HONEYCOMB-10: Porting v3po2vpp to the new Java APIMarek Gradzki15-367/+552
Change-Id: Ic7166b0f578442165595aa44a587ebbc5db0e75c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-29Fix compilation problems caused by vxlan_add_del_tunnel definition change in ↵Marek Gradzki2-6/+32
vpe.api Change-Id: I6599598cb9755f263a603df484710e210867e068 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-15HONEYCOMB-38: Fix vpp interface customizersMaros Marsalek7-267/+124
The order of execution was not correct + CompositeWriter ignored some changes Change-Id: I53fd9fda4b7a0379e0fa8451fa894865f67ebace Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-13HONEYCOMB-8: Fix netconf monitoring operational data provisioningMaros Marsalek1-0/+7
Local storage for netconf monitoring was not wired with netconf northbound for vpp. Change-Id: I864614ffcbf7acf16eccc65ab58b9821b2682f93 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-34: Configurable serializer dependencyMarek Gradzki1-0/+31
Change-Id: I05cb7836ec4a379f7617710a6c6f64c3541ff0c9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-12HONEYCOMB-9: Migrate Interface listenerMaros Marsalek11-12/+1118
Change-Id: Iffde1ee21b749a8c8efa96c243f7f8bb0811b4c7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Add InterfaceCustomizer for ietf-interfacesMaros Marsalek3-0/+347
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: Remove references to VPP from translation layerMaros Marsalek3-15/+15
Change-Id: I281db366a112edc08203e8cb392a212708d4552a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Split impl module into smaller partsMaros Marsalek3-0/+333
Change-Id: I9232e0adfe611cb97951080839b28a7b62ba5484 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>