Interface DpnRoutersList

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<DpnRoutersList>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<DpnRouters>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<DpnRoutersListKey>

    public interface DpnRoutersList
    extends org.opendaylight.yangtools.yang.binding.ChildOf<DpnRouters>, org.opendaylight.yangtools.yang.binding.Augmentable<DpnRoutersList>, org.opendaylight.yangtools.yang.binding.Identifiable<DpnRoutersListKey>

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

     list dpn-routers-list {
       key dpn-id;
       leaf dpn-id {
         type uint64;
       }
       list routers-list {
         key router;
         leaf router {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is odl-l3vpn/dpn-routers/dpn-routers-list

    To create instances of this class use DpnRoutersListBuilder.

    See Also:
    DpnRoutersListBuilder, DpnRoutersListKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getDpnId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 dpnId, or null if not present
      • getRoutersList

        @Nullable java.util.List<RoutersList> getRoutersList()
        Returns:
        java.util.List routersList, or null if not present
      • nonnullRoutersList

        default @NonNull java.util.List<RoutersList> nonnullRoutersList()
        Returns:
        java.util.List routersList, or an empty list if it is not present