summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/impl
AgeCommit message (Collapse)AuthorFilesLines
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-07-20Bump hc2vpp version to 1.18.10-SNAPSHOTMarek Gradzki1-3/+3
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump Hc2vpp version to 1.18.07-SNAPSHOTMarek Gradzki1-3/+3
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09HC2VPP-283: cleanup honeycomb dependency versionsMarek Gradzki1-2/+0
Introduces honeycomb.version property in hc2vpp-parent and adds various honeycomb artifacts to impl-parent to reduce work when bumping honeycomb version. Change-Id: I2f31f255aa5234c6890073b93b11f93e5cd444f7 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>
2018-01-10Bump hc2vpp version to 1.18.04-SNAPSHOTMarek Gradzki1-3/+3
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 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-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki1-3/+3
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 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-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki1-3/+3
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d 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-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki1-3/+3
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@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-24Add hc2vpp common parentsMarek Gradzki1-0/+1
- provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki <mgradzki@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 Srnicek77-0/+8064
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>