This feature is already used on all the L3 devices, for consistency and leaner automation (currently behind flags) we should roll it to all the L2 devices as well once they're upgrades (only eqiad/codfw prod switches are left).
Description
Details
Event Timeline
Change 920311 had a related patch set uploaded (by Ayounsi; author: Ayounsi):
[operations/homer/public@master] Configure mgmt_junos on L2 switches
Change 920311 merged by jenkins-bot:
[operations/homer/public@master] Configure mgmt_junos on L2 switches
Change 922161 had a related patch set uploaded (by Ayounsi; author: Ayounsi):
[operations/homer/public@master] Introduce mgmt_junos variable
the fasw and asw1-eqsin switches didn't create the mgmt_junos routing instance as they should have.
https://gerrit.wikimedia.org/r/922161 works around the issue by adding a (hopefully) temporary variable to control the mgmt_junos routing instance.
Filtering on device type was not possible (as they're all asw) and filtering on device name/prefix was getting ugly as they're multiple devices impacted. This also allows to cleanly disable mgmt_junos on mr devices and on devices with no mgmt network (eg. knams routers)
Change 922161 merged by jenkins-bot:
[operations/homer/public@master] Introduce mgmt_junos variable
Change 922164 had a related patch set uploaded (by Ayounsi; author: Ayounsi):
[operations/homer/public@master] mgmt_junos: create default route if no mgmt_junos configured
Change 922164 merged by jenkins-bot:
[operations/homer/public@master] mgmt_junos: create default route if no mgmt_junos configured
Going to close this task as this is as far as we can go due to the fasw switches not being easily upgraded.
Mentioned in SAL (#wikimedia-operations) [2023-08-30T10:57:39Z] <XioNoX> enable mgmt_junos on fasw-c-codfw - T327862
Change 953591 had a related patch set uploaded (by Ayounsi; author: Ayounsi):
[operations/homer/public@master] gNMI: don't use mgmt_junos on asw1-eqsin and fasw
Change 953591 merged by jenkins-bot:
[operations/homer/public@master] gNMI: don't use mgmt_junos on asw1-eqsin and fasw