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";
135 presence "MULTI_EXIT_DSC present.";
140 container local-pref {
141 reference "http://tools.ietf.org/html/rfc4271#section-5.1.5";
146 container atomic-aggregate {
147 reference "http://tools.ietf.org/html/rfc4271#section-5.1.6";
148 presence "Atomic Aggregare attribute is present.";
150 container aggregator {
151 reference "http://tools.ietf.org/html/rfc4271#section-5.1.7";
156 type inet:ipv4-address;
160 container withdrawn-routes {
161 leaf-list withdrawn-routes {
162 type inet:ipv4-prefix;
167 type inet:ipv4-prefix;
172 notification keepalive {
173 description "Keepalive Message";
174 reference "http://tools.ietf.org/html/rfc4271#section-4.4";
177 notification notify {
178 description "Notification Message";
179 reference "http://tools.ietf.org/html/rfc4271#section-4.5";