summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src
AgeCommit message (Collapse)AuthorFilesLines
2017-06-21HC2VPP-172: fix RewriteCustomizer.mergeMarek Gradzki2-2/+2
Change-Id: I63fbae0b34627d9af056cefa0ff60dd3c2b52bb1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-12HONEYCOMB-298 - Elimination of config path leafrefs in operational treeJan Srnicek83-532/+592
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-09Update module tests after introducing YangDAGMarek Gradzki2-3/+5
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-01HC2VPP-164 - Interface/SubInterface filtrationJan Srnicek7-15/+46
Filtration cannot be done by subId ,because 0 is allowed value Change-Id: Ic89e30cb74943b6a4c9c995f032bd22567c5ad1e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-19Adapt to vpp API changesMarek Gradzki5-82/+80
Changes were introduced by https://gerrit.fd.io/r/#/c/6662/ Change-Id: If5d4866339623c6789ac1674c5c190a4a28f51c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-19HC2VPP-156: fix unnumbered sub-interface handlingMarek Gradzki4-20/+78
Change-Id: I3c6f4dcd972834543b4fd1193540b5052c787d78 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-16HC2VPP-148: unnumbered interfaces translation layerMarek Gradzki8-0/+357
Change-Id: Ieafef7f3486134f66c54c56245fc9b685b69d4a9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-15HC2VPP-151 - ip table reconfiguration while address present preventionJan Srnicek4-1/+183
- fixed ordering - addresses must be written after vrf's - added check to prevent such scenario in multi-request scenario Change-Id: Idc233a8ac36fabef306339bfeec57bdc19b0f082 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-15HC2VPP-144 - Sub-interface spanJan Srnicek11-64/+212
Provides option to define port mirroring from interface to subinterface Change-Id: I8c04e8eb6b980c830e77e1ef2b75ddff3d59364c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: jsrnicek <jsrnicek@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-10HC2VPP-114 - Ipv4/6 routing support for sub interfacesJan Srnicek27-271/+767
Provides option to set ipv4/6 vrf id for sub interface same way as for interface Change-Id: I3e14620d61e364e6741a1f1642570dd9ee317255 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-15Update revision of models that changed since 17.01Jan Srnicek74-471/+471
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 Srnicek22-567/+113
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 Srnicek57-5955/+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 Srnicek71-7500/+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-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: multiple ARP proxy ranges supportMarek Gradzki10-266/+372
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-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-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 Srnicek46-327/+2067
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-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 Gradzki4-26/+32
Change-Id: I6193d84363d60123571a72021ed8ad6e1d334a9b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-317 - L2 entry model updatesv1.17.01-RC0Jan Srnicek2-27/+134
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 Gradzki6-7/+43
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 Gradzki1-6/+14
Change-Id: I7a1a5a2d338c39bb7a5f869660fcce06ef59515d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14Span model update reflecting api changesJan Srnicek7-134/+391
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 Gradzki3-0/+121
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 Ni4-75/+121
Change-Id: I97571254c7da7d010d542515864d8f39ea1499d1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-09HONEYCOMB-129: add support for setting mtuMarek Gradzki3-14/+131
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 Gradzki3-1/+206
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-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 Gradzki35-96/+96
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 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>