]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Add a retrieve the mlag role function
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Dec 2018 13:01:50 +0000 (08:01 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Jan 2019 17:21:00 +0000 (12:21 -0500)
commitff1fb8d5f6171ed66f00339152f3e8433a7ff65d
tree23ccfabf8dfa642ee26d878622892a34506a4939
parentdf3956009145194f4025c136ded9942d9564c455
zebra: Add a retrieve the mlag role function

Add the ability to retrieve the current role of mlag for this machine.

If mlag is not setup we will always return MLAG_ROLE_NONE.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_mlag.c
zebra/zebra_mlag.h