When max is set to and non zero value, and if there are other switches in the network within that hops, the discovery api returns all the switches available with that hop. In such cases inventory module tries to configure all available switches apart from the configured one. The fix now restricts the configuration only to the configured switch.
When max is set to and non zero value, and if there are other switches in the network within that hops, the discovery api returns all the switches available with that hop. In such cases inventory module tries to configure all available switches apart from the configured one. The fix now restricts the configuration only to the configured switch.