Tibit: Clean up logging.
Change-Id: I7a6736dfcbaf5a3db9332faf9f997919b3d43a12
diff --git a/voltha/adapters/tibit_olt/tibit_olt.py b/voltha/adapters/tibit_olt/tibit_olt.py
index 53cef2a..b81460d 100644
--- a/voltha/adapters/tibit_olt/tibit_olt.py
+++ b/voltha/adapters/tibit_olt/tibit_olt.py
@@ -352,8 +352,6 @@
inner_tag_and_rest = response.payload.payload
- inner_tag_and_rest.show() # TODO remove this soon
-
if isinstance(inner_tag_and_rest, Dot1Q):
cvid = inner_tag_and_rest.vlan
@@ -667,7 +665,6 @@
if (field_match_vlan_upstream_with_link == True):
up_req = up_req_link
- up_req.show()
else:
up_req = up_req_pon
diff --git a/voltha/adapters/tibit_onu/tibit_onu.py b/voltha/adapters/tibit_onu/tibit_onu.py
index 1a50406..fe2b76b 100644
--- a/voltha/adapters/tibit_onu/tibit_onu.py
+++ b/voltha/adapters/tibit_onu/tibit_onu.py
@@ -32,7 +32,7 @@
from voltha.core.flow_decomposer import *
from voltha.core.logical_device_agent import mac_str_to_tuple
-
+from common.frameio.frameio import BpfProgramFilter, hexify
from voltha.adapters.interface import IAdapterInterface
from voltha.protos.adapter_pb2 import Adapter, AdapterConfig
from voltha.protos.device_pb2 import Port
@@ -184,6 +184,7 @@
device_port_no=uni_port.port_no
))
+
# simulate a proxied message sending and receving a reply
reply = yield self._message_exchange(device)
@@ -375,8 +376,8 @@
raise NotImplementedError()
def receive_proxied_message(self, proxy_address, msg):
- log.debug('receive-proxied-message',
- proxy_address=proxy_address, msg=msg)
+ log.info('receive-proxied-message',
+ proxy_address=proxy_address, msg=msg.show(dump=True))
self.incoming_messages.put(msg)
@inlineCallbacks