How to import CAS devices with enable passwords in bulk in MC
search cancel

How to import CAS devices with enable passwords in bulk in MC

book

Article ID: 402267

calendar_today

Updated On:

Products

Management Center

Issue/Introduction

MC CAS CSV migration template does not currently (and has not previously) supported Enable password, as adding a CAS to MC does not require Enable password. However Enable password is still needed to run scripts against a CAS once it's been added to MC. 

Resolution

To import CAS devices in bulk with enable password a JSON import option may be used:

1. In Operations -> Import from File select the following option:

2. Disable GPG encryption and select JSON file, note it must be nested in a GZIPed TAR container (.tar.gz):

3. Complete import wizard:

Sample JSON file is below. Multiple devices in the devices list can be added using the same JSON schema:

{"devices":[{"name":"CAS0X","deploymentStatus":"DEPLOYED","type":"cas","connectionInfo": {"host":"10.0.0.X","port":"8082","username":"admin","password":"SamplePassword","enablePassword":"SamplePassword","attributes":{"https":"true"}}},
{"name":"CAS0Y","deploymentStatus":"DEPLOYED","type":"cas","connectionInfo": {"host":"10.0.0.Y","port":"8082","username":"admin","password":"SamplePassword","enablePassword":"SamplePassword","attributes":{"https":"true"}}}]}