Interface Routers

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

    @Generated("mdsal-binding-generator")
    public interface Routers
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module bmp-monitor

     grouping routers {
       list router {
         key router-id;
         leaf name {
           type string;
         }
         leaf description {
           type string;
         }
         leaf info {
           type string;
         }
         leaf router-id {
           type router-id;
         }
         leaf status {
           type status;
         }
         uses peers;
       }
     }
     
    The schema path to identify an instance is bmp-monitorrouters
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends Routers> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRouter

        @Nullable Map<RouterKey,​Router> getRouter()
        Return router, or null if it is not present.
        Returns:
        Map<RouterKey, Router> router, or null if it is not present.
      • nonnullRouter

        default @NonNull Map<RouterKey,​Router> nonnullRouter()
        Return router, or an empty list if it is not present.
        Returns:
        Map<RouterKey, Router> router, or an empty list if it is not present.