Interface ServiceOps

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

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

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

     container service-ops {
       config false;
       list services {
         key service-name;
         leaf service-name {
           type identityref {
             base entity-name-base;
           }
         }
         list operations {
           key entity-name;
           leaf entity-name {
             type identityref {
               base entity-name-base;
             }
           }
           leaf entity-type {
             type identityref {
               base entity-type-base;
             }
           }
           leaf entity-id {
             type string;
           }
           leaf trigger-operation {
             type identityref {
               base service-op-base;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-srm-ops/service-ops

    To create instances of this class use ServiceOpsBuilder.

    See Also:
    ServiceOpsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<ServicesKey,​Services> getServices()
        Returns:
        java.util.Map services, or null if not present
      • nonnullServices

        default @NonNull Map<ServicesKey,​Services> nonnullServices()
        Returns:
        java.util.Map services, or an empty list if it is not present