Skip to content

Commit

Permalink
docs: Add docstring for show_system_info (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed May 6, 2021
1 parent c9c9e01 commit 1b7f1aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions panos/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3908,6 +3908,11 @@ def devices(self):
return self

def show_system_info(self):
"""Returns the data from "show system info".
Returns:
dict
"""
root = self.xapi.op(cmd="show system info", cmd_xml=True)
pconf = PanConfig(root)
system_info = pconf.python()
Expand Down

0 comments on commit 1b7f1aa

Please sign in to comment.