On 4/4/25 12:25 PM, Brendan Doyle via discuss wrote:
> Hi,
> 
> I'm trying to add the ACL-Sampling-using-per-flow-IPFIX patch series to 
> the latest LTS.
> Obviously it does not apply directly so I'm making adjustments, but one 
> of the conflicts I
> get is the ovn-nb.ovsschema:
> 
>   {
>       "name": "OVN_Northbound",
>       "version": "7.4.0",
> -    "cksum": "1908497390 35615",
> +    "cksum": "1498303893 36355",
>       "tables": {
>           "NB_Global": {
>               "columns": {
> 
> This won't work for the latest LTS, so my question is how is the cksum 
> above calculated.

$ cat build-aux/calculate-schema-cksum
#!/bin/sh

schema=$1
sed '/"cksum": *"[0-9][0-9]* [0-9][0-9]*",/d' $schema | cksum
---

But also, if you try to build your change, checksum will be checked during
the build and the error message will tell you the correct value.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to