Commits (2)
......@@ -455,9 +455,8 @@ class P4Driver(_Driver):
#Not Supported for P4 devices
pass
elif KEY_CTL_PKT_METADATA == resource_key:
msg = f"{resource_key.capitalize()} is not a " \
f"retrievable resource"
raise Exception(msg)
#To-Do: Check what we should do with controller_packet_metadata
LOGGER.warning(f"{resource_key.capitalize()} is not a not a retreivable source")
else:
msg = f"GetConfig failed due to invalid " \
f"resource key: {resource_key}"
......
......@@ -5213,7 +5213,7 @@ class _MeterEntryBase(_P4EntityBase):
"""
def __init__(self, p4_client, *args, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(p4_client, *args, **kwargs)
self._meter_type = self._info.spec.unit
self.index = -1
self.cir = -1
......