summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-idlc.1
Commit message (Collapse)AuthorAgeFilesLines
* Fix type-setting in ovsdb-idlc man page.Jakub Sitnicki2018-02-281-12/+12
| | | | | | | | | - Remove extra escape sequences for switching to bold font. - Add missing escape sequences for switching back to normal font. Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2018-February/344591.html Signed-off-by: Jakub Sitnicki <jkbs@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovsdb-idlc: Implement synthetic columns.Ben Pfaff2018-02-161-1/+30
| | | | | | | | A synthetic column is one that is not present in the actual database but instead calculated by code in the client based on columns in the row. This can be useful to avoid repeatedly calculating the same function of a row. Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovsdb-idlc: Add infrastructure for IDL schema extensions.Ben Pfaff2018-02-161-0/+12
| | | | | | | | | | | An IDL schema is an OVSDB schema with some extra stuff in it. So far, all of the extras have been at the top level. This commit makes it possible for IDL schemas to have extra information at the table and column levels as long as it is in an "extensions" member. No extensions are actually supported yet. Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovsdb-idlc: Add "cDecls" and "hDecls" IDL schema extensions.Ben Pfaff2018-02-161-0/+6
| | | | | | | | | | An IDL schema is an OVSDB schema with some extra stuff in it: an idlPrefix and an idlHeader at the top level to indicate what ovsdb-idlc needs to generate the interface definitions. This commit adds support for two more optional IDL schema extensions that allow extra code to be written to the .c and .h file that ovsdb-idlc generates. Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovsdb-idlc: Replace C/C++ keyword in column nameYi-Hung Wei2017-12-131-2/+6
| | | | | | | | | With this patch, ovs-idlc appends an underscore to a column name if it is a C or C++ keyword. Therefore, C and C++ compiler will not get confused. Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovsdb-idlc: Remove obsolete documentation and usage.Ben Pfaff2016-10-191-5/+0
| | | | | Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* ovsdb: Remove trailing whitespaceEthan Jackson2010-11-291-1/+1
| | | | | This commit removes trailing whitespace from the files in the ovsdb directory.
* doc: Change "-" to "\-" in appropriate places.Ben Pfaff2010-06-291-2/+2
| | | | | The newer manpages tend to get this right more often than the old ones, but there were lots of places that needed to be corrected.
* ovsdb: Add support for referential integrity in the database itself.Ben Pfaff2010-02-081-11/+0
|
* Cleanly separate IDL annotations from OVSDB schema information.Ben Pfaff2010-01-261-26/+25
| | | | | | | | | | | | | | | | | Until now, the OVSDB IDL annotations have been glommed together with the schema information in a single file, and then we've used ovsdb-idlc to extract the schema from that file. This commit reverses the process: the schema and the annotations are stored separately and then glommed together as necessary at build time. This new arrangement has a few advantages: - We can now easily have multiple different sets of IDL annotations for a single OVSDB schema. For example, some users may not need access to columns that other users do. - Bugs in ovsdb-idlc cannot screw up the underlying schema (as shown by a recent commit).
* ovsdb: Implement C bindings for IDL.Ben Pfaff2009-12-021-0/+11
|
* ovsdb: Add ovsdb IDL compiler to build system.Ben Pfaff2009-11-231-0/+74
This first stab at any interface definition language and compiler for OVSDB will give other developers a chance to look at it and try to integrate it. The IDL is not actually implemented yet; I am working on that.