13 Star 15 Fork 18

openEuler/eulerlauncher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vm_operations_pb2.py 3.72 KB
一键复制 编辑 原始数据 按行查看 历史
xwj 提交于 2023-09-26 22:16 . 1
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: vm_operations.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13vm_operations.proto\x12\x0cvmoperations\"\x9e\x01\n\x0f\x43reateVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x15\n\rvnuma_enabled\x18\x02 \x01(\x08\x12\x0e\n\x06vm_gen\x18\x03 \x01(\t\x12\x15\n\rinstance_path\x18\x04 \x01(\t\x12\x16\n\x0eroot_disk_path\x18\x05 \x01(\t\x12$\n\x06\x66lavor\x18\x06 \x01(\x0b\x32\x14.vmoperations.Flavor\"!\n\x0eStartVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\" \n\rStopVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\"K\n\x11\x41ttachDiskRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x11\n\tdisk_path\x18\x02 \x01(\t\x12\x12\n\ndrive_type\x18\x03 \x01(\t\"7\n\x11\x44\x65tachDiskRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x11\n\tdisk_path\x18\x02 \x01(\t\"m\n\x13\x43reateFlavorRequest\x12\x13\n\x0b\x66lavor_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63pucores_num\x18\x02 \x01(\t\x12\x14\n\x0cram_capacity\x18\x03 \x01(\t\x12\x15\n\rdisk_capacity\x18\x04 \x01(\t\"(\n\x13\x44\x65leteFlavorRequest\x12\x11\n\tflavor_id\x18\x01 \x01(\t\"\x1d\n\nVmResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"s\n\x06\x46lavor\x12\x11\n\tflavor_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66lavor_name\x18\x02 \x01(\t\x12\x14\n\x0c\x63pucores_num\x18\x03 \x01(\t\x12\x14\n\x0cram_capacity\x18\x04 \x01(\t\x12\x15\n\rdisk_capacity\x18\x05 \x01(\t2\x8a\x04\n\x13VmOperationsService\x12\x43\n\x08\x43reateVm\x12\x1d.vmoperations.CreateVmRequest\x1a\x18.vmoperations.VmResponse\x12\x41\n\x07StartVm\x12\x1c.vmoperations.StartVmRequest\x1a\x18.vmoperations.VmResponse\x12?\n\x06StopVm\x12\x1b.vmoperations.StopVmRequest\x1a\x18.vmoperations.VmResponse\x12G\n\nAttachDisk\x12\x1f.vmoperations.AttachDiskRequest\x1a\x18.vmoperations.VmResponse\x12G\n\nDetachDisk\x12\x1f.vmoperations.DetachDiskRequest\x1a\x18.vmoperations.VmResponse\x12K\n\x0c\x43reateFlavor\x12!.vmoperations.CreateFlavorRequest\x1a\x18.vmoperations.VmResponse\x12K\n\x0c\x44\x65leteFlavor\x12!.vmoperations.DeleteFlavorRequest\x1a\x18.vmoperations.VmResponseb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vm_operations_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_CREATEVMREQUEST']._serialized_start=38
_globals['_CREATEVMREQUEST']._serialized_end=196
_globals['_STARTVMREQUEST']._serialized_start=198
_globals['_STARTVMREQUEST']._serialized_end=231
_globals['_STOPVMREQUEST']._serialized_start=233
_globals['_STOPVMREQUEST']._serialized_end=265
_globals['_ATTACHDISKREQUEST']._serialized_start=267
_globals['_ATTACHDISKREQUEST']._serialized_end=342
_globals['_DETACHDISKREQUEST']._serialized_start=344
_globals['_DETACHDISKREQUEST']._serialized_end=399
_globals['_CREATEFLAVORREQUEST']._serialized_start=401
_globals['_CREATEFLAVORREQUEST']._serialized_end=510
_globals['_DELETEFLAVORREQUEST']._serialized_start=512
_globals['_DELETEFLAVORREQUEST']._serialized_end=552
_globals['_VMRESPONSE']._serialized_start=554
_globals['_VMRESPONSE']._serialized_end=583
_globals['_FLAVOR']._serialized_start=585
_globals['_FLAVOR']._serialized_end=700
_globals['_VMOPERATIONSSERVICE']._serialized_start=703
_globals['_VMOPERATIONSSERVICE']._serialized_end=1225
# @@protoc_insertion_point(module_scope)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/eulerlauncher.git
git@gitee.com:openeuler/eulerlauncher.git
openeuler
eulerlauncher
eulerlauncher
master

搜索帮助