Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tfs/controller
1 result
Show changes
Commits on Source (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
......