0
votes

I want to retrieve the Network Gateway (Vyatta routers) credentials for doing the configuration over REST.

I can see the list of Network Gateway associated with my account using below REST call: curl -s https://username:[email protected]/rest/v3/SoftLayer_Account/getNetworkGateways

1
What does this have to do with Go (as tagged) or programming in general? - Adrian
I am developing my application using Go that's the reason , but you are correct this was not required - jayant kumar

1 Answers

0
votes

Try the following REST call to get the passwords of all members into each gateway:

https://[username]:[apiKey]@api.softlayer.com/rest/v3/SoftLayer_Account/getNetworkGateways?objectMask=mask[id,name,networkSpace,status.name,members[priority,hardware[id,fullyQualifiedDomainName,operatingSystem[id,passwords[username,password]]]]]