# received flow 447 default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.002Z","caller":"core/openolt.go:255","msg":"Update_flows_incrementally","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3","flows":"to_add: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > > > to_remove:<> ","flowMetadata":"meters: bands: bands: > "} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.004Z","caller":"core/openolt_flowmgr.go:2265","msg":"adding-flow","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flow":"id:1278639243091701447 priority:10000 cookie:57139420823766654 match: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > ","flowmetadata":"meters: bands: bands: > "} # received flow 129 default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.034Z","caller":"core/openolt.go:255","msg":"Update_flows_incrementally","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flows":"to_add: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > > > to_remove:<> ","flowMetadata":"meters: bands: bands: > ","device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3"} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.034Z","caller":"core/openolt_flowmgr.go:2265","msg":"adding-flow","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flow":"id:6560721397546547129 priority:10000 cookie:57139423339406738 match: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > ","flowmetadata":"meters: bands: bands: > "} # flow 447 added to device successfully default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.053Z","caller":"core/openolt_flowmgr.go:1575","msg":"flow-added-to-device-successfully ","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","intf-id":15,"flow":{"access_intf_id":15,"onu_id":4,"flow_id":1278639243091701447,"flow_type":"upstream","alloc_id":1026,"gemport_id":1026,"classifier":{"o_vid":1383,"o_pbits":255,"eth_type":2048,"ip_proto":17,"src_port":68,"dst_port":67,"pkt_tag_type":"single_tag"},"action":{"cmd":{"trap_to_host":true}},"priority":10000,"cookie":57139420823766654,"port_no":61504,"tech_profile_id":64,"gemport_to_aes":{"1026":true}},"device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3"} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.078Z","caller":"core/openolt_flowmgr.go:1201","msg":"dhcp-ul-flow-added-to-device-successfully","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","onu-id":4,"device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3","flow-id":1278639243091701447,"intf-id":15} # flow 129 added to device successfully default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.092Z","caller":"core/openolt_flowmgr.go:1575","msg":"flow-added-to-device-successfully ","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flow":{"access_intf_id":15,"onu_id":5,"flow_id":6560721397546547129,"flow_type":"upstream","alloc_id":1028,"gemport_id":1028,"classifier":{"o_vid":1384,"o_pbits":255,"eth_type":2048,"ip_proto":17,"src_port":68,"dst_port":67,"pkt_tag_type":"single_tag"},"action":{"cmd":{"trap_to_host":true}},"priority":10000,"cookie":57139423339406738,"port_no":61520,"tech_profile_id":64,"gemport_to_aes":{"1028":true}},"device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3","intf-id":15} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:13:38.103Z","caller":"core/openolt_flowmgr.go:1201","msg":"dhcp-ul-flow-added-to-device-successfully","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","intf-id":15,"onu-id":5,"device-id":"6897a03c-6b7b-4f62-81d1-09898ac3c4f3","flow-id":6560721397546547129} # received flow 129 default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.460Z","caller":"core/openolt.go:255","msg":"Update_flows_incrementally","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","device-id":"d103e40b-aaec-4561-9396-930db945715c","flows":"to_add: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > > > to_remove:<> ","flowMetadata":"meters: bands: bands: > "} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.461Z","caller":"core/openolt_flowmgr.go:2265","msg":"adding-flow","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flowmetadata":"meters: bands: bands: > ","flow":"id:6560721397546547129 priority:10000 cookie:57139423009699733 match: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > "} # received flow 447 default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.461Z","caller":"core/openolt.go:255","msg":"Update_flows_incrementally","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","device-id":"d103e40b-aaec-4561-9396-930db945715c","flows":"to_add: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > > > to_remove:<> ","flowMetadata":"meters: bands: bands: > "} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.461Z","caller":"core/openolt_flowmgr.go:2265","msg":"adding-flow","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flow":"id:1278639243091701447 priority:10000 cookie:57139422944324805 match: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > oxm_fields: > > instructions: > > > instructions: > instructions: > ","flowmetadata":"meters: bands: bands: > "} # flow 129 added to device successfully default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.516Z","caller":"core/openolt_flowmgr.go:1575","msg":"flow-added-to-device-successfully ","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","flow":{"access_intf_id":15,"onu_id":5,"flow_id":6560721397546547129,"flow_type":"upstream","alloc_id":1056,"gemport_id":1032,"classifier":{"o_vid":1384,"o_pbits":255,"eth_type":2048,"ip_proto":17,"src_port":68,"dst_port":67,"pkt_tag_type":"single_tag"},"action":{"cmd":{"trap_to_host":true}},"priority":10000,"cookie":57139423009699733,"port_no":61520,"tech_profile_id":64,"gemport_to_aes":{"1032":true}},"device-id":"d103e40b-aaec-4561-9396-930db945715c","intf-id":15} # flow 447 fails default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"error","ts":"2021-03-15T18:14:50.517Z","caller":"core/openolt_flowmgr.go:1568","msg":"failed-to-add-flow-to-device","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","device-flow":"access_intf_id:15 onu_id:4 flow_id:1278639243091701447 flow_type:\"upstream\" alloc_id:1057 gemport_id:1032 classifier: action: > priority:10000 cookie:57139422944324805 port_no:61504 tech_profile_id:64 gemport_to_aes: ","device-id":"d103e40b-aaec-4561-9396-930db945715c","intf-id":15,"err":"rpc error: code = Unknown desc = gem-1032-already-in-use-on-uni-61520-onu-5","stacktrace":"github.com/opencord/voltha-lib-go/v4/pkg/log.clogger.Errorw\n\t/go/src/github.com/opencord/voltha-openolt-adapter/vendor/github.com/opencord/voltha-lib-go/v4/pkg/log/log.go:611\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).addFlowToDevice\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:1568\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).addDHCPTrapFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:1198\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).checkAndAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2905\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).processAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:413\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).AddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2348\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).perOnuFlowHandlerRoutine\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2243"} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"error","ts":"2021-03-15T18:14:50.517Z","caller":"olterrors/olterrors.go:137","msg":"unable-to-perform-flow-operation","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","operation":"add","dhcp-flow":{"access_intf_id":15,"onu_id":4,"flow_id":1278639243091701447,"flow_type":"upstream","alloc_id":1057,"gemport_id":1032,"classifier":{"o_vid":1383,"o_pbits":255,"eth_type":2048,"ip_proto":17,"src_port":68,"dst_port":67,"pkt_tag_type":"single_tag"},"action":{"cmd":{"trap_to_host":true}},"priority":10000,"cookie":57139422944324805,"port_no":61504,"tech_profile_id":64,"gemport_to_aes":{"1032":true}},"id":"0x11bea39df85aeec7","wrapped":"rpc error: code = Unknown desc = gem-1032-already-in-use-on-uni-61520-onu-5","stacktrace":"github.com/opencord/voltha-lib-go/v4/pkg/log.clogger.Errorw\n\t/go/src/github.com/opencord/voltha-openolt-adapter/vendor/github.com/opencord/voltha-lib-go/v4/pkg/log/log.go:611\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors.(*ErrAdapter).LogAt\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors/olterrors.go:137\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors.(*ErrAdapter).Log\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors/olterrors.go:117\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors.(*ErrPersistence).Log\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/olterrors/olterrors.go:221\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).addDHCPTrapFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:1199\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).checkAndAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2905\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).processAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:413\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).AddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2348\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).perOnuFlowHandlerRoutine\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2243"} default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"warn","ts":"2021-03-15T18:14:50.517Z","caller":"core/openolt_flowmgr.go:2906","msg":"unable-to-perform-flow-operation: [{\"dhcp-flow\":{\"access_intf_id\":15,\"onu_id\":4,\"flow_id\":1278639243091701447,\"flow_type\":\"upstream\",\"alloc_id\":1057,\"gemport_id\":1032,\"classifier\":{\"o_vid\":1383,\"o_pbits\":255,\"eth_type\":2048,\"ip_proto\":17,\"src_port\":68,\"dst_port\":67,\"pkt_tag_type\":\"single_tag\"},\"action\":{\"cmd\":{\"trap_to_host\":true}},\"priority\":10000,\"cookie\":57139422944324805,\"port_no\":61504,\"tech_profile_id\":64,\"gemport_to_aes\":{\"1032\":true}},\"id\":\"0x11bea39df85aeec7\",\"operation\":\"add\"}]: rpc error: code = Unknown desc = gem-1032-already-in-use-on-uni-61520-onu-5","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","stacktrace":"github.com/opencord/voltha-lib-go/v4/pkg/log.clogger.Warn\n\t/go/src/github.com/opencord/voltha-openolt-adapter/vendor/github.com/opencord/voltha-lib-go/v4/pkg/log/log.go:571\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).checkAndAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2906\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).processAddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:413\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).AddFlow\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2348\ngithub.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).perOnuFlowHandlerRoutine\n\t/go/src/github.com/opencord/voltha-openolt-adapter/internal/pkg/core/openolt_flowmgr.go:2243"} # flow 129 added to device successfully default/voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97[adapter-open-olt]: {"level":"info","ts":"2021-03-15T18:14:50.534Z","caller":"core/openolt_flowmgr.go:1201","msg":"dhcp-ul-flow-added-to-device-successfully","instanceId":"voltha1-voltha-adapter-openolt-64bfb48bd5-lgj97","device-id":"d103e40b-aaec-4561-9396-930db945715c","flow-id":6560721397546547129,"intf-id":15,"onu-id":5}