summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfacesstate/InterfaceUtils.java
AgeCommit message (Collapse)AuthorFilesLines
2016-06-09HONEYCOMB-62: Add Ip readersMaros Marsalek1-7/+16
+ 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-09HONEYCOMB-67 Introduce exception handling into JVPPTibor Sirovatka1-29/+44
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-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 Gradzki1-13/+12
Change-Id: I513f0b190e9d9e669663a9a216e7c72b1ebeb10d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki1-11/+21
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-06Add unit test for vxlan-gpe interfaceHongjun Ni1-0/+5
Change-Id: I95f76cbb6f8d79a8a4fd38acaf35b59062e34e5b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-05-26Move V3poUtils for vpp-translate-utilsMaros Marsalek1-4/+4
Change-Id: Id6218d5136e0e4c0f1848da20bba784b71feee13 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Extend VPP initializers to initialize everything readers provideMaros Marsalek1-0/+5
Change-Id: Ic7c82f4abfb3bd1bb5065fdfc9c080ed3ba6c94c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add BA broker for context data treeMaros Marsalek1-3/+3
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: sub-interface CRUD supportMarek Gradzki1-0/+5
Change-Id: Id6ca6776ca988aef060ecc33c508b7b699c53d10 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-18Fix interface dump cachingMarek Gradzki1-25/+38
Change-Id: I18d29bebf754c34bbc05e5c9cfb78d8aba87c205 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-13HONEYCOMG-37 Enable ipv6 addresses for vxlan-tunnelsMaros Marsalek1-0/+10
+ Add logging to other interface type customizers Change-Id: I177c0af26991c5f421b513f5fd9964ca1c23027e 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-36: vhost user interfaces CRUD supportMaros Marsalek1-0/+5
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 Marsalek1-14/+53
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-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 Gradzki1-35/+38
Change-Id: Ic7166b0f578442165595aa44a587ebbc5db0e75c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Add InterfaceCustomizer for ietf-interfacesMaros Marsalek1-0/+149
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>