Comments (9)
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
from community.vmware.
cc @Tomorrow9 @goneri @lparkes @pgbidkar @warthog9
click here for bot help
from community.vmware.
I would like to have this feature as well.
But should it not be handled by vmware_dvs_host. Just add an uplink to the vmnic (lag-0, lag-1) and if nothing defined, just use the default (Uplink 1, Uplink 2)
from community.vmware.
@Aglidic I'm not sure I understand this issue. Could you please explain what exactly you have to do manually?
But should it not be handled by vmware_dvs_host.
I'm not sure since I don't understand the problem here. But I agree with you, assigning physical NICs of an ESXi hosts to LAG uplinks looks like a job for vmware_dvs_host
to me. For example, you might want (or have) to use vmnic0 and vmnic2 for lag-0 and lag-1 on one host, but vmnic1 and vmnic3 on another. So that's clearly something that's host specific and can't be done on the LAG level.
Just add an uplink to the vmnic (lag-0, lag-1) and if nothing defined, just use the default (Uplink 1, Uplink 2)
I'm not sure if a lot of people are doing this, but as far as I know you can have more than just one LAG on a virtual switch. If I understand your proposal correct, we couldn't support this. I haven't put much thought into this but what do you think about something like this:
vmnic:
- vmnic0
- vmnic1
lag_uplinks:
- lag: foo
vmnic:
- vmnic2
- vmnic3
- lag: bar
vmnic:
- vmnic4
- vmnic5
What do you think? I'm not really sure myself, I've just thought that up on the spur of the moment.
from community.vmware.
Hi, I am also interested in this. It is exactly as @mariolenz explained. When using 'community.vmware.vmware_dvs_host' module to add host vmnics to DVSwitch, they are added as plain uplink ports. There is no possibility to add them to a already created LAG uplink port. This would be perfect:
vmnic:
- vmnic0
- vmnic1
lag_uplinks:
- lag: foo
vmnic:
- vmnic2
- vmnic3
- lag: bar
vmnic:
- vmnic4
- vmnic5
from community.vmware.
Sorry @miguelgmedina but this turned out to be trickier to implement than I originally expected. I think I'm making some progress, but only slowly.
from community.vmware.
For the record: vmware/pyvmomi-community-samples#457
from community.vmware.
@noesberger @miguelgmedina #903 is still labeled as work in progress because I want to add an example and test cases, and I also have to update the documentation. But feel free to test it, I'm quite sure the code works.
from community.vmware.
@Aglidic @noesberger @miguelgmedina @tkelkermans Now that I added an example and test cases (and also tried to improve the quality of my code a bit) I don't consider #903 work in progress any more. Would be great if you could test this PR and tell me if it works for you :-)
from community.vmware.
Related Issues (20)
- vmware_guest vm compatibility version upgrade errors not reported correctly
- VMware Module OVF deployment does not work against VDS port group HOT 1
- new state in vmware_host_datastore to differentiate between unmount and remove HOT 2
- Task ist running forever! HOT 2
- VM deployment fails if "Computer name" in customization specification is set to "Ask User"
- vm_info cannot find specific vm HOT 13
- use vmware_guest_find to find folder of vm but failed HOT 15
- [Feature Idea] Lookup plugins for collection
- [DOCS] Add description about case sensitive in all modules. HOT 1
- community.vmware.vmware_guest_disk - not the configured datacenter HOT 8
- Configuration: Cluster -> VM Overrides HOT 1
- Get the desired IP through inventory plugin
- vmware_portgroup, "hosts" or "cluster" required when logging into ESXi HOT 2
- Use toolsVersionStatus2 instead of toolsVersionStatus HOT 3
- `NotAllowedInCurrentState` exception when deploying using `vmware_content_deploy_ovf_template`
- vmware_vm_inventory not working HOT 5
- Disk resize fails when using Ansible 2.15 HOT 3
- Issue with AWX EE and Connecting to vcenter with vmware_guest HOT 3
- vmware.vcenter_folder: does not create folder at the root when a 'subfolder' with the same name already exists HOT 3
- Secondary disks created on incorrect datastore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.vmware.