public interface FlowspecL3vpnRoute extends org.opendaylight.yangtools.yang.binding.ChildOf<FlowspecL3vpnIpv6Route>, org.opendaylight.yangtools.yang.binding.Augmentable<FlowspecL3vpnRoute>, FlowspecL3vpnRd, FlowspecIpv6RouteList, org.opendaylight.yangtools.yang.binding.Identifiable<FlowspecL3vpnRouteKey>
This class represents the following YANG schema fragment defined in module bgp-flowspec
list flowspec-l3vpn-route {
key "route-key"
"path-id"
leaf route-key {
type string;
}
list flowspec {
key choice flowspec-type {
case destination-ipv6-prefix-case {
leaf destination-prefix {
type ipv6-prefix;
}
}
case destination-port-case {
list destination-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case dscp-case {
list dscps {
key leaf op {
type numeric-operand;
}
leaf value {
type dscp;
}
uses dscp-value;
}
}
case flow-label-case {
list flow-label {
key leaf op {
type numeric-operand;
}
leaf value {
type uint32;
}
uses flow-label-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 next-header-case {
list next-headers {
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 source-ipv6-prefix-case {
leaf source-prefix {
type ipv6-prefix;
}
}
case source-port-case {
list source-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
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;
}
leaf route-distinguisher {
type route-distinguisher;
}
uses flowspec-l3vpn-rd;
uses flowspec-ipv6-route-list;
}
The schema path to identify an instance is
bgp-flowspec/flowspec-l3vpn-ipv6-route/flowspec-l3vpn-route
To create instances of this class use FlowspecL3vpnRouteBuilder.
FlowspecL3vpnRouteBuilder,
FlowspecL3vpnRouteKey| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
FlowspecL3vpnRouteKey |
getKey()
Returns Primary Key of Yang List Type
|
getAugmentationgetRouteDistinguishergetRouteKeygetAttributesgetFlowspecFlowspecL3vpnRouteKey getKey()
getKey in interface org.opendaylight.yangtools.yang.binding.Identifiable<FlowspecL3vpnRouteKey>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev150807.flowspec.l3vpn.ipv6.route.FlowspecL3vpnRouteKey key, or null if not presentCopyright © 2017 OpenDaylight. All rights reserved.