On 1/31/22 22:09, James Troup wrote:
Adrian Moreno <[email protected]> writes:
diff --git a/python/ovs/flows/flow.py b/python/ovs/flows/flow.py
new file mode 100644
index 000000000..2456d5f87
--- /dev/null
+++ b/python/ovs/flows/flow.py
@@ -0,0 +1,125 @@
[...]
+class Flow(object):
+ """The Flow class is a base class for other types of concrete flows
+ (such as OFproto Flows or DPIF Flows).
+
+ A flow is basically comprised of a number of sections.
+ For each section named {section_name}, the flow object will have the
+ following attributes:
+ - {section_name} will return the sections data in a formatted way.
+ - {section_name}_kv will return the sections data as a list of KeyValues.
+
+ Args:
+ sections (list[Section]): List of sections that comprise the flow
+ orig (str): Original flow string.
+ id (Any): Optional; identifier that clients can use to uniqely identify
uniquely
Thanks for catching all the typos and sorry. I'll fix them all in the next
version.
--
Adrián Moreno
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev