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; }
9 import yang-ext { prefix ext; revision-date 2013-07-09; }
11 organization "Cisco Systems, Inc.";
12 contact "Dana Kutenicsova <dkutenic@cisco.com>";
15 "This module contains the base data model of a BGP message.
16 It rolls up the definitions contained in RFC4271
17 and draft-ietf-idr-ls-distribution-03.
19 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
21 This program and the accompanying materials are made available
22 under the terms of the Eclipse Public License v1.0 which
23 accompanies this distribution, and is available at
24 http://www.eclipse.org/legal/epl-v10.html";
26 revision "2013-09-19" {
28 "Split off basic types";
31 revision "2013-09-18" {
37 grouping bgp-table-type {
40 base bgp-t:address-family;
45 base bgp-t:subsequent-address-family;
50 grouping destination {
51 choice destination-type {
56 augment "/bgp-msg:open/bgp-msg:bgp-parameters/bgp-msg:optional-capabilities/bgp-msg:c-parameters" {
57 container multiprotocol-capability {
58 reference "http://tools.ietf.org/html/rfc4760#section-8";
61 container graceful-restart-capability {
62 reference "http://tools.ietf.org/html/rfc4724#section-3";
87 bit forwarding-state {
97 augment "/bgp-msg:update/bgp-msg:attributes" {
98 ext:augment-identifier attributes-1;
99 container mp-reach-nlri {
100 reference "http://tools.ietf.org/html/rfc4760#section-3";
105 container advertized-routes {
111 augment "/bgp-msg:update/bgp-msg:attributes" {
112 ext:augment-identifier attributes-2;
113 container mp-unreach-nlri {
114 reference "http://tools.ietf.org/html/rfc4760#section-4";
118 container withdrawn-routes {