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

The reason for the alloc ID being out of range, and other sources of errors.

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:
    • Story Points:
      1

      Description

      Flow add failed by VOLTHA. 

      Step1 Start OLT device and register two xgs ONU

      Start xgsPON
      /a/o object=device sub=connect device_id=0 system_mode=xgs__16_x inni_config={mux=none mode=all_10_g_xfi}

      Enable optical module
      board/trx/enable pon_ni=1

      Register ONU
      /a/s object=onu pon_ni=1 onu_id=1 itu={serial_number=

      {vendor_id=47504f4e vendor_specific=20B00039}

      auto_learning=yes xgpon={ranging_burst_profile=2 data_burst_profile=3 } }

      /a/s object=onu pon_ni=1 onu_id=2 itu={serial_number=

      {vendor_id=47504f4e vendor_specific=20B00043}

      auto_learning=yes xgpon={ranging_burst_profile=2 data_burst_profile=3 } }

      Step2 Create connection Voltha with OLT
      voltctl device create -t openolt -H (ip):9191
      voltctl device enable (id)

      Step3 Config FLOW by ONOS
      3.1xgpon technologyprofile 64 key in etcd file
      {
      "name": "64QueueHybridProfileMapforvoip",
      "profile_type": "XPON",
      "version": 1,
      "num_gem_ports": 1,
      "instance_control":

      { "onu": "multi-instance", "uni": "single-instance", "max_gem_payload_size": "auto" }

      ,
      "us_scheduler":

      { "additional_bw": "AdditionalBW_Auto", "direction": "UPSTREAM", "priority": 5, "weight": 0, "q_sched_policy": "StrictPriority" }

      ,
      "ds_scheduler":

      { "additional_bw": "AdditionalBW_Auto", "direction": "DOWNSTREAM", "priority": 5, "weight": 0, "q_sched_policy": "StrictPriority" }

      ,
      "upstream_gem_port_attribute_list": [
      {
      "pbit_map": "0b00100000",
      "aes_encryption": "True",
      "scheduling_policy": "StrictPriority",
      "priority_q": 5,
      "weight": 0,
      "discard_policy": "TailDrop",
      "max_q_size": "auto",
      "discard_config":

      { "max_threshold": 0, "min_threshold": 0, "max_probability": 0 }

      }
      ],
      "downstream_gem_port_attribute_list": [
      {
      "pbit_map": "0b00100000",
      "aes_encryption": "True",
      "scheduling_policy": "StrictPriority",
      "priority_q": 5,
      "weight": 0,
      "discard_policy": "TailDrop",
      "max_q_size": "auto",
      "discard_config":

      { "min_threshold": 0, "max_threshold": 0, "max_probability": 0 }

      }
      ]
      }
      3.2 network-cfg file
      { "devices": {},
      "apps": {
      "org.opencord.dhcpl2relay": {
      "dhcpl2relay":

      { "useOltUplinkForServerPktInOut": false }

      },
      "org.opencord.kafka": {
      "kafka":

      { "bootstrapServers": "127.0.0.1:9092" }

      },
      "org.opencord.aaa": {
      "AAA":

      { "radiusIp": "127.0.0.1", "radiusServerPort": "1812", "radiusSecret": "SECRET", "nasIp": "127.0.0.1", "radiusConnectionType": "socket" }

      },
      "org.opencord.sadis": {
      "sadis": {
      "integration": {
      "cache":

      { "enabled": true, "maxsize": 50, "ttl": "PT1m" }

      },
      "entries": [

      { "id": "BBSIM_OLT_1", "uplinkPort": 1048576, "hardwareIdentifier": "02:10:18:01:b4:70", "ipAddress": "192.168.3.9", "nasId": "ATLEDGEVOLT1" }

      ,

      { "id": "BBSIM_OLT_10", "uplinkPort": 1048576, "hardwareIdentifier": "0a:0a:0a:0a:0a:0a", "ipAddress": "127.0.0.1", "nasId": "ATLEDGEVOLT1" }

      ,
      {
      "id": "GPON20b00043-1",
      "nasPortId": "PON 1/1/3/1:4.1.1",
      "circuitId": "PON 1/1/3/1:4.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 20, "ponSTag": 1024, "technologyProfileId": 64, "downstreamBandwidthProfile": "Silver_Download", "upstreamBandwidthProfile": "Silver_Upload", "isDhcpRequired": false }

      ]
      },
      {
      "id": "GPON20b00043-2",
      "nasPortId": "PON 1/1/3/1:4.1.1",
      "circuitId": "PON 1/1/3/1:4.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 21, "ponSTag": 1025, "technologyProfileId": 64, "downstreamBandwidthProfile": "Silver_Download", "upstreamBandwidthProfile": "Silver_Upload", "isDhcpRequired": false }

      ]
      },
      {
      "id": "GPON20b00039-1",
      "nasPortId": "PON 1/1/3/1:4.1.1",
      "circuitId": "PON 1/1/3/1:4.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 10, "ponSTag": 1026, "technologyProfileId": 64, "downstreamBandwidthProfile": "Silver_Download", "upstreamBandwidthProfile": "Silver_Upload", "isDhcpRequired": false }

      ]
      },
      {
      "id": "GPON20b00039-2",
      "nasPortId": "PON 1/1/3/1:4.1.1",
      "circuitId": "PON 1/1/3/1:4.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 10, "ponSTag": 1027, "technologyProfileId": 64, "downstreamBandwidthProfile": "Silver_Download", "upstreamBandwidthProfile": "Silver_Upload", "isDhcpRequired": false }

      ]
      },
      {
      "id": "BBSM000a0001-1",
      "nasPortId": "PON 1/1/3/1:10.1.1",
      "circuitId": "PON 1/1/3/1:10.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 100, "ponSTag": 101, "technologyProfileId": 64, "downstreamBandwidthProfile": "Silver_Download", "upstreamBandwidthProfile": "Silver_Upload", "isDhcpRequired": false }

      ]
      },
      {
      "id": "BBSM000a0001-2",
      "nasPortId": "PON 1/1/3/1:11.1.1",
      "circuitId": "PON 1/1/3/1:11.1.1-CID",
      "remoteId": "ATLEDGEVOLT1-RID",
      "uniTagList": [

      { "ponCTag": 200, "ponSTag": 201, "technologyProfileId": 65, "downstreamBandwidthProfile": "Gold_Download", "upstreamBandwidthProfile": "Gold_Upload", "isDhcpRequired": false }

      ]
      }
      ]
      },
      "bandwidthprofile": {
      "integration": {
      "cache":

      { "enabled": true, "maxsize": 40, "ttl": "PT1m" }

      },
      "entries": [

      { "id": "Default", "gir": 0, "cbs": 1000, "cir": 0, "pbs": 2000, "pir": 12500 }

      ,

      { "id": "Bronze_Upload", "gir": 5000, "cbs": 1000, "cir": 10000, "pbs": 2000, "pir": 200000 }

      ,

      { "id": "Bronze_Download", "gir": 5000, "cbs": 1000, "cir": 10000, "pbs": 2000, "pir": 200000 }

      ,

      { "id": "Silver_Upload", "gir": 30000, "cbs": 0, "cir": 0, "pbs": 0, "pir": 0 }

      ,

      { "id": "Silver_Download", "gir": 30000, "cbs": 0, "cir": 0, "pbs": 0, "pir": 0 }

      ,

      { "id": "Gold_Upload", "gir": 0, "cbs": 1000, "cir": 0, "pbs": 1000, "pir": 50000 }

      ,

      { "id": "Gold_Download", "gir": 0, "cbs": 1000, "cir": 0, "pbs": 1000, "pir": 50000 }

      ]
      }
      }
      }
      }

      3.3 view ports
      karaf@root > ports
      id=of:000002101801b470, available=true, local-status=connected 32s ago, role=MASTER, type=SWITCH, mfr=VOLTHA Project, hw=open_pon, sw=open_pon, serial=BBSIM_OLT_1, chassis=2101801b470, driver=voltha, channelId=10.32.0.8:38684, managementAddress=10.32.0.8, protocol=OF_13
      port=4112, state=enabled, type=fiber, speed=1 , adminState=enabled, portMac=08:00:01:00:10:10, portName=GPON20b00043-1
      port=4113, state=disabled, type=fiber, speed=1 , adminState=enabled, portMac=08:00:01:00:10:11, portName=GPON20b00043-2
      port=4128, state=enabled, type=fiber, speed=1 , adminState=enabled, portMac=08:00:01:00:10:20, portName=GPON20b00039-1
      port=4129, state=disabled, type=fiber, speed=1 , adminState=enabled, portMac=08:00:01:00:10:21, portName=GPON20b00039-2
      port=1048576, state=enabled, type=fiber, speed=0 , adminState=enabled, portMac=02:10:18:01:b4:70, portName=nni-1048576
      3.4 Add flows
      karaf@root > volt-add-subscriber-access of:000002101801b470 4128
      karaf@root > flows
      deviceId=of:000002101801b470, flowRuleCount=7
      id=b20000530248f4, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=10000, tableId=0, appId=org.opencord.olt, selector=[IN_PORT:4112, ETH_TYPE:eapol], treatment=DefaultTrafficTreatment

      {immediate=[OUTPUT:CONTROLLER, VLAN_PUSH:vlan, VLAN_ID:4091], deferred=[], transition=None, meter=[METER:1], cleared=false, StatTrigger=null, metadata=METADATA:ffb004100000000/0}

      id=b20000d2ebb078, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=10000, tableId=0, appId=org.opencord.olt, selector=[IN_PORT:1048576, ETH_TYPE:lldp], treatment=DefaultTrafficTreatment

      {immediate=[OUTPUT:CONTROLLER], deferred=[], transition=None, meter=[], cleared=false, StatTrigger=null, metadata=null}

      id=b20000f98e8d01, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=10000, tableId=0, appId=org.opencord.olt, selector=[IN_PORT:4128, ETH_TYPE:eapol], treatment=DefaultTrafficTreatment

      {immediate=[OUTPUT:CONTROLLER, VLAN_PUSH:vlan, VLAN_ID:10], deferred=[], transition=None, meter=[METER:2], cleared=false, StatTrigger=null, metadata=METADATA:a004100000002/0}

      id=b20000025e6ddf, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=1000, tableId=0, appId=org.opencord.olt, selector=[IN_PORT:1048576, METADATA:a, VLAN_VID:1026], treatment=DefaultTrafficTreatment

      {immediate=[VLAN_POP], deferred=[], transition=TABLE:1, meter=[METER:3], cleared=false, StatTrigger=null, metadata=METADATA:a004100001020/0}

      id=b20000de13fecb, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=1000, tableId=0, appId=org.opencord.olt, selector=[IN_PORT:4128, VLAN_VID:0], treatment=DefaultTrafficTreatment

      {immediate=[VLAN_ID:10], deferred=[], transition=TABLE:1, meter=[METER:2], cleared=false, StatTrigger=null, metadata=METADATA:a004100100000/0}

      id=b200000374c4e2, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=1000, tableId=1, appId=org.opencord.olt, selector=[IN_PORT:4128, VLAN_VID:10], treatment=DefaultTrafficTreatment

      {immediate=[VLAN_PUSH:vlan, VLAN_ID:1026, OUTPUT:1048576], deferred=[], transition=None, meter=[METER:2], cleared=false, StatTrigger=null, metadata=METADATA:4100000000/0}

      id=b20000c398857e, state=ADDED, bytes=0, packets=0, duration=0, liveType=UNKNOWN, priority=1000, tableId=1, appId=org.opencord.olt, selector=[IN_PORT:1048576, METADATA:1020, VLAN_VID:10], treatment=DefaultTrafficTreatment

      {immediate=[VLAN_ID:0, OUTPUT:4128], deferred=[], transition=None, meter=[METER:3], cleared=false, StatTrigger=null, metadata=METADATA:4100000000/0}

      Step4 After Config Flows, Openolt Output Error log
      Please refer to the attached documentation for detailed logs. (openol_log_9.14.txt )

       

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            fujun fu jun
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes