openstack-api-manage/glance/glance_main.py

11 lines
371 B
Python
Raw Normal View History

2024-06-17 20:20:39 +08:00
from glance import image
def keystone_main():
print("====================")
print("选择一个操作:")
print("====================")
print("Glance操作")
print("1. 镜像管理")
print("====================")
choice = input("输入选项 (1-3): ")
ip = "172.30.26.171"
token = get_token.get_token(ip,'demo','admin','admin','000000')