Interface OdlFibData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    public interface OdlFibData
    extends org.opendaylight.yangtools.yang.binding.DataRoot

    This class represents the following YANG schema fragment defined in module odl-fib

     module odl-fib {
       namespace urn:opendaylight:netvirt:fibmanager;
       prefix odl-fib;
       import yang-ext {
         prefix ext;
         revision-date 2013-07-09;
       }
       revision 2015-03-30 {
       }
       grouping ipv4Entries {
         list ipv4Entry {
           key destPrefix;
           leaf destPrefix {
             type string;
           }
           leaf nextHopAddress {
             type string;
           }
         }
       }
       grouping vrfEntryBase {
         leaf destPrefix {
           type string;
         }
         leaf mac {
           type string;
         }
         leaf origin {
           type string;
         }
         leaf encap-type {
           type enumeration {
             enum mplsgre {
               value 0;
             }
             enum vxlan {
               value 1;
             }
           }
           default mplsgre;
         }
         leaf l3vni {
           type uint32;
         }
         leaf gateway_mac_address {
           type string;
         }
         leaf parent-vpn-rd {
           type string;
         }
         list route-paths {
           key nexthop-address;
           leaf nexthop-address {
             type string;
           }
           leaf label {
             type uint32;
           }
         }
       }
       grouping vrfEntries {
         list vrfEntry {
           key destPrefix;
           uses vrfEntryBase;
         }
       }
       grouping macVrfEntries {
         list macVrfEntry {
           key mac;
           uses vrfEntryBase;
           leaf l2vni {
             type uint32;
           }
         }
       }
       augment /odl-fib:fibEntries/odl-fib:vrfTables/odl-fib:vrfEntry {
         ext:augment-identifier subnetRoute;
         leaf elantag {
           type uint32;
         }
       }
       augment /odl-fib:fibEntries/odl-fib:vrfTables/odl-fib:vrfEntry {
         ext:augment-identifier routerInterface;
         leaf uuid {
           type string;
         }
         leaf mac-address {
           type string;
         }
         leaf ip-address {
           type string;
         }
       }
       container fibEntries {
         list vrfTables {
           key routeDistinguisher;
           leaf routeDistinguisher {
             type string;
           }
           uses vrfEntries;
           uses macVrfEntries;
         }
         container ipv4Table {
           uses ipv4Entries;
         }
       }
       container label-route-map {
         config false;
         list label-route-info {
           key label;
           leaf label {
             type uint32;
           }
           leaf dpn-id {
             type uint64;
           }
           leaf prefix {
             type string;
           }
           leaf-list next-hop-ip-list {
             type string;
           }
           leaf-list vpn-instance-list {
             type string;
           }
           leaf parent-vpnid {
             type uint32;
           }
           leaf vpn-interface-name {
             type string;
           }
           leaf elan-tag {
             type uint32;
           }
           leaf is-subnet-route {
             type boolean;
           }
           leaf parent-vpn-rd {
             type string;
           }
         }
       }
       container extraroute-rds-map {
         list extraroute-rds {
           key vpnid;
           leaf vpnid {
             type uint32;
           }
           list dest-prefixes {
             key dest-prefix;
             leaf dest-prefix {
               type string;
             }
             list allocated-rds {
               key nexthop;
               leaf nexthop {
                 type string;
               }
               leaf rd {
                 type string;
               }
             }
           }
         }
       }
       container ip-prefix-map {
         config false;
         list ip-prefix-info {
           key "prefix parent-primary-rd";
           leaf prefix {
             type string;
           }
           leaf parent-primary-rd {
             type string;
           }
           leaf dpn-id {
             type uint64;
           }
           leaf-list vpn-instance-list {
             type string;
           }
           leaf parent-vpnid {
             type uint32;
           }
           leaf vpn-interface-name {
             type string;
           }
           leaf elan-tag {
             type uint32;
           }
           leaf is-subnet-route {
             type boolean;
           }
           leaf encap-type {
             type enumeration {
               enum mplsgre {
                 value 0;
               }
               enum vxlan {
                 value 1;
               }
             }
             default mplsgre;
           }
           leaf l3vni {
             type uint32;
           }
           leaf l2vni {
             type uint32;
           }
           list route-paths {
             key nexthop-address;
             leaf nexthop-address {
               type string;
             }
             leaf label {
               type uint32;
             }
             leaf gateway_mac_address {
               type string;
             }
           }
         }
       }
     }
     
    • Method Detail

      • getFibEntries

        @Nullable FibEntries getFibEntries()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.FibEntries fibEntries, or null if not present
      • getLabelRouteMap

        @Nullable LabelRouteMap getLabelRouteMap()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.LabelRouteMap labelRouteMap, or null if not present
      • getExtrarouteRdsMap

        @Nullable ExtrarouteRdsMap getExtrarouteRdsMap()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.ExtrarouteRdsMap extrarouteRdsMap, or null if not present
      • getIpPrefixMap

        @Nullable IpPrefixMap getIpPrefixMap()
        Stores information about a parent vpn and prefix in that parent vpn, along with what other vpn-instances import the parent vpn
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.IpPrefixMap ipPrefixMap, or null if not present