Updated flow capable models and affected code
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / table-service.yang
diff --git a/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang b/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang
new file mode 100644 (file)
index 0000000..1e46b3f
--- /dev/null
@@ -0,0 +1,32 @@
+module sal-table {
+    namespace "urn:opendaylight:table:service";
+    prefix table;
+
+    import yang-ext {prefix ext;}
+    import opendaylight-inventory {prefix inv;}    
+    import opendaylight-table-types {prefix table-type;}
+
+    revision "2013-10-26" {
+        description "Initial revision of table service";
+    }        
+    
+    /** Base configuration structure **/
+    grouping table-update {
+        container original-table {
+            uses table-type:table-features;
+        }
+        container updated-table {
+            uses table-type:table-features;
+        }
+    }
+    
+    rpc update-table {
+        input {
+            leaf node {
+                ext:context-reference "inv:node-context";
+                type inv:node-ref;
+            }
+            uses table-update;
+        }
+    }     
+}
\ No newline at end of file