34ffb1cfbf6d48d02a8449c7553097e34974acfd
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / src / main / yang / car-people.yang
1 module car-people {
2
3     yang-version 1;
4
5     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people";
6
7     prefix car;
8
9           import ietf-inet-types { prefix "inet"; revision-date 2013-07-15; }
10           import car { prefix "c"; revision-date 2014-08-18; }
11           import people { prefix "people"; revision-date 2014-08-18; }
12
13     organization "Netconf Central";
14
15     contact
16       "Harman Singh <harmasin@cisco.com>";
17
18     description
19       "YANG model for car for test application";
20
21     revision "2014-08-18" {
22       description
23         "Clustering sample app";
24     }
25
26     container car-people {
27       description
28        "Top-level container for all people car map";
29
30       list car-person {
31         key "car-id person-id";
32         description "A mapping of cars and people.";
33         leaf car-id {
34           type c:car-id;
35         }
36
37         leaf person-id {
38           type people:person-id;
39         }
40       }
41     }
42 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.