sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
741 stars 1.44k forks source link

Add bmp dynamic feature switch in frr side config. #20895

Open FengPan-Frank opened 2 days ago

FengPan-Frank commented 2 days ago

Why I did it

Add bmp dynamic feature switch in frr side config, later will update liquid template to control bmp feature based on version.

Work item tracking

How I did it

Update bgpd.conf and supervisord.conf template to monitor the feature switch, and turn on corresponding section. Later once we want to turn on bmp feature, we will assign specific version on NDM liquid template, and on the rollout-ed host it will require a new config reload to take effect.

How to verify it

Added unit test cases.

Which release branch to backport (provide reason below if selected)

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

FengPan-Frank commented 2 days ago

Hi @StormLiangMS , we have new feature "bmp" which would like to be enabled in runtime later per NDM liquid config. The feature requires frr side config + cmd change, could you help on review if there's any concern? Thanks