Interface EvpnRoutes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<EvpnRoutes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<EvpnRoutes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface EvpnRoutes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<EvpnRoutes>, org.opendaylight.yangtools.yang.binding.Augmentable<EvpnRoutes>

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

     container evpn-routes {
       list evpn-route {
         key "route-key path-id";
         uses evpn;
         uses pmsi:bgp-rib-route {
           augment attributes/extended-communities/extended-community {
             case esi-label-extended-community-case {
               uses esi-label-extended-community;
             }
             case es-import-route-extended-community-case {
               uses es-import-route-extended-community;
             }
             case mac-mobility-extended-community-case {
               uses mac-mobility-extended-community;
             }
             case default-gateway-extended-community-case {
               uses default-gateway-extended-community;
             }
             case layer-2-attributes-extended-community-case {
               uses layer-2-attributes-extended-community;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-bgp-evpn/evpn-routes/evpn-routes

    To create instances of this class use EvpnRoutesBuilder.

    See Also:
    EvpnRoutesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<EvpnRoutes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEvpnRoute

        @Nullable List<EvpnRoute> getEvpnRoute()
        Returns:
        java.util.List evpnRoute, or null if not present
      • nonnullEvpnRoute

        default @NonNull List<EvpnRoute> nonnullEvpnRoute()
        Returns:
        java.util.List evpnRoute, or an empty list if it is not present