From 86a3c941aaf69a302a5419a862970d9c6eabc2a1 Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Mon, 2 Apr 2018 17:50:17 -0700 Subject: [PATCH] [show] add 'show runningconfiguration all' subcommand (#230) --- show/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/show/main.py b/show/main.py index d2e0c19d9a63..83e5ea848a96 100755 --- a/show/main.py +++ b/show/main.py @@ -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():