Merge "Bug 8647: remove odl-dlux-core as artifact POM"
[openflowplugin.git] / extension / openflowjava-extension-nicira / src / main / yang / openflowjava-nx-config.yang
1 module openflowjava-nx-config {
2         yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:openflowplugin:ofjava:nx:config";
4     prefix "openflowjava-nx";
5
6     import config {prefix config; revision-date 2013-04-05;}
7     import openflowjava-nx-api-config {prefix openflowjava-nx-api-config;revision-date 2014-07-11;}
8
9     description
10         "Nicira extensions in openflow library.";
11
12     revision "2014-07-11" {
13         description
14             "Initial revision";
15     }
16
17     identity openflowjava-extension-nicira {
18         base config:module-type;
19         config:java-name-prefix NiciraExtensionProvider;
20     }
21
22     augment "/config:modules/config:module/config:configuration" {
23         case openflowjava-extension-nicira {
24             when "/config:modules/config:module/config:type = 'openflowjava-extension-nicira'";
25
26             container nicira-extension-codec-registrator {
27                 uses config:service-ref {
28                     refine type {
29                         mandatory true;
30                         config:required-identity openflowjava-nx-api-config:nicira-extension-codec-registrator;
31                     }
32                 }
33             }
34         }
35     }
36 }