1 module bgp-multiprotocol {
3 namespace "urn:opendaylight:params:xml:ns:yang:bgp-multiprotocol";
6 import ietf-inet-types {
8 revision-date 2010-09-24;
10 import bgp-message { prefix bgp-msg;}
12 organization "Cisco Systems, Inc.";
13 contact "Dana Kutenicsova <dkutenic@cisco.com>";
16 "This module contains the base data model of a BGP message.
17 It rolls up the definitions contained in RFC4271
18 and draft-ietf-idr-ls-distribution-03.
20 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
22 This program and the accompanying materials are made available
23 under the terms of the Eclipse Public License v1.0 which
24 accompanies this distribution, and is available at
25 http://www.eclipse.org/legal/epl-v10.html";
27 revision "2013-09-18" {
33 typedef bgp-address-family {
34 reference "http://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml#address-family-numbers-2";
48 typedef bgp-subsequent-address-family {
49 reference "http://tools.ietf.org/html/rfc4760#section-6
50 http://tools.ietf.org/html/rfc4364#section-16
51 http://tools.ietf.org/html/draft-ietf-idr-ls-distribution-03#section-3.2";
56 enum mpls-labeled-vpn {
65 grouping bgp-table-type {
67 type bgp-address-family;
70 type bgp-subsequent-address-family;
74 augment "/bgp-msg:open/bgp-msg:optional-parameters/bgp-msg:parameters" {
77 container multiprotocol-capability {
78 reference "http://tools.ietf.org/html/rfc4760#section-8";
79 container table-type {
87 augment "/bgp-msg:update/bgp-msg:path-attributes" {
88 container mp-unreach-nlri {
89 reference "http://tools.ietf.org/html/rfc4760#section-4";
91 container withdrawn-routes {
92 leaf-list withdrawn-routes {
99 augment "/bgp-msg:update/bgp-msg:path-attributes" {
100 container mp-reach-nlri {
101 reference "http://tools.ietf.org/html/rfc4760#section-4";
104 type inet:ip-address;