]> git.puffer.fish Git - mirror/frr.git/commit
zebra: support for type-0 ESI 7636/head
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Wed, 21 Oct 2020 18:56:48 +0000 (11:56 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Mon, 30 Nov 2020 20:36:41 +0000 (12:36 -0800)
commit325d694b930e2d694bb78c629b56f7da3c95bf0d
tree8490e6159779f2f1cf433eada49e576ba57d3155
parent78695ce3a4d4faf6930f057b55c316b74a7426eb
zebra: support for type-0 ESI

Earlier type-3 ESI was the only format supported for evpn-mh. Updated the
CLI to allow a 10-byte type-0 ESI.

Both type-0 and type-3 ESIs are statically configured; just in two different
ways -
1. type-0 is configured as a complete 10-byte string
2. type-3 is configured as a 6-byte es-sys-mac and a 3-byte
local-discriminator.

Sample config -
!
interface hostbond1
 evpn mh es-id 00:44:38:39:ff:ff:01:00:00:01
!

This is a CLI-only change and has no functional impact.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
zebra/interface.h
zebra/zebra_evpn_mh.c