Merge "BUG-108: rename routes objects to prevent confusion"
[bgpcep.git] / bgp / update-api-config / src / main / yang / bgp-listener.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module bgp-listener {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:bgp:listener";
5     prefix "bgpl";
6
7     import config { prefix config; revision-date 2013-04-05; }
8
9     organization "Cisco Systems, Inc.";
10
11     contact "Robert Varga <rovarga@cisco.com>";
12
13     description
14         "This module contains the base YANG definitions for
15          BGP listener service.
16
17         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
18         
19         This program and the accompanying materials are made available
20                 under the terms of the Eclipse Public License v1.0 which
21                 accompanies this distribution, and is available at
22                 http://www.eclipse.org/legal/epl-v10.html";
23
24     revision "2013-04-09" {
25         description
26             "Initial revision";
27     }
28
29     identity listener {
30         description
31             "Service representing a BGP service. Each instance allows
32              registration of listeners. Each listener has its own BGP session.
33              Events happening on the session are routed to the listener.";
34
35         base "config:service-type";
36         config:java-class "org.opendaylight.protocol.bgp.rib.impl.BGP";
37     }
38 }
39