3 namespace "urn:opendaylight:params:xml:ns:yang:bgp-message";
6 import ietf-inet-types {
8 revision-date 2010-09-24;
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 and RFC4893.
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-18" {
28 reference "RFC4271, RFC4893";
31 typedef origin-value {
32 reference "http://tools.ietf.org/html/rfc4271#section-5";
46 typedef protocol-version {
56 grouping as-path-segment {
77 description "Open Message";
78 reference "http://tools.ietf.org/html/rfc4271#section-4.2";
80 type protocol-version;
92 type inet:ipv4-address;
95 list optional-parameters {
96 reference "http://tools.ietf.org/html/rfc3392#section-4";
99 reference "http://tools.ietf.org/html/rfc6793";
108 notification update {
109 description "Update Message";
110 reference "http://tools.ietf.org/html/rfc4271#section-4.3";
111 container path-attributes {
112 reference "http://tools.ietf.org/html/rfc4271#section-5";
114 reference "http://tools.ietf.org/html/rfc4271#section-5.1.1";
121 reference "http://tools.ietf.org/html/rfc4271#section-5.1.2";
123 uses as-path-segment;
127 reference "http://tools.ietf.org/html/rfc4271#section-5.1.3";
129 type inet:ipv4-address;
133 container multi-exit-disc {
134 reference "http://tools.ietf.org/html/rfc4271#section-5.1.4";
139 container local-pref {
140 reference "http://tools.ietf.org/html/rfc4271#section-5.1.5";
145 container atomic-aggregate {
146 reference "http://tools.ietf.org/html/rfc4271#section-5.1.6";
147 presence "Atomic Aggregare attribute is present.";
149 container aggregator {
150 reference "http://tools.ietf.org/html/rfc4271#section-5.1.7";
155 type inet:ipv4-address;
159 container withdrawn-routes {
160 leaf-list withdrawn-routes {
161 type inet:ipv4-prefix;
166 type inet:ipv4-prefix;
171 notification keepalive {
172 description "Keepalive Message";
173 reference "http://tools.ietf.org/html/rfc4271#section-4.4";
176 notification notify {
177 description "Notification Message";
178 reference "http://tools.ietf.org/html/rfc4271#section-4.5";