Skip to content

Commit

Permalink
Replace publicVersions with ltsVersions
Browse files Browse the repository at this point in the history
publicVersions is an alias for ltsVersions, kept for backward compatibility.
  • Loading branch information
ddraganov committed Dec 15, 2022
1 parent 6234051 commit 0a9969a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)])
Expand Down
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_eam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")

Expand Down
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_pbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")

Expand Down
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")

Expand Down
4 changes: 2 additions & 2 deletions pyVmomi/_typeinfo_vim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit 0a9969a

Please sign in to comment.