public interface FlowspecL3vpnIpv4RoutesCase extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<FlowspecL3vpnIpv4RoutesCase>, FlowspecL3vpnIpv4Routes, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.rib.tables.Routes
This class represents the following YANG schema fragment defined in module bgp-flowspec
case flowspec-l3vpn-ipv4-routes-case {
container flowspec-l3vpn-ipv4-routes {
list flowspec-l3vpn-route {
key "route-key"
"path-id"
leaf route-distinguisher {
type route-distinguisher;
}
leaf route-key {
type string;
}
list flowspec {
key choice flowspec-type {
case destination-port-case {
list destination-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case destination-prefix-case {
leaf destination-prefix {
type ipv4-prefix;
}
}
case dscp-case {
list dscps {
key leaf op {
type numeric-operand;
}
leaf value {
type dscp;
}
uses dscp-value;
}
}
case fragment-case {
list fragments {
key leaf op {
type bitmask-operand;
}
leaf value {
type fragment;
}
uses fragment-value;
}
}
case icmp-code-case {
list codes {
key leaf op {
type numeric-operand;
}
leaf value {
type uint8;
}
uses numeric-one-byte-value;
}
}
case icmp-type-case {
list types {
key leaf op {
type numeric-operand;
}
leaf value {
type uint8;
}
uses numeric-one-byte-value;
}
}
case packet-length-case {
list packet-lengths {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case port-case {
list ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case protocol-ip-case {
list protocol-ips {
key leaf op {
type numeric-operand;
}
leaf value {
type uint8;
}
uses numeric-one-byte-value;
}
}
case source-port-case {
list source-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case source-prefix-case {
leaf source-prefix {
type ipv4-prefix;
}
}
case tcp-flags-case {
list tcp-flags {
key leaf op {
type bitmask-operand;
}
leaf value {
type uint16;
}
uses bitmask-two-byte-value;
}
}
}
}
leaf path-id {
type path-id;
}
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;
}
uses flowspec-ipv4-route-list;
uses flowspec-l3vpn-rd;
}
uses flowspec-l3vpn-ipv4-route;
}
}
The schema path to identify an instance is
bgp-flowspec/bmp-monitor/monitor/router/peer/post-policy-rib/tables/routes/(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-08-07)flowspec-l3vpn-ipv4-routes-case| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
getAugmentationgetFlowspecL3vpnIpv4RoutesCopyright © 2017 OpenDaylight. All rights reserved.