updateSiteEvpnTopology

PUT https://{{host}}/api/v1/sites/:site_id/evpn_topologies/:evpn_topology_id

While all the evpnid / downlinkips can be sspecifidd by hand, the easiest way is to call the buildvpntopology API, allowing you to examine the diff, and update it yourself. You can also simply call it with overwrite=true which will apply the updates for you.

Notes:

  1. you can use core / distribution / access to create a CLOS topology (or super-spine / spine / leaf)
  2. you can also use core / distribution to form a 2-tier EVPN topology where ESI-Lag is configured distribution to connect to access switches
  3. in a small/medium campus, collapsed-core can be used where core switches are the inter-connected to do EVPN
  4. The API uses a few pre-defined parameters and best-practices to generate the configs. It can be customized by using evpn_options in Site Setting / Network Template. (e.g. a different subnet for the underlay)

Request Body

{"overwrite"=>false, "switches"=>[{"mac"=>"5c5b35000003", "role"=>"collapsed-core"}, {"mac"=>"5c5b35000004", "role"=>"none"}]}