I'd like to see a new verb implemented that would allow for SDK trigger of node rediscover immediately after adding a node via SDK. Its native already to the web gui and would be ideal for the SDK.
Without this verb network admins forced to set the NextRediscovery property to a low value, i.e datetime.datetime.now() + datetime.timedelta(minutes = 2) and then wait for the next rediscovery interval to come around (default 30 minutes) prior to being able to download configs in NCM. This is due to the sysObjectID being unknown and NCM being unable to match the device to a device template.
A work around to this is to implement an SNMP get for the sysObjectID prior to setting Orion.Nodes properties and adding the device via SDK, however I believe this is a feature that should be native to the SDK as it already exists in the GUI.
Another workaround which I am implementing now is set the low NextRediscovery property and then schedule the config download task in Celery/Redis for 60 minutes out after adding the node. This however could have an adverse effect on workers and queues if there are a lot of nodes being imported say on a major upgrade or re-install.
Please create a new verb RediscoverNow in Orion.Nodes to give us more flexibility.