Bug 1029: Remove dead code: sal-schema-repository-api
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / config-bgp-listener-impl.yang
1 module config-bgp-listener-impl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:bgp:listener:impl";
4     prefix "bgpl-impl";
5
6     import ietf-inet-types { prefix inet; }
7     import config { prefix config; revision-date 2013-04-05; }
8
9     description
10         "This module contains the base YANG definitions for NS-OS
11          BGP listener implementation.";
12
13     revision "2013-04-09" {
14         description
15             "Initial revision";
16         reference "NS-OS System Design, version 1.2.";
17     }
18
19     identity bgp-listener-impl {
20         base config:module-type;
21     }
22
23     augment "/config:modules/config:module/config:state" {
24         case bgp-listener-impl {
25             when "/config:modules/config:module/config:type = 'bgp-listener-impl'";
26             list peers {
27                 config:inner-state-bean;
28                 leaf port {
29                     type inet:port-number;
30                     default 179;
31                 }
32                 leaf core-size {
33                     type uint32;
34                 }
35             }
36
37            leaf as-number {
38                 mandatory true;
39                 type inet:as-number;
40             }
41         }
42     }
43 }