- [Arguments] ${device_name}
- [Documentation] Count all Netconf connectors referring to the specified device (usually 0 or 1).
- ${mounts}= Utils.Get_Data_From_URI operational network-topology:network-topology/topology/topology-netconf
+ [Arguments] ${device_name} ${session}=default
+ [Documentation] Count all instances of the specified device in the Netconf topology (usually 0 or 1).
+ # FIXME: This no longer counts netconf connectors, it counts "device instances in Netconf topology".
+ # This keyword should be renamed but without an automatic keyword naming standards checker this is
+ # potentially destabilizing change so right now it is as FIXME. Proposed new name:
+ # Count_Device_Instances_In_Netconf_Topology
+ ${mounts}= TemplatedRequests.Get_As_Json_From_Uri ${OPERATIONAL_API}/network-topology:network-topology/topology/topology-netconf session=${session}