From 69d0c16e3068d691f2ab9fdf2712418e8eeddb4f Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 20 Nov 2023 22:21:17 +0100 Subject: [PATCH] src/klish-plugin-infix: show JSON of running-config The default srp_show@sysrepo function creates the stripped down version of running-config that, in the context of showing startup-config or the factory-config, is very difficult to explain to users why they differ in format. Signed-off-by: Joachim Wiberg --- src/klish-plugin-infix/xml/infix.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/klish-plugin-infix/xml/infix.xml b/src/klish-plugin-infix/xml/infix.xml index a6a05e3a..e2002a79 100644 --- a/src/klish-plugin-infix/xml/infix.xml +++ b/src/klish-plugin-infix/xml/infix.xml @@ -298,8 +298,7 @@ - - running + sysrepocfg -X -f json | jq -C .