Skip to content

Adding virtual machine to VLAN #44

@mzenzie

Description

@mzenzie

I'm working on automating mass-cloning of a virtual machine from a template for testing purposes. Currently, the only network-related stuff my code creates is an adaptermap to a new static ip address for the cloned virtual machine. I've been looking through the docs, but can't quite seem to figure out how to add it to a VLAN on a switch. My current thought process is that the VirtualEthernetCardDistributedVirtualPortBackingInfo has to be updated in the ConfigSpec used for cloning, but I'm not quite sure what info should be changed, or to propagate it back to the server. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions