Ajoute l'option force reboot, reboot le switch pour appliquer les options reboot
This commit is contained in:
parent
ab37b30b3c
commit
4bac7c64dd
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -116,6 +116,7 @@ class Switch:
|
|||
{"ip_address":
|
||||
{"version":"IAV_IP_V4",
|
||||
"octets":self.settings["switchs_management_interface_ip"]}}},
|
||||
"is_forced_reboot_enabled": True,
|
||||
}
|
||||
# Nous lançons la requête de type POST.
|
||||
post_restore = requests.post(url_restore, data=json.dumps(data), headers=self.headers)
|
||||
|
|
Loading…
Reference in a new issue