2689c1f6fabcfb1a560dd210a1808e4d184f99e8
[bgpcep.git] / bgp / linkstate / src / main / yang / bgp-epe.yang
1 module bgp-epe {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:bgp-epe";
4     prefix "bgp-epe";
5
6     import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
7
8     organization "Cisco Systems, Inc.";
9     contact "Milos Fabian <milfabia@cisco.com>";
10
11     description
12         "This module contains the base data concepts contained
13         in draft-ietf-idr-bgpls-segment-routing-epe-00.
14
15         Copyright (c)2015 Cisco Systems, Inc. All rights reserved.
16
17         This program and the accompanying materials are made available
18         under the terms of the Eclipse Public License v1.0 which
19         accompanies this distribution, and is available at
20         http://www.eclipse.org/legal/epl-v10.html";
21
22     revision "2015-06-22" {
23         description
24             "Initial revision.";
25     }
26
27     grouping epe-node-descriptors {
28         reference "https://tools.ietf.org/html/draft-ietf-idr-bgpls-segment-routing-epe-05#section-4.1";
29         leaf bgp-router-id {
30             description "BGP Router Identifier.";
31             type inet:ipv4-address;
32         }
33
34         leaf member-asn {
35             description "Confederation Member ASN.";
36             type inet:as-number;
37         }
38     }
39 }