diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-02-18 17:02:26 +0100 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-02-18 17:30:40 +0100 |
commit | cf37a5315e7d1961eabf6c4c5b91963b427ca66a (patch) | |
tree | fbcf90d1bbaf2b0c36c86095c12db00dd62544f3 /v3po/impl/src/main/yang/v3po-impl.yang | |
parent | 7ed7491932e1181f6781883b5da1aabe799a87bb (diff) |
Initialize v3po data structures
This is a workaround to avoid posible DataTree exception
when submitting new interface configuration without pre-existing
day0 configuration.
Applies for all list nodes and a proper fix will follow in ODL.
Change-Id: I6ee6e7ae189542d5ae2ad742f431b88745c42c4d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/yang/v3po-impl.yang')
-rw-r--r-- | v3po/impl/src/main/yang/v3po-impl.yang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/v3po/impl/src/main/yang/v3po-impl.yang b/v3po/impl/src/main/yang/v3po-impl.yang index 7a6fd4277..2e113e566 100644 --- a/v3po/impl/src/main/yang/v3po-impl.yang +++ b/v3po/impl/src/main/yang/v3po-impl.yang @@ -5,6 +5,7 @@ module v3po-impl { 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;} description "Service definition for v3po project"; @@ -30,6 +31,15 @@ module v3po-impl { } } } + + container dom-broker { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity dom:dom-broker-osgi-registry; + } + } + } } } } |