VOL-2311 Removed unused class
Now with TP fully used this is redundant
and not even used
Change-Id: I91fd46803a27eeb6f6e9e41195b49e43e912dfd0
diff --git a/python/adapters/brcm_openomci_onu/onu_tcont.py b/python/adapters/brcm_openomci_onu/onu_tcont.py
index da639d3..7472728 100644
--- a/python/adapters/brcm_openomci_onu/onu_tcont.py
+++ b/python/adapters/brcm_openomci_onu/onu_tcont.py
@@ -37,7 +37,7 @@
Broadcom ONU specific implementation
"""
- def __init__(self, handler, uni_id, alloc_id, q_sched_policy, traffic_descriptor):
+ def __init__(self, handler, uni_id, alloc_id, q_sched_policy):
self.log = structlog.get_logger(device_id=handler.device_id, uni_id=uni_id, alloc_id=alloc_id)
@@ -45,14 +45,13 @@
self.alloc_id = alloc_id
self._q_sched_policy = 0
self.q_sched_policy = q_sched_policy
- self.traffic_descriptor = traffic_descriptor
self._handler = handler
self._entity_id = None
def __str__(self):
- return "OnuTCont - uni_id: {}, entity_id {}, alloc-id: {}, q_sched_policy: {}, traffic_descriptor: {}".format(
- self.uni_id, self._entity_id, self.alloc_id, self.q_sched_policy, self.traffic_descriptor)
+ return "OnuTCont - uni_id: {}, entity_id: {}, alloc-id: {}, q_sched_policy: {}".format(
+ self.uni_id, self._entity_id, self.alloc_id, self.q_sched_policy)
def __repr__(self):
return str(self)
@@ -74,13 +73,12 @@
self._q_sched_policy = 0
@staticmethod
- def create(handler, tcont, td):
+ def create(handler, tcont):
return OnuTCont(handler,
tcont['uni_id'],
tcont['alloc-id'],
- tcont['q_sched_policy'],
- td
+ tcont['q_sched_policy']
)
@inlineCallbacks