Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions p4runtime_sh/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ def get_count(cls, instance, counter_name, counter_type, name):
class _MeterConfig:
@staticmethod
def attrs():
return ["cir", "cburst", "pir", "pburst"]
return ["cir", "cburst", "pir", "pburst", "eburst"]

def __init__(self, meter_name, meter_type):
self._meter_name = meter_name
Expand Down Expand Up @@ -1430,7 +1430,7 @@ def __init__(self, table_name=None):
"""
if self._direct_meter is not None:
self.__doc__ += """
To access the meter config, use <self>.meter_config.<cir|cburst|pir|pburst>.
To access the meter config, use <self>.meter_config.<cir|cburst|pir|pburst|eburst>.
To unset it, use <self>.meter_config = None or <self>.clear_meter_config().
"""
if ap is None:
Expand Down Expand Up @@ -2090,6 +2090,7 @@ def __init__(self, meter_name=None):
<self>.cburst
<self>.pir
<self>.pburst
<self>.eburst

To read from the meter, use <self>.read
To write to the meter, use <self>.modify
Expand Down Expand Up @@ -2160,6 +2161,7 @@ def __init__(self, direct_meter_name=None):
<self>.cburst
<self>.pir
<self>.pburst
<self>.eburst

To read from the meter, use <self>.read
To write to the meter, use <self>.modify
Expand Down
Loading