summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/test/java/io/fd/honeycomb/v3po/translate/v3po/interfacesstate
AgeCommit message (Collapse)AuthorFilesLines
2016-07-21HONEYCOMB-122 Update reader registry to share similar APIs as writerMaros Marsalek8-26/+26
+ Extract common registry builder base code (Reader registry is not flat, so there is not full control over ordering as with writers but it is sufficient) + Split CompositeReader into CompositeReader, SubtreeReader and GenericReader + No need to build composite structure in ReaderFactories (registry does that internally) + Keep only ReaderCustomizer + ListReaderCustomizer, no root reader (same for writers) Change-Id: Ic4e5bc96ad47a6cbcada4efcc2209db5c16d2a6c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-14HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentationMarek Gradzki1-0/+131
Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-01HONEYCOMB-104: add Ipv4 support to sub-interfacesMarek Gradzki1-2/+2
* updates vpp-vlan.yang with Ipv4 and Ipv6 support based on ietf-ip rev. 2014-06-16 * adds Ipv4 support for sub-interfaces Ipv6 support for interfaces and sub-interfaces will be addded in the future (HONEYCOMB-102) Change-Id: I0bf10fe3ff1c543685f651d8b6fb06bbeee3db92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-27Fix IPv4 read cachingMaros Marsalek1-13/+64
Single cache key was used for each interface during a single read returing same IPs for all the interfaces Change-Id: I8cc05591b257d44a253cc23c9d79d9096459dcdd Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-22HONEYCOMB-95: remove sub-interfaces from the list of interfacesMarek Gradzki1-13/+45
Change-Id: I3a22bbfd49a5e3c1519526a98e8841807553710b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-21HONEYCOMB-64: Add ipv4 netmask supportMarek Gradzki2-67/+111
Supported contiguous netmask only (strictly, only leading 1s are allowed) Update postman collection Change-Id: I989bbd013227bc3e1eda0861241543db0cdbf656 Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-20HONEYCOMB-98: Fixed initializing of Ipv4 containerJan Srnicek1-0/+202
Change-Id: I19161f9a25534160b2473b2a03c4a3c9fc4a2c1c Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-06-15HONEYCOMB-91: initializer for L2 FIB tablesMarek Gradzki1-4/+4
Change-Id: I7f133ea56fc3bb11e0f4b584839dabc0754a8d50 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: BD and L2 FIB YANG model refactoringMarek Gradzki1-1/+2
Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-14Fix Vxlan-gpe interface state from VPPHongjun Ni2-3/+3
PatchSet 2: consolidate review comments. Change-Id: I50e0dc1c8acff0f22dad80ed5aa547e95728081a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-09HONEYCOMB-67 Introduce exception handling into JVPPTibor Sirovatka4-4/+8
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-06Updated tests for new vlan modelMarek Gradzki7-252/+285
Change-Id: I2982d52a7d8e319b9b6ed1be5d312296ef843599 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove unused sub-interface identityMarek Gradzki1-2/+1
Change-Id: I886286d9a31c6f5e400ef8d26c8f89d57ff1f3d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki2-223/+225
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-06Vlan alternative modelMarek Gradzki2-4/+4
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/+286
Change-Id: I95f76cbb6f8d79a8a4fd38acaf35b59062e34e5b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-05-30Fix vlan type handling for sub interfaces and vlan-tag-rewrite operationMarek Gradzki2-1/+3
Change-Id: I932fb63932d9c53acc6317fa77cc0683faf47081 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-30Refactoring ietf-interfaces and ietf-interfaces-stateMarek Gradzki3-5/+5
augumentations provided by v3po.yang: * using groupings to reduce dupicated definitions Change-Id: I09c0d0764ba47973f6b8e42d3fed705730e7d652 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-24HONEYCOMB-61: Extend VPP initializers to initialize everything readers provideMaros Marsalek2-11/+35
Change-Id: Ic7c82f4abfb3bd1bb5065fdfc9c080ed3ba6c94c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add BA broker for context data treeMaros Marsalek5-28/+87
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 Marsalek1-1/+0
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-19HONEYCOMB-48: vlan tag rewrite supportMarek Gradzki1-0/+97
Change-Id: Id20aa699db1fd48b253b3abb1b4341e779a9b98f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19HONEYCOMB-48: sub-interface CRUD supportMarek Gradzki2-0/+104
Change-Id: Id6ca6776ca988aef060ecc33c508b7b699c53d10 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-19Bridge domain interconnection read customizerMarek Gradzki1-0/+135
Change-Id: If74cf4ad2a05b3311478afc64cb54748f0d813dc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-18Fix interface dump cachingMarek Gradzki1-0/+12
Change-Id: I18d29bebf754c34bbc05e5c9cfb78d8aba87c205 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-13HONEYCOMB-37: Add unit test for Vxlan tunnel state customizerMaros Marsalek1-0/+140
Change-Id: I8a3499233c2d200b0bb0c1e2534ea1dfdbb5f12c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMG-47: Tap interface CRUD supportMaros Marsalek1-10/+15
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-0/+40
Change-Id: Ib5fedab56d9bef556fc13f28a266004d2e5d73a6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-05HONEYCOMB-10: Porting v3po2vpp to the new Java APIMarek Gradzki1-81/+119
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/+127
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>