From 39f92c280161e04bae2d16a4b36bd9e157d1d0fe Mon Sep 17 00:00:00 2001 From: sinhan Date: Mon, 10 Apr 2017 21:11:38 +0000 Subject: [PATCH] [RIFT 16147] Make yang change for not implemented error, also show in-progress for large copy. Signed-off-by: sinhan --- .../rwpkgmgr/rift/tasklets/rwpkgmgr/downloader/copy.py | 2 ++ rwlaunchpad/plugins/yang/rw-pkg-mgmt.tailf.yang | 4 ++++ 2 files changed, 6 insertions(+) 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; } -- 2.25.1