Bug 4105: Added DistributedEntityOwnershipService and wiring
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / 06-clustered-entity-ownership.xml.conf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11     <configuration>
12         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
13             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
14                 <module>
15                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-entity-ownership-service">prefix:distributed-entity-ownership-service-provider</type>
16                     <name>distributed-entity-ownership-service-provider</name>
17
18                     <data-store>
19                         <type xmlns:operational-dom-store-spi="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:operational-dom-store">operational-dom-store-spi:operational-dom-datastore</type>
20                         <name>distributed-operational-store-service</name>
21                     </data-store>
22                 </module>
23             </modules>
24
25             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
26                 <service>
27                     <type xmlns:entity-ownership="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:entity-ownership-service">entity-ownership:entity-ownership-service</type>
28                     <instance>
29                         <name>entity-ownership-service</name>
30                         <provider>/modules/module[type='distributed-entity-ownership-service-provider'][name='distributed-entity-ownership-service-provider']</provider>
31                     </instance>
32                 </service>
33             </services>
34         </data>
35     </configuration>
36     <required-capabilities>
37         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:distributed-entity-ownership-service?module=distributed-entity-ownership-service&amp;revision=2015-08-10</capability>
38     </required-capabilities>
39 </snapshot>