mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
These initial bindings pass a few hundred of the corresponding tests for C implementations of various bits of the Open vSwitch library API. The poorest part of them is actually the Python IDL interface in ovs.db.idl, which has not received enough attention yet. It appears to work, but it doesn't yet support writes (transactions) and it is difficult to use. I hope to improve it as it becomes clear what semantics Python applications actually want from an IDL.
14 lines
447 B
Plaintext
14 lines
447 B
Plaintext
AT_BANNER([OVSDB -- columns])
|
|
|
|
OVSDB_CHECK_POSITIVE_CPY([ordinary column],
|
|
[[parse-column mycol '{"type": "integer"}']],
|
|
[[{"type":"integer"}]])
|
|
|
|
OVSDB_CHECK_POSITIVE_CPY([immutable column],
|
|
[[parse-column mycol '{"type": "real", "mutable": false}']],
|
|
[[{"mutable":false,"type":"real"}]])
|
|
|
|
OVSDB_CHECK_POSITIVE_CPY([ephemeral column],
|
|
[[parse-column mycol '{"type": "uuid", "ephemeral": true}']],
|
|
[[{"ephemeral":true,"type":"uuid"}]])
|