We wanted to create a blueprint which provides users an option to upload files from their local pc to datastore or File share ( NFS/https/http) .
(We tried using the inbuilt SCP vrp workflow, but that provides option to uploads files from vra applaince only )
Any inputs would be greatly appreacited
Thanks in advance
Even though I don't know your use case, I'm going to offer a little free, unsolicited advice here. What you're wanting to do is, in all likelihood, a very bad idea. Allowing users to upload their own files to be used in a subsequent blueprint opens the door wide up to abuse and compromise, especially in the hands of malicious users. Using a CMP like vRA is beneficial because of the control and governance it allows, but if you blow the door off those controls it can become a tool for destruction instead.
hi daphnissov ,
Thanks for the response.
Yes, we are aware of the risks. However there is a specific use case where we need to allow our admins to upload files from local PC to the specific file share like NFS,CIFS etc ( this blueprint will be accessible only by a specific team of admins)
As far as I'm aware, there are no built-in methods to perform such a task in either vRO natively or vRA. You'd have to cobble together something outside of those for the actual upload. Depending on what these files are and how (or even if) you want to consume them by vRA, you could potentially do some things with regard to vRO actions that populate the uploaded files from a specific location.
Here is a bare bones workflow that will do what you are attempting. Its the only way I know how to do this in the way you are describing. I can think of quite a few other ways to accomplish this as well using workflows but not needing to actually upload the file via the workflow. This is going to result in temporarily requiring space somewhere on the vRO server or a filesystem it has access to. You can modify where the temp file is created but for now its going in the default spot. Once its made a local copy you can then scp via vRO.
In our environment I have both Windows and linux hosts I use to ferry things around and perform tasks not so easy to do natively in vRO. You might want to come up with a scheme where you take in all the information necessary to move things about and then farm the tasks out to some worker systems with service accounts that have access to wherever they need. Just my 2 cents. Good luck. Hope this gets you going.