summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/test
AgeCommit message (Collapse)AuthorFilesLines
2017-06-08HC2VPP-164 - Interface/SubInterface filtrationstable/1704Jan Srnicek3-1/+6
Filtration cannot be done by subId ,because 0 is allowed value Change-Id: Ic89e30cb74943b6a4c9c995f032bd22567c5ad1e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> (cherry picked from commit c9052815f89fff314d8f6b67fcd62b707d827611)
2017-03-15Update revision of models that changed since 17.01Jan Srnicek33-197/+197
Change-Id: I7a42cee65b2a1957e9f1d039b0372fad1bb5550c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-7 - Split vpp state/Cli RPC to separate moduleJan Srnicek10-294/+63
Introduces VppManageModule containing - Vpp state attributes - CLI RPC support - Keep-alive Change-Id: I8907e57132cc9e57840aa3b9607fa131a77f767d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek18-2385/+0
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek23-3010/+0
Split vpp-classifiers and vpp-classifiers acls' to separate modules. Contains TODO's for future change of dependencies Change-Id: I94f92ce2ec8960c67bd406f085f2fe928079ee23 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-08HC2VPP-96: ND proxy translation layerMarek Gradzki2-0/+224
Change-Id: I437f68d601499ab9ee6aef26e2f67b8e4ac61dfc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-08Fix match-exact-tags translation for subifMarek Gradzki1-0/+1
Change-Id: I98203b4e42a65de972faff4ab6d80154ddd10b52 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-03HC2VPP-78 - subnet validation fixJan Srnicek2-131/+1
Validation removed, more descriptive expcetion handling to be added after VPP-649 Change-Id: I6e0a84b2dc3f3c9d3d943874baa508636a1df808 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-24HC2VPP-84: multiple ARP proxy ranges supportMarek Gradzki2-39/+117
Change-Id: If3e2b8b889a62ce8b9e62f854c592c24f319c0d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-21HC2VPP-81: add support for ARP proxy enable/disableMarek Gradzki1-4/+20
Change-Id: Ib0cd5ce9175161a3e9bc83076931fb75e6d82a09 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17HC2VPP-75 - vrf extraction fixJan Srnicek2-1/+188
- fixed vrf extraction for Ipv6Neighbours + add test - added vrf extraction for Ipv4Neighbours + add test Change-Id: Ia7d1b6057c19e2f72139b3b0464f4a50a24b1c7b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-08HC2VPP-11/HC2VPP-12 - refactored ipv4/6 logic/testsJan Srnicek10-44/+700
- all dumping logic moved under common abstract classes - added tests Change-Id: Ifdee84795bd8cf6f0d29349dd2cfcf9b2bbec1c9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-12HONEYCOMB-267 - Reference check for Bridge domain in L2Jan Srnicek1-0/+62
Eliminate attempts to remove bridge domain referenced in L2 Change-Id: Ia8ddafe68f87ef9fac0b091fb40d2142ce456cd4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-102/HONEYCOMB-103 - Ipv6 SupportJan Srnicek7-7/+12
Contains - Ipv6 read/write Support for Interfaces - Ipv6 read/write Support for Subi-Interfaces - Postman collection with relevant requests Todo - Test coverage - HC2VPP-11 - Refactoring - HC2VPP-12 - Could be related to - HONEYCOMB-328 Tested - read/write for both interfaces and sub-interfaces - passes ok - init with following scenarios - vpp clean/hc has data - passes ok - vpp has data/hc clean - passed with error for sub-interface described in HONEYCOMB-328. The actual ipv4/ipv6 part passes ok Change-Id: Ib18acb9b18d6374dc5847e30db4049696d512e72 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-187 - Ipv6 support for arp terminationJan Srnicek1-0/+21
Change-Id: I27e9c3d30960d6d9d845c6148edc0429b66be66d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-22Fix b-vlan-tag-vlan-id translationMarek Gradzki1-6/+6
Change-Id: I32ba794673c3caaf8f07c1d2460a16d3c3a34202 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-16HONEYCOMB-320: move ace-ip-and-eth case nodes into containerMarek Gradzki1-3/+4
Change-Id: I6193d84363d60123571a72021ed8ad6e1d334a9b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-317 - L2 entry model updatesv1.17.01-RC0Jan Srnicek1-15/+108
Require either filter to be specified or outgoing-interface reference Change-Id: Iec72348b04520cb3eb6717f970355bd0f52330f7 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-314: expose tag for tap and vlan interfacesMarek Gradzki2-0/+2
It is possible that interface creation for will succeed in VPP, but Honeycomb crashes or request timeouts. In such situations, interface name stored in Honeycomb's cache will not be updated. After restarting Honeycomb, interface name will be generated. In such cases Honeycomb user can use tag to identify interface. Change-Id: I673c52e49dc788c761af471399d2ac839f62be04 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14Span model update reflecting api changesJan Srnicek2-0/+244
Allows use of Rx/Tx/Both Span states Allows setting state per src-interface Change-Id: I07346bf3976be34aa85336bdeedff94f83a3173c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-13HONEYCOMB-151: add support for cli_inbandMarek Gradzki1-0/+52
Depends on https://gerrit.fd.io/r/#/c/4256/ Change-Id: I5b7a218751ee680de076e5c4ae0d6cbe31b3ec06 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-13Augment vxlan to support decap-next: YANG modelHongjun Ni2-26/+35
Change-Id: I97571254c7da7d010d542515864d8f39ea1499d1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-09HONEYCOMB-129: add support for setting mtuMarek Gradzki1-0/+90
Also updates postman collection with examples of set mtu request. Setting mtu is not supported for local0 interface: affected requests from the collection were updated. Change-Id: I709192e328abad7786d3c87426b00106dac42b73 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-09HONEYCOMB-127: add routing operational readMarek Gradzki1-0/+93
Change-Id: I52cdeb6a35e04e8626992a027ad230b9b15fce96 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-09Update classify delete table handling after VPP-206Marek Gradzki2-0/+2
In case of low-level classfier model, single table is removed. No change in case of ietf-acl model: whole chain of tables is removed. Change-Id: I94ca5d3ecaf04efc35b67fb5f878cbffc0c100cc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07HONEYCOMB-304: provide separate guice module for ietf-acl implementationMarek Gradzki1-0/+71
Current IETF-ACL implementation is using vpp-classfier. In the future, acl implementation based on acl plugin is going to be supported. Current implementation is going to be deprecated, then removed. In order to switch between acl implementations, ietf-acl configuration needs separate guice module. After fixing nested augmentation support (HONEYCOMB-302), current implementation can be moved to separate hc2vpp module (HONEYCOMB-308). Change-Id: I1668c274c03f9a750654cb0f96ec328af09f89f5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-29Rename vpp-acl model to vpp-classfier-aclMarek Gradzki14-36/+36
Current acl implementation uses vpp's classfier. The vpp-acl model will be used to expose new acl api. Change-Id: Ia1e0f7acf00e1284e92a56f6f1c7f43538d394ad Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-25HONEYCOMB-277 - Keep-alive timeout exportedJan Srnicek2-2/+15
Timeout exported to configurable property Change-Id: Ic095469be4d95f6726fdcabe17a6d2e4e51ba856 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-289 - Type-aware read customizersJan Srnicek2-31/+32
Refactoring due to https://gerrit.fd.io/r/#/c/3898/ Change-Id: I3ddcc06aca0a730db9fd727a3d2b10cd085f870e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-275 - compilation error with HC runner and setUpJan Srnicek30-372/+361
Refactored setUp() method in WriteCustomizerTest to not trigger http://errorprone.info/bugpattern/JUnit4SetUpNotRun while used in combination with @RunWith(HoneycombTestRunner.class) Change-Id: Iba56b39399ddd7678dda97e094e935a3f02dd22c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-23Update IP4 address read order after VPP change (3816)Marek Gradzki2-30/+16
Change-Id: I2e4a555ca8373b8bed9bf00d4a61fd59b1810bbc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-19Post split cleanupMaros Marsalek68-209/+208
- change groupIds - change packages - update poms Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek2-3/+3
So that they can influence whether empty data is to be considered as present + Move registries implementations from util to impl + Introduce DelegatingReader trait + Extend GenericReader where possible to reduce duplication Change-Id: I5a416acd0c4eab1fbc30fcbe585719991dbe9215 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-03HONEYCOMB-285 - Cache scope for sub-interface addressesJan Srnicek1-9/+118
Same as for interface addresses, these addresses must have caching scope of their parent sub-interface Change-Id: I31a8d123e02a99e592181c198f69a34b0be910e5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-03HONEYCOMB-259 - CacheKeyFactoryJan Srnicek1-4/+11
Provides logic for creating scoped keys Change-Id: I126bcb9255b4f8a3f2585f50e6e718948581e7f0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-03HONEYCOMB-281 Loopback interface managementMaros Marsalek1-0/+105
Change-Id: I7e4d817bb7dfe9ccd779e59347c956233c012e4a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-01HONEYCOMB-272: bump mockito version to 2.2.9Marek Gradzki2-45/+7
ArgumentMatchers.any() does not match null anymore, so some of the tests has been updated. Change-Id: I5de0fdfe87fc8e5c8ce24bfae8daeaba032195ff Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-31Add support for ipv6 vrfMarek Gradzki1-9/+1
Change-Id: I3372d4156a19157ca431cb29c23de33161f6cfc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-31HONEYCOMB-70: add control ping to vpp-stateMarek Gradzki2-2/+11
Change-Id: I7f02841d899465fd2156db0bb79fcc490cd4929f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-28HONEYCOMB-274 Fix checkstyle license checksMaros Marsalek5-0/+50
Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28Honeycomb-73 Extensible initializers for v3poMaros Marsalek2-222/+0
Change-Id: Ic148b22f9bc48ff29bf67894e2cecafa29772db7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-21Remove unused builders for union types generated by yangtoolsMarek Gradzki1-44/+0
Generated builders are not used in the runtime. Starting from ODL boron, strings that represent union types, are processed according to YANG RFC, that is in the order they are specified in the "type" statement, unitl a match is found. That makes builders for union types obsolete. Change-Id: If9289a0dde34f345a672103d2461a3acd00e2afd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-21HONEYCOMB-264: cache classify table deleteMarek Gradzki6-26/+489
Change-Id: I8b43f9a6220b90aaed5d85d60c0d2095518d6226 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-20HONEYCOMB-268: Fix order of union types in vpp-indexMarek Gradzki5-32/+32
ODL does not uses builders for unions anymore. Unused builders will be removed in subsequent commit. Change-Id: Ib4e77fed19f591f6f0dc836d66067a2827d2e202 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-19HONEYCOMB-234: L2 egress ACL supportMarek Gradzki8-11/+12
Change-Id: I2912f1265af7487ceed1be01ac489ba765311a97 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-17HONEYCOMB-218: add support for TCP/UDP port rangesMarek Gradzki6-24/+167
* can be used in combination with any other L2/L3 rule. * assumes no ip options / extension headers * provides naive implementation (vpp classfier api limitation): every (src, dst) is mapped to single classify session. Change-Id: Id6aa249b3e19f0aa47b9e15b5477d56bc70bee0e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-13Caching for Ipv4 addresses fixed also for readCurrentAttributesJan Srnicek1-10/+89
Caching scope fixed also in specific request logic Added test Change-Id: Ib70a3069cf7620132ae5921ddb21b56fa2f4108b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-13HONEYCOMB-233: add support for mixing L2/L3 rulesMarek Gradzki6-85/+149
In case of L2 interfaces, acls are translated into a chain of classify tables and assigned as L2 table. In case of L3 interfaces, acls are translated into ip4 and ip6 chains (eth only rules go to both chains, rest - depending on ip-version). Limitations: - it is not possible to define L3 rule without specifying ip-version (common header fields for IP4/IP6 have different offsets), - eth rules on L3 interfaces are applied only to IP traffic (vpp classfier limitation). Change-Id: I7ca2648cabad8c6e936cf71a51e06596a42891e8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-11HONEYCOMB-258: fix protocol field translation in ACEsMarek Gradzki2-14/+32
It was translated to version field, but should be to protocol/next header field. Change-Id: I0cf23fdd43246bcc559f61d97701c9153e9b3607 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-10Move interface acls to separate yang moduleMarek Gradzki10-26/+26
Change-Id: Ia11eacababd62f719e23af5b64b19c5227d56a45 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>