From 9e59a344c5a5b81fb7b7292184e849ad0fc9507c Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Mon, 16 May 2016 10:43:29 +0200 Subject: HONEYCOMB-61: Add context data tree For storing mapping related context necessary for the plugins Add naming context adapter to store naming contexts in the data tree + Enable persistence for context data tree Change-Id: I2ac531e80e71a48d313b065997d134da2ae7ee12 Signed-off-by: Maros Marsalek --- v3po/impl/pom.xml | 5 ++ .../src/main/config/context-datatree-config.xml | 79 ++++++++++++++++++++++ v3po/impl/src/main/config/default-config.xml | 9 +-- 3 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 v3po/impl/src/main/config/context-datatree-config.xml (limited to 'v3po/impl') diff --git a/v3po/impl/pom.xml b/v3po/impl/pom.xml index 053e0ffc4..6db420bef 100644 --- a/v3po/impl/pom.xml +++ b/v3po/impl/pom.xml @@ -110,6 +110,11 @@ xml netconf + + src/main/config/context-datatree-config.xml + xml + context + src/main/config/restconf-north-config.xml xml diff --git a/v3po/impl/src/main/config/context-datatree-config.xml b/v3po/impl/src/main/config/context-datatree-config.xml new file mode 100644 index 000000000..c9f9902f3 --- /dev/null +++ b/v3po/impl/src/main/config/context-datatree-config.xml @@ -0,0 +1,79 @@ + + + + + + + + urn:opendaylight:params:xml:ns:yang:v3po:impl?module=v3po-impl&revision=2014-12-10 + urn:honeycomb:params:xml:ns:yang:translate:utils?module=translate-utils&revision=2016-04-06 + urn:honeycomb:params:xml:ns:yang:vpp:jvpp:cfg?module=vpp-jvpp-cfg&revision=2016-04-06 + urn:honeycomb:params:xml:ns:yang:vpp:data:init?module=vpp-cfg-init&revision=2016-04-07 + urn:honeycomb:params:xml:ns:yang:data:api?module=data-api&revision=2016-04-11 + urn:honeycomb:params:xml:ns:yang:data:impl?module=data-impl&revision=2016-04-11 + urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28 + + + + + + + + + + prefix:inmemory-data-tree + inmemory-context-data-tree + + dom:schema-service + yang-schema-service + + oper + + + + + prefix:persisting-data-tree-adapter + inmemory-persisted-context-data-tree + + prefix:data-tree + inmemory-context-data-tree + + + dom:schema-service + yang-schema-service + + etc/opendaylight/honeycomb/context.json + + + + + prefix:data-tree + + inmemory-context-data-tree + /modules/module[type='inmemory-data-tree'][name='inmemory-context-data-tree'] + + + + inmemory-persisted-context-data-tree + /modules/module[type='persisting-data-tree-adapter'][name='inmemory-persisted-context-data-tree'] + + + + + + + diff --git a/v3po/impl/src/main/config/default-config.xml b/v3po/impl/src/main/config/default-config.xml index 61fe1c68d..89e1f7ce2 100644 --- a/v3po/impl/src/main/config/default-config.xml +++ b/v3po/impl/src/main/config/default-config.xml @@ -20,6 +20,7 @@ urn:honeycomb:params:xml:ns:yang:translate:utils?module=translate-utils&revision=2016-04-06 urn:honeycomb:params:xml:ns:yang:vpp:jvpp:cfg?module=vpp-jvpp-cfg&revision=2016-04-06 urn:honeycomb:params:xml:ns:yang:vpp:data:init?module=vpp-cfg-init&revision=2016-04-07 + urn:honeycomb:params:xml:ns:yang:data:api?module=data-api&revision=2016-04-11 urn:honeycomb:params:xml:ns:yang:data:impl?module=data-impl&revision=2016-04-11 urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28 @@ -53,7 +54,7 @@ prefix:persisting-data-tree-adapter inmemory-persisted-config-data-tree - prefix:data-tree + prefix:data-tree inmemory-config-data-tree @@ -75,7 +76,7 @@ - prefix:data-tree + prefix:data-tree inmemory-persisted-config-data-tree @@ -220,7 +221,7 @@ - prefix:data-tree + prefix:data-tree inmemory-persisted-config-data-tree @@ -336,7 +337,7 @@ - prefix:data-tree + prefix:data-tree inmemory-config-data-tree /modules/module[type='inmemory-data-tree'][name='inmemory-config-data-tree'] -- cgit 1.2.3-korg