-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: bal, Deprecated - VOLTHA Adapter, Deprecated - vOLTHA Core
-
Labels:
-
Story Points:1
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=
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":
,
"us_scheduler":
,
"ds_scheduler":
,
"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":
}
],
"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":
}
]
}
3.2 network-cfg file
{ "devices": {},
"apps": {
"org.opencord.dhcpl2relay": {
"dhcpl2relay":
},
"org.opencord.kafka": {
"kafka":
},
"org.opencord.aaa": {
"AAA":
},
"org.opencord.sadis": {
"sadis": {
"integration": {
"cache":
},
"entries": [
,
{ "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": [
]
},
{
"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": [
]
},
{
"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": [
]
},
{
"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": [
]
},
{
"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": [
]
},
{
"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": [
]
}
]
},
"bandwidthprofile": {
"integration": {
"cache":
},
"entries": [
,
{ "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
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 )