Added in version 1.8
Offers ability to copy and install a new operating system on Comware v7devices. Supports using .ipe or .bin system and boot packages.
parameter | required | default | choices | comments |
---|---|---|---|---|
ipe_package | no | File (including abs path path) of the local ipe package. | ||
boot | no | File (including abs path) of the local boot package (.bin) | ||
system | no | File (including abs path) of the local system package (.bin) | ||
remote_dir | no | flash:/ | The remote directory into which the file(s) would be copied. See default. | |
deafult |
|
|||
reboot | yes |
|
Determine if the reboot should take place after device startup software image is configured | |
delay | no | If reboot is set to yes, this is the delay in minutes to wait before rebooting. | ||
hostname | yes | IP Address or hostname of the Comware v7 device that has NETCONF enabled | ||
username | yes | Username used to login to the switch | ||
password | yes | Password used to login to the switch | ||
port | no | 830 | NETCONF port number | |
look_for_keys | no | False | Whether searching for discoverable private key files in ~/.ssh/ |
# Basic Install OS IPE - comware_install_os: ipe_package=/usr/5900_5920_5930-CMW710-E2415.ipe reboot=true username={{ username }} password={{ password }} hostname={{ inventory_hostname }} # Basic Install OS Boot/Sys - comware_install_os: reboot=yes boot=/usr/5930-cmw710-boot-e2415.bin system=/usr/5930-cmw710-system-e2415.bin username={{ username }} password={{ password }} hostname={{ inventory_hostname }}
Note
The parameters ipe_package and boot/system aremutually exclusive.If the files are not currently on the device,they will be transfered to the device.