+ List<DOMActionImplementation> impls = entry.getImplementations(path);
+ if (impls == null) {
+ impls = entry.getImplementations(
+ new DOMDataTreeIdentifier(path.getDatastoreType(), YangInstanceIdentifier.empty()));
+ if (impls == null) {
+ return Futures.immediateFailedFuture(new DOMActionNotAvailableException(
+ "No implementation of Action %s available for %s", type, path));
+ }
+ }
+
+ return impls.get(0).invokeAction(type, path, input);