Interface Routes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Routes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExtraRoutes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<RoutesKey>

    public interface Routes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExtraRoutes>, org.opendaylight.yangtools.yang.binding.Augmentable<Routes>, org.opendaylight.yangtools.yang.binding.Identifiable<RoutesKey>

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

     list routes {
       key prefix;
       leaf prefix {
         type string;
       }
       leaf-list nexthop-ip-list {
         type string;
       }
     }
     
    The schema path to identify an instance is odl-l3vpn/vpn-to-extraroutes/vpn/extra-routes/routes

    To create instances of this class use RoutesBuilder.

    See Also:
    RoutesBuilder, RoutesKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Routes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPrefix

        @Nullable java.lang.String getPrefix()
        Returns:
        java.lang.String prefix, or null if not present
      • getNexthopIpList

        @Nullable java.util.List<java.lang.String> getNexthopIpList()
        Returns:
        java.util.List nexthopIpList, or null if not present
      • key

        RoutesKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<RoutesKey>