3 namespace "urn:opendaylight:params:xml:ns:yang:bgp-message";
6 import ietf-inet-types {
8 revision-date 2010-09-24;
11 import bgp-types { prefix bgp-t; }
13 organization "Cisco Systems, Inc.";
14 contact "Dana Kutenicsova <dkutenic@cisco.com>";
17 "This module contains the base data model of a BGP message.
18 It rolls up the definitions contained in RFC4271 and RFC4893.
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" {
30 reference "RFC4271, RFC4893";
33 typedef protocol-version {
40 description "Open Message";
41 reference "http://tools.ietf.org/html/rfc4271#section-4.2";
43 type protocol-version;
55 type inet:ipv4-address;
59 reference "http://tools.ietf.org/html/rfc3392#section-4";
62 container as4-bytes-capability {
63 reference "http://tools.ietf.org/html/rfc6793";
73 grouping path-attributes {
74 reference "http://tools.ietf.org/html/rfc4271#section-5";
76 reference "http://tools.ietf.org/html/rfc4271#section-5.1.1";
78 type bgp-t:bgp-origin;
83 reference "http://tools.ietf.org/html/rfc4271#section-5.1.2";
85 uses bgp-t:as-path-segment;
89 container multi-exit-disc {
90 reference "http://tools.ietf.org/html/rfc4271#section-5.1.4";
95 container local-pref {
96 reference "http://tools.ietf.org/html/rfc4271#section-5.1.5";
101 container atomic-aggregate {
102 reference "http://tools.ietf.org/html/rfc4271#section-5.1.6";
103 presence "Atomic Aggregate attribute is present.";
105 container aggregator {
106 uses bgp-t:bgp-aggregator;
109 uses bgp-t:community;
111 list extended-communities {
112 uses bgp-t:extended-community;
119 leaf-list cluster-id {
120 type bgp-t:cluster-identifier;
124 notification update {
125 description "Update Message";
126 reference "http://tools.ietf.org/html/rfc4271#section-4.3";
127 container path-attributes {
128 reference "http://tools.ietf.org/html/rfc4271#section-5";
129 uses path-attributes;
131 container withdrawn-routes {
132 leaf-list withdrawn-routes {
133 type inet:ipv4-prefix;
138 type inet:ipv4-prefix;
143 notification keepalive {
144 description "Keepalive Message";
145 reference "http://tools.ietf.org/html/rfc4271#section-4.4";
148 notification notify {
149 description "Notification Message";
150 reference "http://tools.ietf.org/html/rfc4271#section-4.5";