zebra: Add to show zebra the type of vrf devices being used

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-01-21 13:05:35 -05:00
parent 88fd4cb8ca
commit dd42779ff9

View File

@ -3970,6 +3970,15 @@ DEFUN (show_zebra,
{
struct vrf *vrf;
#ifdef GNU_LINUX
if (!vrf_is_backend_netns())
vty_out(vty, "VRF devices are available for usage\n");
else
vty_out(vty, "Namespaces are being used as VRF devices\n");
#else
vty_out(vty, "No VRF's available on this platform\n");
#endif
if (zrouter.asic_offloaded)
vty_out(vty, "Asic Offload is being used\n");
else