02-01-2021 05:46 AM
Hello,
I’m working with the “POST - Start discovery” API in DNA-C and I can’t figure out the value of one of the keys in the model.
My question to the community is, does anyone know the string/value that goes on ‘preferredMgmgIPMethod’?
I have tried:
'preferredMgmtIPMethod': 'loopback’,
'preferredMgmtIPMethod': 'loopback0’,
'preferredMgmtIPMethod': 'Loopback’,
'preferredMgmtIPMethod': 'Use Loopback’,
'preferredMgmtIPMethod': 'UseLoopback’,
'preferredMgmtIPMethod': 'Use_Loopback’,
I always get this error:
"progress": "Inventory service initiate discovery has failed.",
"endTime": 1612186503472,
"errorCode": "BadRequest",
"isError": true,
"failureReason": "Incorrect preferred management IP method",
If I set the value to ‘None’ the API works and the discovery process starts just fine.
Thank you in advance for your help.
Solved! Go to Solution.
02-01-2021 09:59 AM
Taking a shot in the dark here 'UseLoopBack' - note the capital 'B' Guessing here, based on a json file i have from a while back.
Hope this helps.
02-01-2021 09:59 AM
Taking a shot in the dark here 'UseLoopBack' - note the capital 'B' Guessing here, based on a json file i have from a while back.
Hope this helps.
02-01-2021 10:40 AM
It's working now!! Thank you @bigevilbeard
02-02-2021 01:38 AM
Ha! Awesome, lucky guess!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: