Skip to content

Commit 86a3c94

Browse files
authored
[show] add 'show runningconfiguration all' subcommand (sonic-net#230)
1 parent 68c3fbf commit 86a3c94

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

show/main.py

+7
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,13 @@ def runningconfiguration():
639639
pass
640640

641641

642+
# 'all' subcommand ("show runningconfiguration all")
643+
@runningconfiguration.command()
644+
def all():
645+
"""Show full running configuration"""
646+
run_command('sonic-cfggen -d --print-data')
647+
648+
642649
# 'bgp' subcommand ("show runningconfiguration bgp")
643650
@runningconfiguration.command()
644651
def bgp():

0 commit comments

Comments
 (0)