Interface OdlSrmOpsData
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataRoot<OdlSrmOpsData>
@Generated("mdsal-binding-generator")
public interface OdlSrmOpsData
extends org.opendaylight.yangtools.binding.DataRoot<OdlSrmOpsData>
This class represents the following YANG schema fragment defined in module odl-srm-ops
module odl-srm-ops {
namespace urn:opendaylight:serviceutils:srm:ops;
prefix srmops;
import odl-srm-types {
prefix srmtype;
}
revision 2018-06-26 {
}
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;
}
}
}
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn serviceOps, ornullif it is not present.default Class<OdlSrmOpsData> @NonNull ServiceOpsReturn serviceOps, or an empty instance if it is not present.
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataRoot<OdlSrmOpsData>
-
getServiceOps
ServiceOps getServiceOps()Return serviceOps, ornullif it is not present.- Returns:
ServiceOpsserviceOps, ornullif it is not present.
-
nonnullServiceOps
@NonNull ServiceOps nonnullServiceOps()Return serviceOps, or an empty instance if it is not present.- Returns:
ServiceOpsserviceOps, or an empty instance if it is not present.
-