Use it when designing, operating or troubleshooting virtualization automation around Network Automation. Keep object identity, management-task result, effective hypervisor state, guest readiness and workload acceptance as separate proof boundaries.
Network Automation · Virtualization Automation
Network Automation under Virtualization Automation manages virtual switches, bridges, port groups, VLANs and VM NIC attachment while separating management configuration from effective guest forwarding and external network reachability.
1. Virtual network automation: port groups/bridges/VLANs, IPAM, firewall rules.
2. Source of truth driven.
3. Consistent across hosts.
4. Validate after changes.
5. Document.
SoT → automation → virtual networks
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
network intent → VM/vNIC scope → vSwitch/bridge/port-group → host uplink/VLAN/policy → attachment task → effective virtual network state → guest link/IP → end-to-end forwarding acceptance
Healthy evidence: virtual attachment and backing network are explicit, effective state is read back and guest end-to-end forwarding succeeds.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: correct-looking port-group or bridge state hides wrong VLAN, uplink, guest addressing or external network policy.
Virtual-network configuration shows management state only, but it does not show guest TCP/IP configuration, physical underlay forwarding or application reachability.
Step 3 Common mistakes Narrow the fault
- Port groups/VLANs missing on some hosts.
Step 4 Where it fails Narrow the fault
Where Network Automation usually goes wrong: device identity, transport/API model, configuration versus operational state and forwarding-plane verification.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- vNIC attached ≠ guest link or IP configuration correct.
- Virtual switch object exists ≠ uplink forwards required VLANs.
- Port group/VLAN configured ≠ end-to-end path reachable.
- Management API success ≠ guest traffic follows intended policy.
- Port group/VLAN automation — networks
- IP allocation from IPAM — addressing
- Firewall rules as code — security
ReferenceWhat it is1 section · depth on demand
Core model
Resolve intended virtual network and VM NIC scope, validate host/uplink prerequisites, apply virtual switch/bridge/port-group or attachment changes, read back effective connectivity and show guest-to-destination data-plane behavior.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Virtualization Automation → Network Automation owns virtual-network orchestration for VM attachment; general Network Automation and Virtual Networking retain deeper device/protocol and virtualization semantics.
In depth
In virtualization automation, network automation creates and maintains virtual switches, port groups/VLANs and VM network adapters consistently on every host in a cluster.
Get-VDSwitch 'dvs-prod' | New-VDPortgroup -Name 'pg-vlan120-users' -VlanId 120
Get-VM web03 | Get-NetworkAdapter | Set-NetworkAdapter -Portgroup 'pg-vlan120-users' -Confirm:$false
Set-VMNetworkAdapterVlan -VMName web03 -Access -VlanId 120 # Hyper-V
Keep VLAN definitions in one source of truth (NetBox) and generate both physical switch trunks and virtual port groups from it, so they never disagree.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Automation > Network Automation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://opentofu.org/docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Network Automation virtualization automation proof-boundary map
Fast identity, task, effective-state and guest/workload proof boundaries for Network Automation.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / identity | Exact platform and VM/resource IDs plus source revision are explicit | Names, selectors or inventory paths resolve to the wrong or changing object |
| Management operation | Task/job response and asynchronous completion are traceable | Request acknowledgement or partial batch success is treated as completion |
| Effective virtual state | Runtime inventory, attachments and placement are read back | Desired/requested configuration substitutes for actual hypervisor state |
| Guest / workload proof | Guest readiness and original service test pass | Hypervisor success substitutes for guest or application health |
Deep reference
Healthy vs suspicious evidence
Output interpretation
For Network Automation, rely on structured fields and stable IDs (device identity, transport/API model, configuration versus operational state and forwarding-plane verification) rather than text formatted for display.