The column will provide information to help improve efficiency of ovn-controller lflow parsing.
Signed-off-by: Han Zhou <hz...@ovn.org> --- ovn-sb.ovsschema | 7 +++++-- ovn-sb.xml | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ovn-sb.ovsschema b/ovn-sb.ovsschema index bbf60781d..33fcc1a3d 100644 --- a/ovn-sb.ovsschema +++ b/ovn-sb.ovsschema @@ -1,7 +1,7 @@ { "name": "OVN_Southbound", - "version": "20.18.0", - "cksum": "1816525029 26536", + "version": "20.19.0", + "cksum": "4105410918 26688", "tables": { "SB_Global": { "columns": { @@ -109,6 +109,9 @@ "maxInteger": 65535}}}, "match": {"type": "string"}, "actions": {"type": "string"}, + "tags": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}, diff --git a/ovn-sb.xml b/ovn-sb.xml index 69de4551b..a39778ee0 100644 --- a/ovn-sb.xml +++ b/ovn-sb.xml @@ -2441,6 +2441,29 @@ tcp.flags = RST; </dl> </column> + <column name="tags"> + Key-value pairs that provide additional information to help + ovn-controller processing the logical flow. Below are the tags used + by ovn-controller. + + <dl> + <dt>in_out_port</dt> + <dd> + In the logical flow's "match" column, if a logical port P is + compared with "inport" and the logical flow is on a logical switch + ingress pipeline, or if P is compared with "outport" and the + logical flow is on a logical switch egress pipeline, and the + expression is combined with other expressions (if any) using the + operator &&, then the port P should be added as the value in + this tag. If there are multiple logical ports meeting this criteria, + one of them can be added. ovn-controller uses this information to + skip parsing flows that are not needed on the chassis. Failing to add + the tag will affect efficiency, while adding wrong value will affect + correctness. + </dd> + </dl> + </column> + <column name="external_ids" key="stage-name"> Human-readable name for this flow's stage in the pipeline. </column> -- 2.30.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev