public interface BgpRibRoute
extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.Route
This class represents the following YANG schema fragment defined in module bgp-flowspec
grouping bgp-rib-route {
container attributes {
container origin {
leaf value {
type bgp-origin;
}
}
container as-path {
list segments {
key leaf-list as-sequence {
type as-number;
}
leaf-list as-set {
type as-number;
}
uses as-path-segment;
}
}
container multi-exit-disc {
leaf med {
type uint32;
}
}
container local-pref {
leaf pref {
type uint32;
}
}
container atomic-aggregate {
}
container aggregator {
leaf as-number {
type as-number;
}
leaf network-address {
type ipv4-address;
}
uses bgp-aggregator;
}
list communities {
key leaf as-number {
type as-number;
}
leaf semantics {
type uint16;
}
uses community;
}
list extended-communities {
key leaf transitive {
type boolean;
}
choice extended-community {
case as-4-generic-spec-extended-community-case {
container as-4-generic-spec-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-4-route-origin-extended-community-case {
container as-4-route-origin-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-4-route-target-extended-community-case {
container as-4-route-target-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-specific-extended-community-case {
container as-specific-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case encapsulation-case {
container encapsulation-extended-community {
leaf tunnel-type {
type encapsulation-tunnel-type;
}
uses encapsulation-extended-community;
}
}
case inet4-specific-extended-community-case {
container inet4-specific-extended-community {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type binary;
}
}
}
case link-bandwidth-case {
container link-bandwidth-extended-community {
leaf bandwidth {
type bandwidth;
}
uses link-bandwidth-extended-community;
}
}
case opaque-extended-community-case {
container opaque-extended-community {
leaf value {
type binary;
}
}
}
case redirect-as4-extended-community-case {
container redirect-as4 {
leaf global-administrator {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
}
case redirect-extended-community-case {
container redirect-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case redirect-ip-nh-extended-community-case {
container redirect-ip-nh-extended-community {
leaf next-hop-address {
type ip-address;
}
leaf copy {
type boolean;
}
}
}
case redirect-ipv4-extended-community-case {
container redirect-ipv4 {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type uint16;
}
uses route-ipv4-extended-community;
}
}
case redirect-ipv6-extended-community-case {
container redirect-ipv6 {
leaf global-administrator {
type ipv6-address;
}
leaf local-administrator {
type uint16;
}
}
}
case route-origin-extended-community-case {
container route-origin-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case route-origin-ipv4-case {
container route-origin-ipv4 {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type uint16;
}
uses route-ipv4-extended-community;
}
}
case route-target-extended-community-case {
container route-target-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case route-target-ipv4-case {
container route-target-ipv4 {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type uint16;
}
uses route-ipv4-extended-community;
}
}
case traffic-action-extended-community-case {
container traffic-action-extended-community {
leaf sample {
type sample;
}
leaf terminal-action {
type terminal-action;
}
}
}
case traffic-marking-extended-community-case {
container traffic-marking-extended-community {
leaf global-administrator {
type dscp;
}
}
}
case traffic-rate-extended-community-case {
container traffic-rate-extended-community {
leaf informative-as {
type short-as-number;
}
leaf local-administrator {
type bandwidth;
}
}
}
}
uses extended-community;
}
container originator-id {
leaf originator {
type ipv4-address;
}
uses originator-id;
}
container cluster-id {
leaf-list cluster {
type cluster-identifier;
}
uses cluster-id;
}
container aigp {
container aigp-tlv {
leaf metric {
type accumulated-igp-metric;
}
}
}
list unrecognized-attributes {
key "type"
leaf partial {
type boolean;
}
leaf transitive {
type boolean;
}
leaf type {
type uint8;
}
leaf value {
type binary;
}
}
container bgp-prefix-sid {
list bgp-prefix-sid-tlvs {
key choice bgp-prefix-sid-tlv {
}
}
}
choice c-next-hop {
case empty-next-hop-case {
leaf empty-next-hop {
type empty;
}
}
case ipv4-next-hop-case {
container ipv4-next-hop {
leaf global {
type ipv4-address;
}
}
}
case ipv6-next-hop-case {
container ipv6-next-hop {
leaf global {
type ipv6-address;
}
leaf link-local {
type ipv6-address;
}
}
}
}
uses next-hop;
}
}
The schema path to identify an instance is
bgp-flowspec/bgp-rib-route| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Copyright © 2017 OpenDaylight. All rights reserved.