Small fix to model
[ovsdb.git] / southbound / southbound-api / src / main / yang / ovsdb.yang
index f81743fb79d9b2ac7a94414a2049e001a84d0c84..a9d915b66526835a5562109ccd51dff283874c9d 100755 (executable)
@@ -114,7 +114,7 @@ module ovsdb {
     }
 
     identity ovsdb-fail-mode-secure {
-        definition "Identity for ovsdb-failmode standalone";
+        description "Identity for ovsdb-failmode standalone";
         base ovsdb-fail-mode-base;
     }
 
@@ -319,11 +319,27 @@ module ovsdb {
             description "Port/Interface related optional input values";
             key "option";
             leaf option {
-                description "Optional input string";
+                description "Option name";
+                type string;
+            }
+            leaf value {
+                description "Option value";
                 type string;
             }
         }
 
+        leaf ofport {
+            description "Port/Interface related optional ofport";
+            type uint16;
+        }
+
+        leaf ofport_request {
+            description "Port/Interface related optional ofport_request, in range 1 to 65279";
+            type uint16 {
+                range "1..65279";
+            }
+        }
+
         leaf attached-to {
             description "Reference to the bridge where terminiation point is attached.";
             type ovsdb-bridge-ref;