Interface Router

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Router>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Routers>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<RouterKey>, Peers

    public interface Router
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Routers>, org.opendaylight.yangtools.yang.binding.Augmentable<Router>, Peers, org.opendaylight.yangtools.yang.binding.Identifiable<RouterKey>

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

     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-monitor/routers/router

    To create instances of this class use RouterBuilder.

    See Also:
    RouterBuilder, RouterKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable String getName()
        Returns:
        java.lang.String name, or null if not present
      • getDescription

        @Nullable String getDescription()
        Returns:
        java.lang.String description, or null if not present
      • getInfo

        @Nullable String getInfo()
        Returns:
        java.lang.String info, or null if not present
      • getRouterId

        @Nullable RouterId getRouterId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.monitor.rev200120.RouterId routerId, or null if not present
      • getStatus

        @Nullable Status getStatus()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.monitor.rev200120.Status status, or null if not present
      • key

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