code: def create_and_trunk_vlan(self, nexus_host, vlan_id, intf_type,
                                nexus_port, vni, is_native):
          
  
          starttime = time.time()
  
          self.create_vlan(nexus_host, vlan_id, vni)
          LOG.debug("NexusDriver created VLAN: %s", vlan_id)
  
          if nexus_port:
              self.send_enable_vlan_on_trunk_int(
                  nexus_host, vlan_id,
                  intf_type, nexus_port,
                  is_native)
  
          self.capture_and_print_timeshot(
              starttime, "create_all",
              switch=nexus_host)
docs: Create VLAN and trunk it on the specified ports.