Create Multi-vendor Support for Neighbor Replication NITs
If you want to achieve multi-vendor support for neighbor replication logic, you can create multiple hub devices and multiple spoke devices to achieve this. The following diagram shows how to achieve this for 3 different vendors: Router, switch, and firewall.
Suppose you are working on a seed intent that needs to support the 3 vendors. For each hub device, you need to define the command to retrieve the data and neighbor table.
For each spoke device, you can define the cross-device diagnosis logic for all 3 hub devices. As shown in the diagram below, for the Spoke device “Spoke1-R1”, you can create 3 command sections, each command section with cross-device diagnosis to different hubs.

When using this seed intent to replicate for an incoming device, it will see what hub devices are matched for the incoming device, and then further only replicate the spoke device command that is associated with the matched hub device.
Use the following incoming device “R1” as an example which has 2 neighbors (“R2” as router and “SW3” as switch).

“R1” will match the seed device Hub1-R1. So “R2” will only keep the cross-device diagnosis command section with “R1”. The same for “SW3” as “SW3” will only keep the cross-device diagnosis command section with “R1”.