Changes for config subsystem and abstract decoder.
[l2switch.git] / l2switch-controller-config / src / main / resources / 60-packethandler.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco 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:pconfig-impl="urn:opendaylight:packetdecoder:config:impl">
16             pconfig-impl:packet-decoder-impl
17           </type>
18           <name>packet-decoder-impl</name>
19
20           <notification-service>
21             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
22               binding:binding-notification-service
23             </type>
24             <name>binding-notification-broker</name>
25           </notification-service>
26         </module>
27
28         <module>
29           <type xmlns:ethernetdecoder="urn:opendaylight:ethernetdecoder:config">
30             ethernetdecoder:ethernet-decoder-impl
31           </type>
32           <name>ethernet-decoder-impl</name>
33
34           <packet-decoder-service>
35             <type xmlns:pdecoder="urn:opendaylight:packetdecoder:config">pdecoder:packet-decoder-service</type>
36             <name>packet-decoder-service</name>
37           </packet-decoder-service>
38
39         </module>
40       </modules>
41
42       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
43         <service>
44           <type xmlns:pdecoder="urn:opendaylight:packetdecoder:config">
45             pdecoder:packet-decoder-service
46           </type>
47           <instance>
48             <name>packet-decoder-service</name>
49             <provider>/modules/module[type='packet-decoder-impl'][name='packet-decoder-impl']</provider>
50           </instance>
51         </service>
52       </services>
53     </data>
54
55   </configuration>
56
57   <required-capabilities>
58     <capability>urn:opendaylight:packetdecoder:config:impl?module=packet-decoder-impl&amp;revision=2014-05-28</capability>
59   </required-capabilities>
60
61 </snapshot>