code flow. Thus, it's this function's responsibility to check what
actually changed.
- :param context - rpc context
- :param data - port data
+ :param context: rpc context
+ :param data: port data
"""
@abc.abstractmethod
def delete_port(self, context, data):
"""Delete port from agent extension.
- :param context - rpc context
- :param data - port data
+ :param context: rpc context
+ :param data: port data
"""
def condition_match(row, condition):
"""Return whether a condition matches a row
- :param row An OVSDB Row
- :param condition A 3-tuple containing (column, operation, match)
+ :param row: An OVSDB Row
+ :param condition: A 3-tuple containing (column, operation, match)
"""
col, op, match = condition
def _expected_plugin_rpc_call(self, call, expected_devices, is_up=True):
"""Helper to check expected rpc call are received
+
:param call: The call to check
- :param expected_devices The device for which call is expected
- :param is_up True if expected_devices are devices that are set up,
+ :param expected_devices: The device for which call is expected
+ :param is_up: True if expected_devices are devices that are set up,
False if expected_devices are devices that are set down
"""
if is_up: