Skip to content

Commit

Permalink
[show] add 'show runningconfiguration all' subcommand (sonic-net#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored Apr 3, 2018
1 parent 68c3fbf commit 86a3c94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions show/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,13 @@ def runningconfiguration():
pass


# 'all' subcommand ("show runningconfiguration all")
@runningconfiguration.command()
def all():
"""Show full running configuration"""
run_command('sonic-cfggen -d --print-data')


# 'bgp' subcommand ("show runningconfiguration bgp")
@runningconfiguration.command()
def bgp():
Expand Down

0 comments on commit 86a3c94

Please sign in to comment.