[ovs-dev] [PATCH 2/2] ovsschema: Avoid using 'protected' as variable name

Yi-Hung Wei yihung.wei at gmail.com
Mon Dec 4 22:41:37 UTC 2017


> We can't change the name of the "protected" column in the database
> schema, because that breaks backward compatibility.  Another approach
> would be to make ovsdb-idlc use a different name for columns whose names
> are C or C++ keywords; for example, it could append an underscore.

Hi Ben,

Thanks for your advise.  I update the patch using ovsdb-idlc to rename
a column name if it is a C++ keyword. Here is the new patch:
https://patchwork.ozlabs.org/patch/844498/

Thanks,

-Yi-Hung


More information about the dev mailing list