1 module bgp-multiprotocol {
3 namespace "urn:opendaylight:params:xml:ns:yang:bgp-multiprotocol";
6 import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
7 import bgp-message { prefix bgp-msg; revision-date 2013-09-19; }
8 import bgp-types { prefix bgp-t; revision-date 2013-09-19; }
10 organization "Cisco Systems, Inc.";
11 contact "Dana Kutenicsova <dkutenic@cisco.com>";
14 "This module contains the base data model of a BGP message.
15 It rolls up the definitions contained in RFC4271
16 and draft-ietf-idr-ls-distribution-03.
18 Copyright (c)2013 Cisco 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 "2013-09-19" {
27 "Split off basic types";
30 revision "2013-09-18" {
36 grouping bgp-table-type {
39 base bgp-t:address-family;
44 base bgp-t:subsequent-address-family;
49 grouping destination {
50 choice destination-type {
55 augment "/bgp-msg:open/bgp-msg:bgp-parameters/bgp-msg:optional-capabilities/bgp-msg:c-parameters" {
56 container multiprotocol-capability {
57 reference "http://tools.ietf.org/html/rfc4760#section-8";
60 container graceful-restart-capability {
61 reference "http://tools.ietf.org/html/rfc4724#section-3";
86 bit forwarding-state {
96 augment "/bgp-msg:update/bgp-msg:attributes" {
97 container mp-reach-nlri {
98 reference "http://tools.ietf.org/html/rfc4760#section-3";
103 container advertized-routes {
109 augment "/bgp-msg:update/bgp-msg:attributes" {
110 container mp-unreach-nlri {
111 reference "http://tools.ietf.org/html/rfc4760#section-4";
115 container withdrawn-routes {