Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4727

Remove restriction that flows have to be replicated for 8 pbits when replication is enabled

    XMLWordPrintable

    Details

      Description

      Remove restriction that flows have to be replicated for all the 8 pbits when replication is enabled.
      As per DT FTTB Subscriber Traffic Tech Profile we see that one of the pbits (pbit7) does not map to any gem port and hence the replication count of the ONOS flow on the hardware device is just 7 (for pbits 0 to 6) and not 8 (i.e., pbits 0 to 7). So we need to remove such a restriction in openolt agent code.

      Below is the TechProfile that I was describing before. Note that pbit7 does not map to any gem port

      {
          "name": "DT_A4_FTTB_Profile",
          "profile_type": "GPON",
          "version": 1,
          "num_gem_ports": 4,
          "instance_control": {
              "onu": "multi-instance",
              "uni": "single-instance",
              "max_gem_payload_size": "auto"
          },
          "us_scheduler": {
              "additional_bw": "AdditionalBW_BestEffort",
              "direction": "UPSTREAM",
              "priority": 0,
              "weight": 0,
              "q_sched_policy": "StrictPriority"
          },
          "ds_scheduler": {
              "additional_bw": "AdditionalBW_BestEffort",
              "direction": "DOWNSTREAM",
              "priority": 0,
              "weight": 0,
              "q_sched_policy": "StrictPriority"
          },
          "upstream_gem_port_attribute_list": [
              {
                  "pbit_map": "0b01100000",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 0,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "max_threshold": 0,
                      "min_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00010000",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 1,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00001100",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 2,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00000011",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 3,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              }
          ],
          "downstream_gem_port_attribute_list": [
              {
                  "pbit_map": "0b01100000",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 0,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "max_threshold": 0,
                      "min_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00010000",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 1,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00001100",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 2,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              },
              {
                  "pbit_map": "0b00000011",
                  "aes_encryption": "True",
                  "scheduling_policy": "StrictPriority",
                  "priority_q": 3,
                  "weight": 100,
                  "discard_policy": "TailDrop",
                  "max_q_size": "auto",
                  "discard_config": {
                      "min_threshold": 0,
                      "max_threshold": 0,
                      "max_probability": 0
                  }
              }
          ]
      }
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            ggowdra Girish Gowdra
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes