From: sinhan Date: Mon, 10 Apr 2017 21:11:38 +0000 (+0000) Subject: [RIFT 16147] Make yang change for not implemented error, also show in-progress for... X-Git-Tag: v2.0.0~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=93b954272755932588d01cf236912020e2332d52;p=osm%2FSO.git [RIFT 16147] Make yang change for not implemented error, also show in-progress for large copy. Signed-off-by: sinhan --- diff --git a/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/downloader/copy.py b/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/downloader/copy.py index fa3dd3e3..b1f11ec3 100644 --- a/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/downloader/copy.py +++ b/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/downloader/copy.py @@ -123,6 +123,8 @@ class PackageFileCopier: Copy directory tree to destination descriptor folder. """ + self.copy_progress() + store = self.proxy._get_store(self.package_type) src_path = store._get_package_dir(self.src_package_id) self.src_package = store.get_package(self.src_package_id) diff --git a/rwlaunchpad/plugins/yang/rw-pkg-mgmt.tailf.yang b/rwlaunchpad/plugins/yang/rw-pkg-mgmt.tailf.yang index 13136c9a..1086af93 100644 --- a/rwlaunchpad/plugins/yang/rw-pkg-mgmt.tailf.yang +++ b/rwlaunchpad/plugins/yang/rw-pkg-mgmt.tailf.yang @@ -39,6 +39,10 @@ module rw-pkg-mgmt-annotation tailf:actionpoint rw_actionpoint; } + tailf:annotate "/rw-pkg-mgmt:package-copy" { + tailf:actionpoint rw_actionpoint; + } + tailf:annotate "/rw-pkg-mgmt:get-package-schema" { tailf:actionpoint rw_actionpoint; }