Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-246

Policer is configured with wrong data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 18.01
    • 18.01
    • None
    • None
    • VPP: {

      "version": "18.01-rc0~60-g34acce2~b2998",
        "build_date": "Thu Oct 12 03:47:35 UTC 2017"}

      Honeycomb: 1.18.01-3470

      When I configure policer using the provided Rest request (see Postman), values in operational data and VPP dump do not match the configuration.

      VAT output:

      [
      {
      "name": "policy1",
      "cir": 3254845440,
      "eir": 0,
      "cb": 5819495143492812800,
      "eb": 0,
      "rate_type": "kbps",
      "round_type": "closest",
      "type": "1r2c",
      "single_rate": 1,
      "color_aware": 0,
      "scale": 0,
      "cir_tokens_per_period": 19113759,
      "eir_tokens_per_period": 1,
      "current_limit": 4294967295,
      "current_bucket": 4294967295,
      "extended_limit": 0,
      "extended_bucket": 0,
      "last_update_time": 0,
      "conform_action": "transmit",
      "exceed_action": "drop",
      "violate_action": "drop"
      }
      ]

      Using VAT for the same configuration works as expected.

      Note this does not occur on 17.10 or older

            mgradzki Marek Gradzki
            selias Samuel Eliáš
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: