I have Aruba CX 6100 12 ports switch to test before big deployment in near future and I was trying to use ADP and ZTP, but looks IMC ADP don't work as expected and it's full of bugs.
I used E706P11 and then used E708 version with 10.06 and 10.10 SW version, now here is what I was trying to accomplish on E708.
Boot the new switch, get new software update as I used commands like DHCPV4 snooping and get the last configuration after the initial config that has snmp and ssh password,
Test 1 copied the SW image 10.10 in the server/tmp folder, configured DHCP options, then when the SW boots, then switch started downloading the image via TFTP (slow copying performance tried adding blocksize to DHCP options, it worked for image but never copied the config file as always failed with invalid configuration file) successfully then switch rebooted then it started to download the image again but no reboot this time?!, then config file downloaded but switch never tried to connect to the IMC and ADP keep waiting.
Test 2: removed the image from the DHCP options, switch booted, got the initial configuration and started to connect to IMC, then config file sent to the switch but it fail in switch and ADP rebooted the SW thought the config applied, and that because the config not compatible with switch version ( I don't need to update DW omg manually as I think that what ZTP for!)
Test 3: tried again by sending compatible configuration and chose software upgrade in ADP, then script fail, after checking logs looks the script don't sent slot variable to the ICC script calling, so I just added slot = /os/primary/ in the initial.tlc file this made the process continue but it stuck, however the switch actually got the new image but never reboot
Test 4, removed the software upgrade configuration from ADP and used CLI script, and use in the script copy TFTP://x.x.x.x;blocksize=16384/6100.swi primary, script failed with ssh connection closed, checked logs again showing it fail to receive response from the switch while I checked plink and plink76 both got me the continue (y/n)? Prompt. Then I have tried to add the command auto-confirm in CLI script that made the image transfer but it fail again with SSH connection closed and never set the image as primary. I'm out of ideas as I don't know how to make it working
I need the switch to get new image before applying the configuration as my configuration has new commands not available in 10.06, 10.07.
Please can someone help me