python-venusclient/venusclient/v1/analyse_shell.py
jiasirui 22b636a477 change describe of help
Change-Id: I73bf3adc20e56066cf884d4bb71240941d9fda4f
2022-09-14 17:23:37 +08:00

28 lines
871 B
Python

# Copyright 2020 Inspur
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
def do_analyse_log(cs, args):
"""get analyse log content"""
endpoint = cs.analyse.analyse_log(args)
print(endpoint)
return endpoint
def do_typical_log(cs, args):
"""get typical log content"""
endpoint = cs.analyse.typical_log(args)
print(endpoint)
return endpoint