From 0a9969a1acf52a9394d4bf75992cfce228b2352f Mon Sep 17 00:00:00 2001 From: ddraganov Date: Thu, 15 Dec 2022 18:06:35 +0200 Subject: [PATCH] Replace publicVersions with ltsVersions publicVersions is an alias for ltsVersions, kept for backward compatibility. --- pyVmomi/_typeinfo_core.py | 4 ++-- pyVmomi/_typeinfo_eam.py | 4 ++-- pyVmomi/_typeinfo_pbm.py | 4 ++-- pyVmomi/_typeinfo_query.py | 4 ++-- pyVmomi/_typeinfo_sms.py | 4 ++-- pyVmomi/_typeinfo_vim.py | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pyVmomi/_typeinfo_core.py b/pyVmomi/_typeinfo_core.py index 2ee216ed..3e86d389 100644 --- a/pyVmomi/_typeinfo_core.py +++ b/pyVmomi/_typeinfo_core.py @@ -16,7 +16,7 @@ # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT ******* from __future__ import absolute_import from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType, AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL, F_SECRET -from pyVmomi.VmomiSupport import newestVersions, publicVersions, oldestVersions +from pyVmomi.VmomiSupport import newestVersions, ltsVersions, oldestVersions AddVersion("vmodl.version.version0", "", "", 0, "vim25") AddVersion("vmodl.version.version1", "", "", 0, "vim25") @@ -29,7 +29,7 @@ AddVersionParent("vmodl.version.version2", "vmodl.version.version2") newestVersions.Add("vmodl.version.version2") -publicVersions.Add("vmodl.version.version2") +ltsVersions.Add("vmodl.version.version2") oldestVersions.Add("vmodl.version.version0") CreateDataType("vmodl.DynamicArray", "DynamicArray", "vmodl.DataObject", "vmodl.version.version0", [("dynamicType", "string", "vmodl.version.version0", F_OPTIONAL), ("val", "anyType[]", "vmodl.version.version0", 0)]) diff --git a/pyVmomi/_typeinfo_eam.py b/pyVmomi/_typeinfo_eam.py index 0c80e103..34aa7e7d 100644 --- a/pyVmomi/_typeinfo_eam.py +++ b/pyVmomi/_typeinfo_eam.py @@ -6,7 +6,7 @@ from .VmomiSupport import F_LINK, F_LINKABLE from .VmomiSupport import F_OPTIONAL, F_SECRET from .VmomiSupport import newestVersions -from .VmomiSupport import publicVersions, dottedVersions +from .VmomiSupport import ltsVersions, dottedVersions from .VmomiSupport import oldestVersions AddVersion("vmodl.query.version.version4", "", "", 0, "vim25") @@ -684,7 +684,7 @@ AddVersionParent("vim.version.version12", "vim.version.version12") newestVersions.Add("eam.version.version7_6") -publicVersions.Add("eam.version.version7_6") +ltsVersions.Add("eam.version.version7_6") dottedVersions.Add("eam.version.version7_6") oldestVersions.Add("eam.version.version1") diff --git a/pyVmomi/_typeinfo_pbm.py b/pyVmomi/_typeinfo_pbm.py index b03f2df2..79e68f5e 100644 --- a/pyVmomi/_typeinfo_pbm.py +++ b/pyVmomi/_typeinfo_pbm.py @@ -6,7 +6,7 @@ from .VmomiSupport import F_LINK, F_LINKABLE from .VmomiSupport import F_OPTIONAL, F_SECRET from .VmomiSupport import newestVersions -from .VmomiSupport import publicVersions, dottedVersions +from .VmomiSupport import ltsVersions, dottedVersions from .VmomiSupport import oldestVersions AddVersion("vmodl.query.version.version4", "", "", 0, "vim25") @@ -1115,7 +1115,7 @@ AddVersionParent("pbm.version.version13", "pbm.version.version13") newestVersions.Add("pbm.version.v8_0_0_1") -publicVersions.Add("pbm.version.v8_0_0_1") +ltsVersions.Add("pbm.version.v8_0_0_1") dottedVersions.Add("pbm.version.v8_0_0_1") oldestVersions.Add("pbm.version.version1") diff --git a/pyVmomi/_typeinfo_query.py b/pyVmomi/_typeinfo_query.py index 83a4b29f..e147c5f1 100644 --- a/pyVmomi/_typeinfo_query.py +++ b/pyVmomi/_typeinfo_query.py @@ -2,7 +2,7 @@ from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType from pyVmomi.VmomiSupport import AddVersion, AddVersionParent from pyVmomi.VmomiSupport import F_OPTIONAL -from pyVmomi.VmomiSupport import newestVersions, publicVersions, oldestVersions +from pyVmomi.VmomiSupport import newestVersions, ltsVersions, oldestVersions AddVersion("vmodl.version.version0", "", "", 0, "vim25") AddVersion("vmodl.version.version1", "", "", 0, "vim25") @@ -37,7 +37,7 @@ AddVersionParent("vmodl.query.version.version1", "vmodl.query.version.version1") newestVersions.Add("vmodl.query.version.version4") -publicVersions.Add("vmodl.query.version.version4") +ltsVersions.Add("vmodl.query.version.version4") oldestVersions.Add("vmodl.query.version.version1") CreateDataType("vmodl.query.InvalidCollectorVersion", "InvalidCollectorVersion", "vmodl.MethodFault", "vmodl.query.version.version1", None) diff --git a/pyVmomi/_typeinfo_sms.py b/pyVmomi/_typeinfo_sms.py index f428eafb..7bbf6fdd 100644 --- a/pyVmomi/_typeinfo_sms.py +++ b/pyVmomi/_typeinfo_sms.py @@ -3,7 +3,7 @@ from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType from pyVmomi.VmomiSupport import AddVersion, AddVersionParent from pyVmomi.VmomiSupport import F_OPTIONAL, F_SECRET -from pyVmomi.VmomiSupport import newestVersions, publicVersions, oldestVersions, dottedVersions +from pyVmomi.VmomiSupport import newestVersions, ltsVersions, oldestVersions, dottedVersions AddVersion("vmodl.query.version.version4", "", "", 0, "vim25") AddVersion("vmodl.query.version.version3", "", "", 0, "vim25") @@ -1096,7 +1096,7 @@ AddVersionParent("sms.version.v7_0", "sms.version.v7_0") newestVersions.Add("sms.version.v8_0_0_0") -publicVersions.Add("sms.version.v8_0_0_0") +ltsVersions.Add("sms.version.v8_0_0_0") dottedVersions.Add("sms.version.v8_0_0_0") oldestVersions.Add("sms.version.version1") diff --git a/pyVmomi/_typeinfo_vim.py b/pyVmomi/_typeinfo_vim.py index 5260397f..d2fe9d16 100644 --- a/pyVmomi/_typeinfo_vim.py +++ b/pyVmomi/_typeinfo_vim.py @@ -21,7 +21,7 @@ from .VmomiSupport import F_LINK, F_LINKABLE from .VmomiSupport import F_OPTIONAL, F_SECRET from .VmomiSupport import newestVersions -from .VmomiSupport import publicVersions, dottedVersions +from .VmomiSupport import ltsVersions, dottedVersions from .VmomiSupport import oldestVersions AddVersion("vmodl.query.version.version4", "", "", 0, "vim25") @@ -714,7 +714,7 @@ AddVersionParent("vim.version.v7_0", "vim.version.v7_0") newestVersions.Add("vim.version.v8_0_0_1") -publicVersions.Add("vim.version.v8_0_0_1") +ltsVersions.Add("vim.version.v8_0_0_1") dottedVersions.Add("vim.version.v8_0_0_1") oldestVersions.Add("vim.version.version5")