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;
114 container cluster-id {
116 type bgp-t:cluster-identifier;
121 notification update {
122 description "Update Message";
123 reference "http://tools.ietf.org/html/rfc4271#section-4.3";
124 container path-attributes {
125 reference "http://tools.ietf.org/html/rfc4271#section-5";
126 uses path-attributes;
128 container withdrawn-routes {
129 leaf-list withdrawn-routes {
130 type inet:ipv4-prefix;
135 type inet:ipv4-prefix;
140 notification keepalive {
141 description "Keepalive Message";
142 reference "http://tools.ietf.org/html/rfc4271#section-4.4";
145 notification notify {
146 description "Notification Message";
147 reference "http://tools.ietf.org/html/rfc4271#section-4.5";