2 namespace "urn:opendaylight:params:xml:ns:yang:bgp-vpn";
5 import bgp-labeled-unicast { prefix bgp-lu; revision-date 2018-03-29; }
6 import bgp-types { prefix bgp-t; revision-date 2018-03-29; }
7 import bgp-rib { prefix bgp-rib; revision-date 2018-03-29; }
8 import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
9 import bgp-message { prefix bgp-msg; revision-date 2018-03-29; }
11 organization "Brocade Communications Systems, Inc.";
12 contact "Kevin Wang <kwang@brocade.com>";
15 "This module contains the base data model of a BGP message.
16 It defines the common part of both L3VPN-IPv4 and L3VPN-IPv6 model.
18 Copyright (c) 2016 Brocade Communications Systems, Inc. All rights reserved.
20 This program and the accompanying materials are made available
21 under the terms of the Eclipse Public License v1.0 which
22 accompanies this distribution, and is available at
23 http://www.eclipse.org/legal/epl-v10.html";
25 revision "2018-03-29" {
26 description "Add support for add-path for all afi/safi.";
29 revision "2017-12-07" {
30 description "Add support for add-path in base BGP NLRI.";
34 description "Initial version";
38 uses bgp-lu:labeled-unicast;
39 uses bgp-t:route-distinguisher-grouping;
42 grouping l3vpn-ip-destination-type {
43 list vpn-destination {
45 uses bgp-msg:path-id-grouping;
49 grouping l3vpn-ip-route {
51 key "route-key path-id";