diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-07-14 15:49:37 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-07-14 16:27:19 +0200 |
commit | 74594ab0df56355c1ca6f4659aeba37d9d27ad78 (patch) | |
tree | 105b69c06b3d4ab78a500856386bf8d372f5032c /v3po/v3po2vpp/src/main/yang | |
parent | da4561dbaaed3f0724c1f1844dba67566bb1062a (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')
-rw-r--r-- | v3po/v3po2vpp/src/main/yang/v3po2vpp.yang | 21 |
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 |