This commit adds new ovsdb column "keepalive". It shows the overall datapath status and the health of the cores running datapath threads.
Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodire...@intel.com> --- vswitchd/vswitch.ovsschema | 7 +++++-- vswitchd/vswitch.xml | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 19b49da..769434e 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,6 +1,6 @@ {"name": "Open_vSwitch", - "version": "7.15.0", - "cksum": "544856471 23228", + "version": "7.16.0", + "cksum": "2916438977 23364", "tables": { "Open_vSwitch": { "columns": { @@ -28,6 +28,9 @@ "statistics": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, "ephemeral": true}, + "keepalive": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, "ovs_version": { "type": {"key": {"type": "string"}, "min": 0, "max": 1}}, diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 59c96df..fd4ba04 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -569,6 +569,26 @@ the daemon. </p> </column> + + <column name="keepalive" key="CORE_ID"> + <p> + One such key-value pair, with <code>ID</code> replaced by the + core id, will exist for each active PMD thread. The value is a + comma-separated list of status of PMD core and last seen timestamp + of PMD thread. In respective order, these values are: + </p> + + <ol> + <li>Status of PMD core. Valid values include ALIVE, MISSING, DEAD, + GONE, DOZING, SLEEPING.</li> + <li>Last seen timestamp of the PMD core.</li> + </ol> + + <p> + This is only valid for OvS-DPDK Datapath and only PMD threads status + is implemented. + </p> + </column> </group> </group> -- 2.4.11 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev