discover switches

POST https://{{dcnm}}/rest/control/fabrics/{{fabric_id_number}}/inventory/test-reachability

Used to find switches within a given network to be added into DCNM inventory for a specific fabric. Options in payload are similar to Fabric Builder UI, in which a seed IP, number of hops, and device credentials are given for DCNM to walk through.

Request Body

{"seedIP"=>"10.195.225.159", "snmpV3AuthProtocol"=>"0", "username"=>"admin", "password"=>"ins3965!", "maxHops"=>0, "cdpSecondTimeout"=>"5", "preserveConfig"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
dcnm-tokenstring