21 lines
395 B
Python
21 lines
395 B
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright (c) 2016 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
|
# All Rights Reserved.
|
|
#
|
|
|
|
|
|
def do_health_query(cc, args):
|
|
"""Run the Health Check."""
|
|
print cc.health.get()
|
|
|
|
|
|
def do_health_query_upgrade(cc, args):
|
|
"""Run the Health Check for an Upgrade."""
|
|
print cc.health.get_upgrade()
|