3 namespace "urn:opendaylight:params:xml:ns:yang:bgp-rib";
6 import bgp-message { prefix bgp-msg; revision-date 2013-09-19; }
7 import bgp-multiprotocol { prefix bgp-mp; revision-date 2013-09-19; }
8 import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
10 organization "Cisco Systems, Inc.";
11 contact "Robert Varga <rovarga@cisco.com>";
14 "This module contains the concept of a Routing Information Base,
15 as defined by RFC4271.
17 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
19 This program and the accompanying materials are made available
20 under the terms of the Eclipse Public License v1.0 which
21 accompanies this distribution, and is available at
22 http://www.eclipse.org/legal/epl-v10.html";
24 revision "2013-09-25" {
35 container attributes {
36 uses bgp-msg:path-attributes;
42 uses bgp-mp:bgp-table-type;
51 case ipv4-routes-case {
52 container ipv4-routes {
54 when "../../afi = ipv4";
57 type inet:ipv4-prefix;
65 case ipv6-routes-case {
66 container ipv6-routes {
68 when "../../afi = ipv6";
71 type inet:ipv6-prefix;