Add clustered-app-config blueprint extension example to the toaster
[controller.git] / opendaylight / md-sal / samples / toaster-provider / src / main / yang / toaster-app-config.yang
1 module toaster-app-config {
2     yang-version 1;
3
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:toaster-app-config";
5     prefix toaster-app-config;
6
7     import toaster { prefix toaster; revision-date 2009-11-20; }
8
9     description
10       "Configuration for the Opendaylight toaster application.";
11
12     revision "2016-05-03" {
13         description
14             "Initial revision.";
15     }
16
17     container toaster-app-config {
18         leaf manufacturer {
19             type toaster:DisplayString;
20             default "Opendaylight";
21         }
22
23         leaf model-number {
24             type toaster:DisplayString;
25             default "Model 1 - Binding Aware";
26         }
27
28         leaf max-make-toast-tries {
29             type uint16;
30             default 2;
31         }
32     }
33 }