Interface VrfEntryBase

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    MacVrfEntry, VrfEntry

    public interface VrfEntryBase
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     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;
         }
       }
     }
     
    The schema path to identify an instance is odl-fib/vrfEntryBase
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        java.lang.Class<? extends VrfEntryBase> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDestPrefix

        @Nullable java.lang.String getDestPrefix()
        Returns:
        java.lang.String destPrefix, or null if not present
      • getMac

        @Nullable java.lang.String getMac()
        Returns:
        java.lang.String mac, or null if not present
      • getOrigin

        @Nullable java.lang.String getOrigin()
        Returns:
        java.lang.String origin, or null if not present
      • getEncapType

        @Nullable VrfEntryBase.EncapType getEncapType()
        This flag indicates how to interpret the existing label field. A value of mplsgre indicates that the label within route paths will continue to be considered as an MPLS Label. A value of vxlan indicates that l3vni should be used to advertise to bgp and label will be ignored.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.VrfEntryBase.EncapType encapType, or null if not present
      • getL3vni

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 l3vni, or null if not present
      • getGatewayMacAddress

        @Nullable java.lang.String getGatewayMacAddress()
        Returns:
        java.lang.String gatewayMacAddress, or null if not present
      • getParentVpnRd

        @Nullable java.lang.String getParentVpnRd()
        If set will get the vpn-to-dpn information from the parent-vpn-rd
        Returns:
        java.lang.String parentVpnRd, or null if not present
      • getRoutePaths

        @Nullable java.util.List<RoutePaths> getRoutePaths()
        Returns:
        java.util.List routePaths, or null if not present
      • nonnullRoutePaths

        default @NonNull java.util.List<RoutePaths> nonnullRoutePaths()
        Returns:
        java.util.List routePaths, or an empty list if it is not present