A trunk is used to attach multiple vPorts to a single NIC on a VM. These sub-vPorts are separated by a segmentation identifier (currently the VLAN ID) so the attached VM can distinguish between traffic on the sub-vPorts.


  • name (Mandatory): The name of the trunk
  • last_updated_by: ID of the user who last updated the object.
  • entity_scope: Specify if scope of entity is Data center or Enterprise level
  • associated_vport_id (Mandatory): the uuid of the parent vport (the trunkRole of the parent vport must be PARENT_PORT)
  • external_id: External object ID. Used for integration with third party systems


class fetcher
numetadata.NUMetadata metadatas
nuglobalmetadata.NUGlobalMetadata global_metadatas
nuvport.NUVPort vports