pyang fixes for service models
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / flow-topology-discovery.yang
diff --git a/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-topology-discovery.yang b/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-topology-discovery.yang
new file mode 100644 (file)
index 0000000..05c413d
--- /dev/null
@@ -0,0 +1,42 @@
+module flow-topology-discovery {
+    namespace "urn:opendaylight:flow:topology:discovery";
+    prefix flow-node-topo;
+
+    import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
+    
+    revision "2013-08-19" {
+        description "Flow Capable Node extensions to the Inventory model";
+    }
+    
+
+    grouping link {
+        leaf source {
+            type inv:node-connector-ref;
+        }
+        leaf destination {
+            type inv:node-connector-ref;
+        }
+    }
+
+
+    notification link-discovered {
+        uses link;
+    }
+    
+    notification link-overutilized {
+        uses link;
+    }
+    
+    notification link-removed {
+        uses link;
+    }
+    
+    notification link-utilization-normal {
+        uses link;
+    }
+
+    rpc solicit-refresh {
+    
+    }
+
+}