Хуйня

This commit is contained in:
Seting-dev
2025-05-13 17:41:42 +03:00
parent c6ca475fda
commit b2e361f032
3 changed files with 55 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ import sys
import os
from cluster_api import *
from domain_api import *
from data_pools_api import *
from vm_info_short import *
power_state = ["Unknown" , "Off" , "Suspend" , "On"] #3 - on; 2 - suspend; 1 - off; 0 - unknown
@@ -120,6 +122,11 @@ while(menu_choice != ""): #main menu loop
for x in vm_uuids:
vm_info(base_url , api_key , x)
if menu_choice == "5":
data_pools(base_url , api_key)
if menu_choice == "6":
vm_info_short(base_url , api_key)
print("Exiting Utility..")
sys.exit()