Remove yang-test
[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             container bgp-listener-impl {
27                 list peers {
28                     config:inner-state-bean;
29                     leaf port {
30                         type inet:port-number;
31                         default 179;
32                     }
33                     leaf core-size {
34                         type uint32;
35                     }
36                 }
37
38                 leaf as-number {
39                     mandatory true;
40                     type inet:as-number;
41                 }
42             }
43         }
44     }
45 }

©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.