cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2945
Views
0
Helpful
3
Replies

DNA API Discovery

alexxvillaus
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

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.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

3 Replies 3

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.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

It's working now!! Thank you @bigevilbeard 

Ha! Awesome, lucky guess!

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io
Getting Started

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: