Merge "creating a default subnet"
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / table-service.yang
index 1e46b3f71e1a251774cf8888ec9d370d2d2a0019..3a6f20f77d9554dda1812311e7510414d1a6658a 100644 (file)
@@ -2,16 +2,18 @@ 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;}
+    import yang-ext {prefix ext; revision-date "2013-07-09";}
+    import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
+    import opendaylight-table-types {prefix table-type;revision-date "2013-10-26";}
+    import flow-capable-transaction {prefix tr;}
 
     revision "2013-10-26" {
         description "Initial revision of table service";
-    }        
+    }
     
     /** Base configuration structure **/
     grouping table-update {
+        uses "inv:node-context-ref";
         container original-table {
             uses table-type:table-features;
         }
@@ -22,11 +24,11 @@ module sal-table {
     
     rpc update-table {
         input {
-            leaf node {
-                ext:context-reference "inv:node-context";
-                type inv:node-ref;
-            }
             uses table-update;
+            uses tr:transaction-aware;
+        }
+        output {
+            uses tr:transaction-aware;
         }
     }     
 }
\ No newline at end of file