summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/impl/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08HC2VPP-406: fix build errors after ODL bump to neonMichal Cmarada12-26/+26
This fixes build issues after ODL bump in Honeycomb (HONEYCOMB-443). Change-Id: I3bf203dd60d12057595b15ce1ad59302dc14e2a0 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-26HC2VPP-387: Validation support for Vpp-Classifier moduleTibor Král22-55/+815
Change-Id: Ia97fa466bc3e39c04bd8f7625c4b6306523e3fce Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-03-04HC2VPP-404: Update package names for JVPPMichal Cmarada33-76/+76
Fix package names for JVPP so it no longer contains vpp since it has been migrated outside of VPP project. Change-Id: I1e7a3fe4713beaaf7a1a0b41e7180d03bb7b74e5 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-14HC2VPP-300: Unify namespaces of V3PO modelsMichal Cmarada6-18/+18
Change-Id: Ibf74c4c1ea159bfcbe1de8bef4dac9bde3cb9ffd Signed-off-by: Tibor Král <tibor.kral@pantheon.tech> Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-14HC2VPP-300: Unify namespaces of VPP_CLASSIFIER modelsTibor Král37-239/+238
Change-Id: Ia77639cec348980956c215ecccd980eec09a6aa0 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada2-2/+2
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-08-14HC2VPP-375: align classify session's match with skip-n-vectors zerosMarek Gradzki2-30/+24
If bigger values of skip-n-vectors are used (e.g. policer usecase), also key is very long, making the API hard to use. To make it easier, match value will be now aligned with zeros if needed. Read part does not need to be updated, beacause classify_session_dump returns match without skip-n-vectors part. Change-Id: Iab54480e7a3851690aed30c8f5b8b0e6769c054f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-13Check length of classify session's match vector (HC2VPP-373)Marek Gradzki4-6/+70
Change-Id: I45028349f81a756d03d46e02af40041a7cae1fec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-13Explicitly fail when classify table for given session is missingMarek Gradzki2-6/+18
Change-Id: Ied737af2eb650f54fbaa5413eb0a586793d34e43 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-10Set mask/match length when using VPP's classfierMarek Gradzki4-0/+4
Adapts hc2vpp to recent VPP api change: https://gerrit.fd.io/r/#/c/13007/ Setting length field is currently mandatory for variable length arrays (VPP-199). Change-Id: I7ce66076d8a29d1ff5dfe5592e651d133e4072aa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Remove unused method parametersMarek Gradzki3-4/+4
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-19HC2VPP-289: fix 802dot1 identifiersMarek Gradzki6-18/+18
Indentity names should not start with number, so prefix them with '_'. Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-30Remove dead stores and unused fieldsMarek Gradzki1-1/+0
Change-Id: I3ad4e1f1aae9ed52911acbed11d931349ad94da9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-16HC2VPP-246: adapt Policer Writer to policer_add_del byte order changesMarek Gradzki1-6/+4
Endianness of policer_add_del parameters was changed to network order: https://gerrit.fd.io/r/#/c/8548 JVPP flips ordering, so there is no need for additional convertion anymore. Change-Id: Ib7c5fafe240e0607819800c4cf4d37f4c4a8e1c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki1-4/+2
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-12HONEYCOMB-298 - Elimination of config path leafrefs in operational treeJan Srnicek6-18/+18
Change-Id: I9fc035df3c90be8a5f17e4a31ff0005d88abbf28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-09Update module tests after introducing YangDAGMarek Gradzki1-1/+2
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-10HC2VPP-114 - Ipv4/6 routing support for sub interfacesJan Srnicek6-18/+18
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-05-03HC2VPP-14: move ietf acl models from vpp-classfier to acl moduleMarek Gradzki14-66/+66
Change-Id: Idcb2697c5ef06d9d4a62a5de4bc5a56e0212f6a8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-02HC2VPP-14: remove deprecated, classfier based ietf-acl model implementationMarek Gradzki43-4335/+0
Change-Id: I3e7a91bab09b27b1032d27258be8886256841d5c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-02HC2VPP-130 - vpp-classifier-context namespace changed to unique valueJan Srnicek2-16/+16
Change-Id: I50821d831b83b3e7eb743ae4f974fe5a2f88026b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-27HC2VPP-121 - fixed wrong path for vpp-classifierJan Srnicek15-79/+79
vpp-classifier was using path incompatible with leaf-ref context Change-Id: I9ffff8b7b6c1b1759ce887b88a5f10ab51a4df5d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-21HONEYCOMB-348: update hc2vpp after improving dump cache key factoryMarek Gradzki1-2/+0
Requires https://gerrit.fd.io/r/#/c/5811/ Change-Id: If07f241fecbf5a6d0950c0c2498a5ce66e2bf4a0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-21HC2VPP-117: workaround for VPP-208Marek Gradzki3-3/+9
Change-Id: I75d05fc73236f7a768f54d29247054cc20b722a6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-15Update revision of models that changed since 17.01Jan Srnicek43-214/+214
Change-Id: I7a42cee65b2a1957e9f1d039b0372fad1bb5550c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-55: policer&policer assignment CRUD supportMarek Gradzki13-19/+919
Change-Id: I627d2a56ab2a282744ea0172b4a0c72240b0032f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-14HC2VPP-39: yang model for policer configuration in VPPMarek Gradzki3-7/+16
Change-Id: I6c84c5fb85e2a4073a7a885db390b08a6582639d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek75-0/+7924
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>