summaryrefslogtreecommitdiffstats
path: root/v3po
AgeCommit message (Collapse)AuthorFilesLines
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek62-7179/+5
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-96: postman collection updateMarek Gradzki1-1/+135
Change-Id: I87b84426ee2a1b3f239e9d44baf42e802c3ca0e9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek80-8473/+5
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 Gradzki6-0/+481
Change-Id: I437f68d601499ab9ee6aef26e2f67b8e4ac61dfc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-08HC2VPP-95: ND Proxy yang modelMarek Gradzki1-0/+46
Follows VPP change: https://gerrit.fd.io/r/#/c/5524/ Change-Id: Iea3a3c35374751a4982e3c9d9d90a7540e8592d8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-08Fix match-exact-tags translation for subifMarek Gradzki2-5/+7
Change-Id: I98203b4e42a65de972faff4ab6d80154ddd10b52 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-03HC2VPP-78 - subnet validation fixJan Srnicek5-288/+4
Validation removed, more descriptive expcetion handling to be added after VPP-649 Change-Id: I6e0a84b2dc3f3c9d3d943874baa508636a1df808 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-03Remove vrfId cfg from Ipv4NeighbourCustomizerMarek Gradzki2-45/+3
Follows vpp change: https://gerrit.fd.io/r/#/c/5522/ Change-Id: I881ffab2f7a417020334605426e2c9fdd3a4b028 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-24HC2VPP-84: postman collection updateMarek Gradzki1-34/+111
Change-Id: Ia7c4c35c53cb5bc448ce0602e812a32323e92c7b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-24HC2VPP-84: multiple ARP proxy ranges supportMarek Gradzki12-290/+419
Change-Id: If3e2b8b889a62ce8b9e62f854c592c24f319c0d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-22Fix ethernet container removal error messageMarek Gradzki1-1/+1
Change-Id: I9a9cdd39d8016b75fc2966ddb0cf855e94e95d55 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-21HC2VPP-81: add support for ARP proxy enable/disableMarek Gradzki3-8/+52
Change-Id: Ib0cd5ce9175161a3e9bc83076931fb75e6d82a09 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17Add union type builders (HC2VPP-62 workaround)Marek Gradzki5-0/+193
Change-Id: I17e5c7a23e864329130cf23c11888cc28d9c19ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17HC2VPP-75 - vrf extraction fixJan Srnicek4-5/+219
- 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 Srnicek22-378/+1046
- all dumping logic moved under common abstract classes - added tests Change-Id: Ifdee84795bd8cf6f0d29349dd2cfcf9b2bbec1c9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-25Decrease log level to debug for proxy-arp readMarek Gradzki1-1/+1
Change-Id: I63f5615ea3ddeb924f6e6432587439ee585f6975 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-12HONEYCOMB-267 - Reference check for Bridge domain in L2Jan Srnicek2-4/+92
Eliminate attempts to remove bridge domain referenced in L2 Change-Id: Ia8ddafe68f87ef9fac0b091fb40d2142ce456cd4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki3-6/+6
Also updates version of honeycomb dependencies. Vpp API version bump moved to separate commit due to issues with jvpp jars. Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-04HONEYCOMB-182 - Vrf supportJan Srnicek3-13/+19
Change-Id: Ic2328b626b198bffb550f22ca1144853c16b39e4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04HONEYCOMB-102/HONEYCOMB-103 - Ipv6 SupportJan Srnicek47-327/+2322
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 Srnicek2-7/+25
Change-Id: I27e9c3d30960d6d9d845c6148edc0429b66be66d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-22Fix b-vlan-tag-vlan-id translationMarek Gradzki2-8/+8
Change-Id: I32ba794673c3caaf8f07c1d2460a16d3c3a34202 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-20HONEYCOMB-310: translation layer for acl pluginJan Srnicek1-25/+0
Not covered by this patch (moved to subsequent commits): - postman collection - distinguish ingress/egress ACLs while reading assigned acls - proper support for acl tag - unit tests improvements - read for acls (not necessarily assigned) - initializers Change-Id: I5a198ce1a6e20d0b1d95b4d2d83d0464fb86580c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-20HONEYCOMB-324: fix config reconciliation for classify tablesMarek Gradzki1-2/+2
that were defined outside HC. As a workaround for VPP-208, memory_size leaf was made non-mandatory. Change-Id: I456727d9f80c054694bf4f43db3da0b273a29510 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-20Mark vpp nodes defined outside HC as 'unknown'Marek Gradzki2-6/+16
Change-Id: I3c0c313229e11df9e15d5b95d960d6a165aace2d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-16HONEYCOMB-320: move ace-ip-and-eth case nodes into containerMarek Gradzki6-38/+47
Change-Id: I6193d84363d60123571a72021ed8ad6e1d334a9b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-317 - L2 entry model updatesv1.17.01-RC0Jan Srnicek4-34/+139
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-14Update postman collection after HONEYCOMB-314 and HONEYCOMB-177Marek Gradzki1-2/+2
Change-Id: Ic93da59b70c453c3dc4569421d9247dd08ebd815 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-314: expose tag for tap and vlan interfacesMarek Gradzki7-7/+56
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-14HONEYCOMB-177: expose device instance attributeMarek Gradzki2-6/+24
Change-Id: I7a1a5a2d338c39bb7a5f869660fcce06ef59515d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14Span model update reflecting api changesJan Srnicek9-138/+432
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: update postman collection with RPC examplesMarek Gradzki1-0/+73
Change-Id: Ieb804d73994daad9708be616507e174db343a230 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-13HONEYCOMB-151: add support for cli_inbandMarek Gradzki5-0/+139
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 Ni5-75/+147
Change-Id: I97571254c7da7d010d542515864d8f39ea1499d1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-09HONEYCOMB-129: add support for setting mtuMarek Gradzki4-37/+204
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 Gradzki4-10/+222
Change-Id: I52cdeb6a35e04e8626992a027ad230b9b15fce96 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-09Update classify delete table handling after VPP-206Marek Gradzki3-0/+3
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-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki3-6/+6
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07Enable SubInterface factories in V3poModuleMarek Gradzki5-43/+48
Change-Id: I819f54671139081e5eb600bff3ac98cb7949eaa0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07HONEYCOMB-304: provide separate guice module for ietf-acl implementationMarek Gradzki16-106/+331
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-12-07Update sw_interface_span_enable_disable translation after vpp api changeMarek Gradzki1-1/+1
Api hcange was introduced by https://gerrit.fd.io/r/#/c/4049/ Change-Id: If1f3a0ce301369f3e6cb5bde8553feb9dd2ed881 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-29Rename vpp-acl model to vpp-classfier-aclMarek Gradzki40-126/+126
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-27Removed references to old v3po pluginJan Srnicek1-1/+1
These(maven part) were causing distribution export old v3po.json file, which would cause runtime error due to non-existing keepalive-delay property Change-Id: Icde6a8187ff7b1424df18521c2de8279fa7ad33b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-25HONEYCOMB-277 - Keep-alive timeout exportedJan Srnicek5-7/+33
Timeout exported to configurable property Change-Id: Ic095469be4d95f6726fdcabe17a6d2e4e51ba856 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HON-3 - Address logic refactoringJan Srnicek3-35/+33
Ipv4/6 address logic refactored to not use InetAddresses.fromLittleEndianArray to prevent unnecessary reverting of address arrays after fix introduced by VPP-132. Removed unused ***reverted variants of conversion logic. Tested with these plugins - Lisp - V3po - Nat Change-Id: I6a0728f8b3dffd04e2edd822ec61542216cca824 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-289 - Type-aware read customizersJan Srnicek4-71/+75
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 Gradzki5-34/+20
Change-Id: I2e4a555ca8373b8bed9bf00d4a61fd59b1810bbc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-23Merge "HONEYCOMB-278 Expose basic CRUD for port mirroring"Marek Gradzki6-18/+372
2016-11-23HONEYCOMB-278 Expose basic CRUD for port mirroringMaros Marsalek6-18/+372
Change-Id: I9ed339fd8c7daf1433709dcd862e64b690c5d3da Signed-off-by: Maros Marsalek <mmarsale@cisco.com>