update/cgcs-patch/bin
Don Penney 5642a575c5 Add support for application patch dependencies
This update introduces support for application dependencies on
specified software patches. This allows sysinv to query patch states
and to report application dependencies, to block removal of required
patches.

APIs introduced:
is_applied: Provide a list of patch IDs. Returns True if ALL patches
  are in Applied (fully applied/installed) state, False if any are
  not.
report_app_dependencies: Provide an app name-version string and list
  of patches.
  * Apps are dropped by reporting app name with no patch list / empty
    list.
  * Triggers sync with patch-controller neighbour (ie. standby
    controller)
query_app_dependencies: Query for dict of app => patch list, for all
  reported apps.

On patch removal, the patch-controller checks to see if the patch
being removed is required by any applications. Reject the removal,
if so.
  * Provide backdoor --skipappcheck option to skip this dependency
    check.

Change-Id: I6b0dcf3c88312677a95c7eb860cb3b30779554d0
Story: 2005248
Task: 30318
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-04-05 12:23:06 -04:00
..
make_patch StarlingX open source release updates 2018-05-31 07:37:12 -07:00
modify_patch StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch-functions Change compute node to worker node personality 2018-12-13 13:05:05 -05:00
patch-tmpdirs.conf StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch_build StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch_check_goenabled.sh Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
patching.conf StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patching.logrotate StarlingX open source release updates 2018-05-31 07:37:12 -07:00
pmon-sw-patch-agent.conf StarlingX open source release updates 2018-05-31 07:37:12 -07:00
pmon-sw-patch-controller-daemon.conf StarlingX open source release updates 2018-05-31 07:37:12 -07:00
policy.json StarlingX open source release updates 2018-05-31 07:37:12 -07:00
query_patch StarlingX open source release updates 2018-05-31 07:37:12 -07:00
rpm-audit Update patching rpm-audit to handle both sha256 and md5 checksums 2018-06-27 13:54:58 -04:00
run-patch-scripts StarlingX open source release updates 2018-05-31 07:37:12 -07:00
setup_patch_repo Python 3 compatibility: fix oldoctinteger 2018-09-05 13:39:21 +08:00
sw-patch StarlingX open source release updates 2018-05-31 07:37:12 -07:00
sw-patch-agent StarlingX open source release updates 2018-05-31 07:37:12 -07:00
sw-patch-agent-init.sh Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
sw-patch-agent-restart StarlingX open source release updates 2018-05-31 07:37:12 -07:00
sw-patch-agent.service Change service dependencies to network-online.target 2019-03-07 10:02:57 -05:00
sw-patch-controller-daemon StarlingX open source release updates 2018-05-31 07:37:12 -07:00
sw-patch-controller-daemon-init.sh Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
sw-patch-controller-daemon-restart StarlingX open source release updates 2018-05-31 07:37:12 -07:00
sw-patch-controller-daemon.service Change service dependencies to network-online.target 2019-03-07 10:02:57 -05:00
sw-patch-controller-init.sh Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
sw-patch-controller.service Change service dependencies to network-online.target 2019-03-07 10:02:57 -05:00
sw-patch-init.sh Add failure checks to patching init script 2019-03-11 13:28:33 -04:00
sw-patch.completion Add support for application patch dependencies 2019-04-05 12:23:06 -04:00
sw-patch.service Change service dependencies to network-online.target 2019-03-07 10:02:57 -05:00
upgrade-start-pkg-extract StarlingX open source release updates 2018-05-31 07:37:12 -07:00