summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-07-14 15:49:37 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-07-14 16:27:19 +0200
commit5b98c93d860b5d72de9e5777d22037a690ad4f7e (patch)
treef496b4370beaca7173ee2deac147a58af99705c6 /v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
parentdec4b4348087370e4222cb9c77c10377658b66f7 (diff)
HONEYCOMB-49: initializers for VPP classifier
Change-Id: Ia52bb38ce26da31bf33d142c19f20091c4ed951a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/main/yang/v3po2vpp.yang')
-rw-r--r--v3po/v3po2vpp/src/main/yang/v3po2vpp.yang21
1 files changed, 21 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
index f70d3f8b1..bc10e7691 100644
--- a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
+++ b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
@@ -342,5 +342,26 @@ module v3po2vpp {
}
}
+ identity vpp-classifier-cfg-initializer {
+ base config:module-type;
+ config:provided-service init:cfg-initializer;
+ config:java-name-prefix VppClassifierConfigurationInitializer;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case vpp-classifier-cfg-initializer {
+ when "/config:modules/config:module/config:type = 'vpp-classifier-cfg-initializer'";
+
+ container binding-data-broker {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity md-sal-binding:binding-async-data-broker;
+ }
+ }
+ }
+ }
+ }
+
} \ No newline at end of file