...
It is however possible to sidestep most of these requirements if you add devices manually and configure custom interfaces.
Creating a linknet between distribution switches
In the next step will add a second distribution switch to our database, and then create a linknet between the two distribution switches. Normally you would connect the distribution switches to core switches so this is a slight sidestep of the normal design but will make sense in a small network.
...
And if you then generate the config for eosdist1 you should get a new Ethernet4 interface configuration.
Creating a management domain
Core and distribution switches are managed via loopback interfaces routed in the overlay network. Access switches are however managed via a vlan interface on a subnet where all switches connected to the same pair of distribution switches are in one subnet. This is referred to as a management domain (mgmtdomain). See if you can use the API reference documentation to create a management domain for all access switches connected to the two distribution switches you added to the database earlier.
...