Bug 4988: OF statistics & REST client
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / yang / ofoverlay-provider-impl.yang
old mode 100644 (file)
new mode 100755 (executable)
index 2c1835e..c3d95c8
@@ -33,7 +33,7 @@ module ofoverlay-provider-impl {
         config:java-name-prefix OFOverlayProvider;
     }
 
-    // Augments the 'configuration' choice node under modules/module.  
+    // Augments the 'configuration' choice node under modules/module.
     augment "/config:modules/config:module/config:configuration" {
         case ofoverlay-provider-impl {
             when "/config:modules/config:module/config:type = 'ofoverlay-provider-impl'";
@@ -83,8 +83,18 @@ module ofoverlay-provider-impl {
                     }
                 }
             }
+            // StatisticsManager service
+            container statistics-manager {
+                uses config:service-ref {
+                    refine type {
+                        mandatory true;
+                        config:required-identity gbpcfg:statistics-manager;
+                    }
+                }
+            }
 
             uses ofoverlay:initial-values;
+            //uses ofoverlay:sflow-values;
         }
     }
 }