Juniper / ansible-junos-stdlib

Junos modules for Ansible
Apache License 2.0
302 stars 156 forks source link

issue587 #636

Closed apurvaraghu closed 7 months ago

apurvaraghu commented 8 months ago

Devices with VMHOST only had reboot action supported and would throw an error if shutdown/poweroff was performed. The fix was to implement action:'shutdown' in the poweroff function with a check for vmhost=True and then call the respective rpc for shutting down vmhost devices on PyEz side. Also modify the function call for poweroff on the anisble side to support the same.