REST API to fetch Node Property
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / src / main / yang / toaster-consumer.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module toaster-consumer {
3
4     yang-version 1;
5     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer";
6     prefix "toaster-consumer";
7
8     import config { prefix config; revision-date 2013-04-05; }
9
10     description
11         "This module contains the base YANG definitions for
12         toaster-consumer services.";
13
14     revision "2014-01-31" {
15         description
16             "Initial revision.";
17     }
18
19     // This is the definition of a service
20     identity toaster-consumer {
21
22         base "config:service-type";
23
24         config:java-class "org.opendaylight.controller.sample.toaster.provider.api.ToastConsumer";
25     }
26 }