Add a table Library that has the following columns: 1. 'name' - the name of the library. 2. 'initialized' - true if this library is initialized. 3. 'config' - set of configurations for this library. 4. 'status' - string of the library initialization process.
'libraries' column is added to Open_vSwitch that has the added libraries. Signed-off-by: Eli Britstein <[email protected]> --- vswitchd/bridge.c | 2 ++ vswitchd/vswitch.ovsschema | 27 ++++++++++++++++++++++++--- vswitchd/vswitch.xml | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 475eefefa..4294caf8a 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -451,6 +451,8 @@ bridge_init(const char *remote) ovsdb_idl_omit(idl, &ovsrec_open_vswitch_col_system_version); ovsdb_idl_omit_alert(idl, &ovsrec_open_vswitch_col_dpdk_version); ovsdb_idl_omit_alert(idl, &ovsrec_open_vswitch_col_dpdk_initialized); + ovsdb_idl_omit_alert(idl, &ovsrec_library_col_initialized); + ovsdb_idl_omit_alert(idl, &ovsrec_library_col_status); ovsdb_idl_omit_alert(idl, &ovsrec_bridge_col_datapath_id); ovsdb_idl_omit_alert(idl, &ovsrec_bridge_col_datapath_version); diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index c658291c7..34d8b4f16 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,6 +1,6 @@ {"name": "Open_vSwitch", - "version": "8.8.0", - "cksum": "2823623553 27869", + "version": "8.9.0", + "cksum": "3288044162 28435", "tables": { "Open_vSwitch": { "columns": { @@ -57,9 +57,30 @@ "type": "boolean"}, "dpdk_version": { "type": {"key": {"type": "string"}, - "min": 0, "max": 1}}}, + "min": 0, "max": 1}}, + "libraries": { + "type": {"key": {"type": "uuid", + "refTable": "Library"}, + "min": 0, "max": "unlimited"}}}, "isRoot": true, "maxRows": 1}, + "Library": { + "columns": { + "name": { + "type": "string" + }, + "initialized": { + "type": "boolean" + }, + "config": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"} + }, + "status": { + "type": "string" + } + } + }, "Bridge": { "columns": { "name": { diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 3dcf74402..f1cc3adb2 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -63,6 +63,10 @@ Set of bridges managed by the daemon. </column> + <column name="libraries"> + Set of libraries managed by the daemon. + </column> + <column name="ssl"> SSL/TLS used globally by the daemon. </column> @@ -6172,6 +6176,21 @@ ovs-vsctl add-port br0 p0 -- set Interface p0 type=patch options:peer=p1 \ </group> </table> + <table name="Library"> + <column name="name"> + Library name. + </column> + <column name="initialized"> + True if the library is successfully initialized. + </column> + <column name="config"> + Library configuration. + </column> + <column name="status"> + Status about the library initialization. + </column> + </table> + <table name="Datapath"> <p> Configuration for a datapath within <ref table="Open_vSwitch"/>. -- 2.34.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
