Follows the cpu_type argument added to create_vm_from_cloud_init in NAPALM/napalm-device-types feat/vm-cpu-type (NetOrk/netork#494).
VMware sets CPU compatibility per cluster (EVC), not per VM, and this driver offers no get_vm_cpu_types(), so None is the only value it accepts. Any other value raises ValueError before the image is fetched, rather than being silently dropped.
Follows the `cpu_type` argument added to `create_vm_from_cloud_init` in NAPALM/napalm-device-types `feat/vm-cpu-type` (https://git.netork.io/NetOrk/netork/issues/494).
VMware sets CPU compatibility per cluster (EVC), not per VM, and this driver offers no `get_vm_cpu_types()`, so `None` is the only value it accepts. Any other value raises `ValueError` before the image is fetched, rather than being silently dropped.
napalm_device_types' create_vm_from_cloud_init gained cpu_type, the CPU model
a new VM gets (netork#494). VMware sets CPU compatibility per cluster (EVC),
not per VM, and this driver has no get_vm_cpu_types() to offer a model, so
None is the only value it can honour. Anything else raises ValueError before
the image is fetched rather than being dropped silently.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Follows the
cpu_typeargument added tocreate_vm_from_cloud_initin NAPALM/napalm-device-typesfeat/vm-cpu-type(NetOrk/netork#494).VMware sets CPU compatibility per cluster (EVC), not per VM, and this driver offers no
get_vm_cpu_types(), soNoneis the only value it accepts. Any other value raisesValueErrorbefore the image is fetched, rather than being silently dropped.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.