diff mbox series

[ovs-dev,2/6] ovn-sb: LSP Service Monitor support.

Message ID 20251219094839.78689-2-arukomoinikova@k2.cloud
State Changes Requested
Delegated to: Dumitru Ceara
Headers show
Series [ovs-dev,1/6] ovn-nb, ovn-nbctl: Add LSP Health Check schema support. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes success github build: passed

Commit Message

Alexandra Rukomoinikova Dec. 19, 2025, 9:48 a.m. UTC
Added "logical-switch-port" to supported types of service monitoring,
updated doc.

Signed-off-by: Alexandra Rukomoinikova <arukomoinikova@k2.cloud>
---
 ovn-sb.ovsschema |  7 ++++---
 ovn-sb.xml       | 11 +++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/ovn-sb.ovsschema b/ovn-sb.ovsschema
index cf33933da..dd9e32f06 100644
--- a/ovn-sb.ovsschema
+++ b/ovn-sb.ovsschema
@@ -1,7 +1,7 @@ 
 {
     "name": "OVN_Southbound",
-    "version": "21.7.0",
-    "cksum": "1383351379 36646",
+    "version": "21.8.0",
+    "cksum": "3491605797 36713",
     "tables": {
         "SB_Global": {
             "columns": {
@@ -516,7 +516,8 @@ 
                 "type": {"type": {"key": {
                            "type": "string",
                            "enum": ["set", ["load-balancer",
-                                            "network-function"]]},
+                                            "network-function",
+                                            "logical-switch-port"]]},
                              "min": 0, "max": 1}},
                 "ip": {"type": "string"},
                 "mac": {"type": "string"},
diff --git a/ovn-sb.xml b/ovn-sb.xml
index 623aaeffd..82a212e79 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -5027,6 +5027,8 @@  tcp.flags = RST;
         icmp, and the health probe is done by injecting an icmp echo request
         packet into the <code>inport</code> of the Network_Function and then
         montoring the same packet coming out of the <code>outport</code>.
+        For <code>type</code> "logical-switch-port", supported protocols are
+        <code>tcp</code>, <code>udp</code> and <code>icmp</code>.
       </column>
 
       <column name="port">
@@ -5109,6 +5111,15 @@  tcp.flags = RST;
           the service and doesn't expect any reply.  If it receives an ICMP
           reply, then it considers the service to be <code>offline</code>.
         </p>
+
+        <p>
+          For ICMP service, <code>ovn-controller</code> sends an ICMP
+          Echo Request and expects an ICMP Echo Reply to consider service
+          to be <code>online</code>. If no reply is received or if an ICMP
+          error message is received, the service is considered
+          <code>offline</code>.
+       </p>
+
       </column>
     </group>