ce76d8c6f83345e1c8a1b95523dc46fbed7439a2
[bgpcep.git] / bgp / peer-acceptor / src / main / yang / odl-bgp-peer-acceptor-config.yang
1 module odl-bgp-peer-acceptor-config {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:odl-bgp-peer-acceptor-config";
4     prefix bgp-peer-acceptor-config;
5
6     import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
7
8     description
9         "This module contains the base YANG definitions for
10          BGP Peer Acceptor Configuration.
11          Copyright (c)2016 Cisco Systems, Inc. All rights reserved.;
12
13          This program and the accompanying materials are made available
14          under the terms of the Eclipse Public License v1.0 which
15          accompanies this distribution, and is available at
16          http://www.eclipse.org/legal/epl-v10.html";
17
18     revision "2016-10-03" {
19         description
20             "Initial revision.";
21     }
22
23     list bgp-peer-acceptor-config {
24         key "config-name";
25         leaf config-name {
26             type string;
27         }
28
29         leaf binding-address {
30             description "IP address to bind to";
31             type inet:ip-address;
32             default "0.0.0.0";
33         }
34
35         leaf binding-port {
36             description "Port to bind to";
37             type inet:port-number;
38             default "179";
39         }
40     }
41 }