diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-05-19 15:01:14 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-05-24 08:36:38 +0000 |
commit | ac035fd064b69d81bb14513ec7814ac4059f7cb0 (patch) | |
tree | 8ecb26a20b60782335162be10621685181c1f37f /v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang | |
parent | f9b2551eae7b4410b6910a05f19413b9b83137d4 (diff) |
HONEYCOMB-61: Move VPP initializers to v3po2vpp
Change-Id: I65a317bc84ab422bcb956a91dea24d6a17f8e0a5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang')
-rw-r--r-- | v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang b/v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang index 024c930b7..8d305685e 100644 --- a/v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang +++ b/v3po/vpp-cfg-init/src/main/yang/vpp-cfg-init.yang @@ -4,7 +4,6 @@ module vpp-cfg-init { prefix "init"; import config { prefix config; revision-date 2013-04-05; } - import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;} import opendaylight-md-sal-dom {prefix dom;} import translate-api { prefix tapi; revision-date 2016-04-06; } import data-api { prefix dapi; revision-date 2016-04-11; } @@ -22,50 +21,6 @@ module vpp-cfg-init { config:java-class io.fd.honeycomb.v3po.vpp.data.init.DataTreeInitializer; } - // TODO move to v3po2vpp - identity vpp-cfg-initializer { - base config:module-type; - config:provided-service cfg-initializer; - config:java-name-prefix VppConfigurationInitializer; - } - - augment "/config:modules/config:module/config:configuration" { - case vpp-cfg-initializer { - when "/config:modules/config:module/config:type = 'vpp-cfg-initializer'"; - - container binding-data-broker { - uses config:service-ref { - refine type { - mandatory true; - config:required-identity md-sal-binding:binding-async-data-broker; - } - } - } - } - } - - // TODO move to v3po2vpp - identity interfaces-cfg-initializer { - base config:module-type; - config:provided-service cfg-initializer; - config:java-name-prefix InterfacesConfigurationInitializer; - } - - augment "/config:modules/config:module/config:configuration" { - case interfaces-cfg-initializer { - when "/config:modules/config:module/config:type = 'interfaces-cfg-initializer'"; - - container binding-data-broker { - uses config:service-ref { - refine type { - mandatory true; - config:required-identity md-sal-binding:binding-async-data-broker; - } - } - } - } - } - identity cfg-initializer-registry { base config:module-type; config:provided-service cfg-initializer; |