config_tool: add vm_name field for launch config

add vm_name field for launch config

Tracked-On: #6685
Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
Weiyi Feng
2021-11-05 11:45:48 +08:00
committed by wenlingz
parent 3b4d3a3ceb
commit 0031637400
3 changed files with 23 additions and 2 deletions

View File

@@ -256,6 +256,11 @@ def get_user_vm_type():
return user_vm_types
def get_user_vm_names():
user_vm_names = common.get_leaf_tag_map(common.LAUNCH_INFO_FILE, "vm_name")
return user_vm_names
def is_bdf_format(bdf_str):
bdf_len = 7
status = True