This post is more than 5 years old

2 Posts

3220

September 12th, 2017 14:00

fetch running & Startup config files using webservice or rest api call by passing deviceid/hostname

What is the best way to get config files from EMC Voyence, All we have from external system is device name ( host name). We are looking to get config files both running and startup files using a service.

As external application doesnt know the UID , couldn't find a way to get config file without UID?

I am testing using soap ui to get config data , calling "getLatestConfigFile" procedure.  But from a third part system all we get is hostname : CHG_DCNSwitchStack.netact1.xyz.com

http://schemas.xmlsoap.org/soap/encoding/ ">

         http://api.common.configmgr.powerup.com ">

            0a77c03112cc4e93fd0bf289743010000

            OOS

            NETWORK

        

         http://api.common.configmgr.powerup.com ">

            0a77c0319d97d113fc5a5ffef5c010000

            CHG_DCNSwitchStack.netact1.xyz.com

            DEVICE

        

         startup

What is best way to accomplish this requirement?

54 Posts

September 18th, 2017 07:00

Av1984,

Please let me know if this answers your question.

GetAllNetworks Request:

============================

http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:urn="Urn:ApiService">

http://schemas.xmlsoap.org/soap/encoding/ "/>

==================================================

GetAllNetworks Response:

=================================================

http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance ">

http://schemas.xmlsoap.org/soap/encoding/ " xmlns:ns1="Urn:ApiService">

http://schemas.xmlsoap.org/soap/encoding/ " soapenc:arrayType="xsd:anyType[3]" xsi:type="soapenc:Array" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/ ">

http://schemas.xmlsoap.org/soap/encoding/ " xsi:type="ns2:ResourceIdentityInfo" xmlns:ns2=" http://api.common.configmgr.powerup.com " xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/ ">

0a1fc9f4de48ee3f9880a4f459010000

cust1

NETWORK

===================================================

GetAllOperationalDevice Request (Passing the value from getAllNetworks response)

===================================================

http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:urn="Urn:ApiService" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/ ">

http://schemas.xmlsoap.org/soap/encoding/ ">

http://api.common.configmgr.powerup.com ">

0a1fc9f4de48ee3f9880a4f459010000

cust1

NETWORK

54 Posts

September 13th, 2017 10:00

av1984,

Thank you for contacting Dell EMC Community Network.

I'll research your issue and followup with you tomorrow.

54 Posts

September 14th, 2017 06:00

Av1984,

To use getLatestConfigFile API, you need to first call getAllNetworks which will return the network UID and network Name and then pass this network value as argument to getAllOperationalDevices API Call.

From this call, you will find the device hostname and UID. Pass both network and device arguments to the getLatestConfigFile API call.

Please let me know if this resolves your issue.

2 Posts

September 14th, 2017 09:00

Can you send me the request you have posted for the function getAllOperationalDevices  in soap call


I see the request format is


http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:urn="Urn:ApiService" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/ ">

  

  

      http://schemas.xmlsoap.org/soap/encoding/ ">

         http://api.common.configmgr.powerup.com ">

            ?

            ?

            ?

        

         http://filter.api.common.configmgr.powerup.com ">

           

        

     

  

Can you give me a example of above request?

54 Posts

September 21st, 2017 09:00

AV1984,

Just to followup, did we answer or resolve your question?

Please let me know.

Kind Regards

No Events found!

Top