mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
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:
parent
88fd4cb8ca
commit
dd42779ff9
@ -3970,6 +3970,15 @@ DEFUN (show_zebra,
|
|||||||
{
|
{
|
||||||
struct vrf *vrf;
|
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)
|
if (zrouter.asic_offloaded)
|
||||||
vty_out(vty, "Asic Offload is being used\n");
|
vty_out(vty, "Asic Offload is being used\n");
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user