The regex for the version selector in the used device profile is designed to match specific software version patterns, including specific NOS versions with certain constraints on subsequent characters. However, NXOS version 10.2(5) does not match the current regex.
https://www.juniper.net/documentation/us/en/software/apstra4.2/apstra-user-guide/topics/topic-map/apstra-cli.html3. Copy the file to your Apstra 4.2.1.1 VM, then install4. Install the apstra-cli utility with the below docker command
root@aos-server:/home/admin# docker image load -i apstracli-release_4.2.1.15.tar.gz
655ed1b7a428: Loading layer [==================================================>] 129.2MB/129.2MB
a89d1d47b5a1: Loading layer [==================================================>] 11.31MB/11.31MB
9ff6e4d46744: Loading layer [==================================================>] 19.31MB/19.31MB
8d51c618126f: Loading layer [==================================================>] 156.5MB/156.5MB
54acb5a6fa0b: Loading layer [==================================================>] 538.1MB/538.1MB
100796cdf3b1: Loading layer [==================================================>] 19.04MB/19.04MB
3d6eb1152931: Loading layer [==================================================>] 57.98MB/57.98MB
1f123186824c: Loading layer [==================================================>] 4.608kB/4.608kB
bfc1deb8136e: Loading layer [==================================================>] 11.5MB/11.5MB
f0a9360c6dc9: Loading layer [==================================================>] 3.42MB/3.42MB
426a602f8637: Loading layer [==================================================>] 223.6MB/223.6MB
Loaded image: apstracli:release_4.2.1.15
root@aos-server:/home/admin#5. Execute the below Docker CLi to access the apstra-cli
root@aos-server:/home/admin# docker run --rm -ti -v ~:/mytmp apstracli:release_4.2.1.15 -s 10.28.9.3
Password [admin]:
Welcome to Juniper Apstra CLI! Press TAB for suggestions
Juniper Apstra CLI version: release-4.2.1.15
Juniper Apstra Server URL: https://10.28.9.3:443, Version: 4.2.1.1-10
apstra-cli>
apstra-cli> blueprint --blueprint 1f3d4fd0-4b80-4c6b-8bbd-3847de38ffbf set-node-property --node_type device_profile --node w33Aenz7mT86uTuGmXQ --property selector --value-fn '{"os_version": ".*","model":"C93108TC-EX","os": "NXOS","manufacturer
": "Cisco"}'
Successfully queued task to update node w33Aenz7mT86uTuGmXQ property selector to {'os_version': '.*', 'model': 'C93108TC-EX', 'os': 'NXOS', 'manufacturer': 'Cisco'}
Review and validation done Proper screenshot attached
Modified the category from all to Apstra intent based on 2025:01:28
Removed partner assistance on 2025:01:29