summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/test
AgeCommit message (Collapse)AuthorFilesLines
2016-09-14Fix ClassifySession read NPE when NodeContext is missingMarek Gradzki1-0/+8
Change-Id: Ieca5ad125df5f26f82351871a0238e65be3e300c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13HONEYCOMB-118: extend classifer model to support node names.Marek Gradzki7-106/+217
* configuration write is supported (updates local cache with relative node mapping) * operational read is supported only for nodes with existing relative node mapping * ACL support (using vpp-classfier or ietf-acl model) is not affected by the patch (tables/sessions for access controll refer to neighbour nodes as packet-handling-action, not vpp-node-name) Change-Id: Ice0c846803cc7e8960c3571fd2a13ed46ba53702 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-12HONEYCOMB-142 - Subnet validationJan Srnicek2-25/+196
Added validation of address to not be from same subnet Refactored to detect conflicts with mixed types of subnets and report them better Change-Id: Ib815a79c9f61e88b5097884e346320028bbfe914 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-12HONEYCOMB-204 exclude deleted interfaces from operational dataMaros Marsalek4-4/+161
Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-05HONEYCOMB-153: fix acls for sub-interfacesMarek Gradzki5-27/+181
Change-Id: Ia75c2ebd62fb371fd60f860fe12761926f443b98 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-26HONEYCOMB-139: ietf-acl translation layer. IP6 L3 ACL supportMarek Gradzki3-2/+239
Other changes: - documentation update - eth + ip4 writer rafactoring + tests Change-Id: I1ac6a4e99dd4f12c870cbd749af6b98018294dd4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-26HONEYCOMB-139: ietf-acl translation layer. IP4 L3 ACL supportMarek Gradzki1-0/+106
Change-Id: I5e5af0d7609aa594790b35a387ec8701f1f6b6df Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-19HONEYCOMB-117: add support for jvpp pluginsMarek Gradzki34-147/+146
Change-Id: I9f1dd5562b13a37392ce92b170a466c48d61bcc5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-16Proxy ARP reader/writerWojciech Dec1-0/+50
Change-Id: Iabb947e89cbb906e78e4d87bc99fb5e8d09e495c Signed-off-by: Wojciech Dec <wdec@cisco.com>
2016-08-15HONEYCOMB-125: write support for ARP termination tableMarek Gradzki1-0/+197
Change-Id: I231edbf27f83401d4f6d20a2b5acaf4b7a36b984 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-03HONEYCOMB-83: Add Gre Feature within HCHongjun Ni2-0/+386
PatchSet 7: refactor code PatchSet 6: Refactor based on new code organization PatchSet 5: consolidate review comments PatchSet 4: refactor to support reader registry PatchSet 3: rebuild PatchSet 2: update outer-fib-id in v3po.yang. PatchSet 1: Add GRE feature and support IPv6. Change-Id: I1fc064b618f161eaef06395380949277e2f9f060 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-07-29HONEYCOMB-130: Rename infra packages(remove vpp/v3po)Maros Marsalek39-338/+355
Change-Id: Ic5b90e397e3743623d01b206bc60bc5c7df6b981 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-21HONEYCOMB-122 Update reader registry to share similar APIs as writerMaros Marsalek20-177/+82
+ 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-19HONEYCOMB-49: fix outstanding issues found in reviewMarek Gradzki3-18/+18
Change-Id: Ic3314c8ddf75bda89f5170a503cf589f2ae743ab Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentationMarek Gradzki5-7/+356
Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: VPP classifier model. Translation layer implementationMarek Gradzki4-0/+738
Change-Id: I7d91f29f621fbb7ede9b3dd5d49a9b5c3ba58565 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-13HONEYCOMB-94 Reimplement writer registry with better ordering optionsMaros Marsalek2-334/+0
Now the registry is flat and allows for full control of writer execution order Change-Id: I864e1d676588ffe59b596145e0829e81b1a1ed2f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-11HONEYCOMB-113: fix u16<->short conversion in SubInterfaceCustomizerMarek Gradzki1-44/+74
Change-Id: If958a33edc42b76dd4105ec7a355a12e8afc0835 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-03HONEYCOMB-97 - Added support for ip_neighbour_add_delJan Srnicek1-0/+162
Change-Id: I20d957bbfce3e1c50d7501844382a3ef301c3e95 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-07-01HONEYCOMB-104: add Ipv4 support to sub-interfacesMarek Gradzki2-5/+5
* 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-27HONEYCOMB-100: introduce default 5s timeoutMarek Gradzki4-21/+34
in TranslateUtils.getReplyFor* calls Change-Id: Iac2bb428ea6adcc8d3da2238db1dec708df550f0 Signed-off-by: Marek Gradzki <mgradzki@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 Gradzki3-144/+345
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-17HONEYCOMB-96 - Fixed bad structure of writers for Ipv4/AddressJan Srnicek1-0/+153
Change-Id: Ie085c448aad6557ce3326922268753823adffb22 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2016-06-15HONEYCOMB-91: fix restoring BD from persisted config.Marek Gradzki2-53/+98
Covers case when bd_id was present in the bdContext Change-Id: I817fc684f175958f772a87ee708fa7f49ceec6f7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: initializer for L2 FIB tablesMarek Gradzki8-70/+85
Change-Id: I7f133ea56fc3bb11e0f4b584839dabc0754a8d50 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: write customizer for L2FibEntryMarek Gradzki1-0/+224
Change-Id: I80353d9468924df755b7dfe2fca33515becdb8b5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: Create read customizer for L2FibEntryMarek Gradzki5-37/+178
Change-Id: I0ad5d98ba6c9442c79b21bf04be07b81d04a4595 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: BD and L2 FIB YANG model refactoringMarek Gradzki2-9/+12
Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-14HONEYCOMB-67: Minor corrections in tests, stylesTibor Sirovatka7-165/+159
Removed unnecessary calls from tests Sonar corrections Change-Id: Ib182d66fd47a4feb9686989d086482ffe188470f Signed-off-by: Tibor Sirovatka <tsirovat@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-13Enable checkstyleMaros Marsalek2-20/+10
Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10HONEYCOMB-33: Add notification service to HcMaros Marsalek1-0/+130
Implement VPP interface notification translator as part of v3po2vpp plugin Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-09HONEYCOMB-67 Introduce exception handling into JVPPTibor Sirovatka16-188/+276
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 Gradzki19-704/+873
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 Gradzki5-658/+706
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 Gradzki3-6/+6
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 Ni3-0/+533
Change-Id: I95f76cbb6f8d79a8a4fd38acaf35b59062e34e5b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-02HONEYCOMB-61: Detect VPP disconnect using keepalivesMaros Marsalek2-13/+8
Change-Id: Ic664dbf452504d0fff97e8c766d735d9c5d95c72 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-30Fix vlan type handling for sub interfaces and vlan-tag-rewrite operationMarek Gradzki3-2/+4
Change-Id: I932fb63932d9c53acc6317fa77cc0683faf47081 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-30Refactoring ietf-interfaces and ietf-interfaces-stateMarek Gradzki4-7/+7
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 Marsalek2-64/+3
Change-Id: Id6218d5136e0e4c0f1848da20bba784b71feee13 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24Replace interface mapping context for reused vxlan tunnelMaros Marsalek1-0/+26
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-63: bump ODL dependencies to BE-SR2Marek Gradzki3-25/+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 Marsalek3-11/+44
Change-Id: Ic7c82f4abfb3bd1bb5065fdfc9c080ed3ba6c94c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-24HONEYCOMB-61: Move VPP initializers to v3po2vppMaros Marsalek2-0/+222
Change-Id: I65a317bc84ab422bcb956a91dea24d6a17f8e0a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Add BA broker for context data treeMaros Marsalek17-99/+361
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>