public interface EvpnRoutesCase extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<EvpnRoutesCase>, EvpnRoutes, Routes
This class represents the following YANG schema fragment defined in module odl-bgp-evpn
case evpn-routes-case { container evpn-routes { list evpn-route { key "route-key" leaf route-key { type string; } choice evpn-choice { case es-route-case { container es-route { leaf orig-route-ip { type ip-address; } choice esi { case arbitrary-case { container arbitrary { leaf arbitrary { type binary; } } } case as-generated-case { container as-generated { leaf as { type as-number; } leaf local-discriminator { type uint32; } uses local-discriminator; } } case lacp-auto-generated-case { container lacp-auto-generated { leaf ce-lacp-mac-address { type mac-address; } leaf ce-lacp-port-key { type uint16; } } } case lan-auto-generated-case { container lan-auto-generated { leaf root-bridge-mac-address { type mac-address; } leaf root-bridge-priority { type uint16; } } } case mac-auto-generated-case { container mac-auto-generated { leaf system-mac-address { type mac-address; } leaf local-discriminator { type uint24; } } } case router-id-generated-case { container router-id-generated { leaf router-id { type ipv4-address; } leaf local-discriminator { type uint32; } uses local-discriminator; } } } uses esi; } } case ethernet-a-d-route-case { container ethernet-a-d-route { leaf mpls-label { type mpls-label; } container ethernet-tag-id { leaf vlan-id { type uint32; } } choice esi { case arbitrary-case { container arbitrary { leaf arbitrary { type binary; } } } case as-generated-case { container as-generated { leaf as { type as-number; } leaf local-discriminator { type uint32; } uses local-discriminator; } } case lacp-auto-generated-case { container lacp-auto-generated { leaf ce-lacp-mac-address { type mac-address; } leaf ce-lacp-port-key { type uint16; } } } case lan-auto-generated-case { container lan-auto-generated { leaf root-bridge-mac-address { type mac-address; } leaf root-bridge-priority { type uint16; } } } case mac-auto-generated-case { container mac-auto-generated { leaf system-mac-address { type mac-address; } leaf local-discriminator { type uint24; } } } case router-id-generated-case { container router-id-generated { leaf router-id { type ipv4-address; } leaf local-discriminator { type uint32; } uses local-discriminator; } } } uses esi; uses ethernet-tag-id; } } case inc-multi-ethernet-tag-res-case { container inc-multi-ethernet-tag-res { leaf orig-route-ip { type ip-address; } container ethernet-tag-id { leaf vlan-id { type uint32; } } uses ethernet-tag-id; } } case mac-ip-adv-route-case { container mac-ip-adv-route { leaf mac-address { type mac-address; } leaf ip-address { type ip-address; } leaf mpls-label1 { type mpls-label; } leaf mpls-label2 { type mpls-label; } container ethernet-tag-id { leaf vlan-id { type uint32; } } choice esi { case arbitrary-case { container arbitrary { leaf arbitrary { type binary; } } } case as-generated-case { container as-generated { leaf as { type as-number; } leaf local-discriminator { type uint32; } uses local-discriminator; } } case lacp-auto-generated-case { container lacp-auto-generated { leaf ce-lacp-mac-address { type mac-address; } leaf ce-lacp-port-key { type uint16; } } } case lan-auto-generated-case { container lan-auto-generated { leaf root-bridge-mac-address { type mac-address; } leaf root-bridge-priority { type uint16; } } } case mac-auto-generated-case { container mac-auto-generated { leaf system-mac-address { type mac-address; } leaf local-discriminator { type uint24; } } } case router-id-generated-case { container router-id-generated { leaf router-id { type ipv4-address; } leaf local-discriminator { type uint32; } uses local-discriminator; } } } uses esi; uses ethernet-tag-id; } } } leaf route-distinguisher { type route-distinguisher; } 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 default-gateway-extended-community-case { container default-gateway-extended-community { } } case encapsulation-case { container encapsulation-extended-community { leaf tunnel-type { type encapsulation-tunnel-type; } uses encapsulation-extended-community; } } case es-import-route-extended-community-case { container es-import-route-extended-community { leaf es-import { type mac-address; } } } case esi-label-extended-community-case { container esi-label-extended-community { leaf single-active-mode { type single-active-mode; } leaf esi-label { type mpls-label; } } } case inet4-specific-extended-community-case { container inet4-specific-extended-community { leaf global-administrator { type ipv4-address; } leaf local-administrator { type binary; } } } case layer-2-attributes-extended-community-case { container layer-2-attributes-extended-community { leaf primary-pe { type primary-pe; } leaf backup-pe { type backup-pe; } leaf control-word { type control-word; } leaf l2-mtu { type uint16; } } } case link-bandwidth-case { container link-bandwidth-extended-community { leaf bandwidth { type bandwidth; } uses link-bandwidth-extended-community; } } case mac-mobility-extended-community-case { container mac-mobility-extended-community { leaf static { type static; } leaf seq-number { type uint32; } } } case opaque-extended-community-case { container opaque-extended-community { leaf value { type binary; } } } 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; } } } 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; } } } } container pmsi-tunnel { leaf leaf-information-required { type boolean; } leaf mpls-label { type mpls-label; } choice tunnel-identifier { case bidir-pim-tree { container bidir-pim-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case ingress-replication { container ingress-replication { leaf receiving-endpoint-address { type ip-address; } } } case mldp-mp2mp-lsp { container mldp-mp2mp-lsp { leaf opaque-type { type uint8; } leaf opaque-extended-type { type uint16; } leaf opaque { type hex-string; } uses opaque; } } case mldp-p2mp-lsp { container mldp-p2mp-lsp { leaf address-family { type identityref; } leaf root-node-address { type ip-address; } list opaque-value { key leaf opaque-type { type uint8; } leaf opaque-extended-type { type uint16; } leaf opaque { type hex-string; } uses opaque; } } } case pim-sm-tree { container pim-sm-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case pim-ssm-tree { container pim-ssm-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case rsvp-te-p2mp-lsp { container rsvp-te-p2mp-lps { leaf p2mp-id { type uint32; } leaf tunnel-id { type uint16; } leaf extended-tunnel-id { type ip-address; } } } } } augment \(urn:opendaylight:params:xml:ns:yang:bgp-evpn)attributes { status CURRENT; container pmsi-tunnel { leaf leaf-information-required { type boolean; } leaf mpls-label { type mpls-label; } choice tunnel-identifier { case bidir-pim-tree { container bidir-pim-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case ingress-replication { container ingress-replication { leaf receiving-endpoint-address { type ip-address; } } } case mldp-mp2mp-lsp { container mldp-mp2mp-lsp { leaf opaque-type { type uint8; } leaf opaque-extended-type { type uint16; } leaf opaque { type hex-string; } uses opaque; } } case mldp-p2mp-lsp { container mldp-p2mp-lsp { leaf address-family { type identityref; } leaf root-node-address { type ip-address; } list opaque-value { key leaf opaque-type { type uint8; } leaf opaque-extended-type { type uint16; } leaf opaque { type hex-string; } uses opaque; } } } case pim-sm-tree { container pim-sm-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case pim-ssm-tree { container pim-ssm-tree { leaf p-address { type ip-address; } leaf p-multicast-group { type ip-address; } uses p-address-p-multicast-group; } } case rsvp-te-p2mp-lsp { container rsvp-te-p2mp-lps { leaf p2mp-id { type uint32; } leaf tunnel-id { type uint16; } leaf extended-tunnel-id { type ip-address; } } } } } uses pmsi-tunnel; } uses next-hop; } uses evpn; uses route; } } }The schema path to identify an instance is odl-bgp-evpn/application-rib/tables/routes/(urn:opendaylight:params:xml:ns:yang:bgp-evpn?revision=2016-03-21)evpn-routes-case
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
getAugmentation
getEvpnRoutes
Copyright © 2017 OpenDaylight. All rights reserved.