Added "logical-switch-port" to supported types of service monitoring,
updated doc.

Signed-off-by: Alexandra Rukomoinikova <[email protected]>
---
 ovn-sb.ovsschema |  7 ++++---
 ovn-sb.xml       | 11 +++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

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>
 
-- 
2.48.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to