Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Proper way to map XaaS Type on vRA 7.X Catalog

$
0
0

I have the following scenario (opinions are always welcome):

 

I want to provision a Load Balancer as a Service using XaaS. So, to accomplish this task, I've used the vRO DynamicType Plugin to create this association tree:

 

Namespace: LoadBalancer

  • Device (the device itself)
    • Virtual Server (virtual server data such as source/destination address, fqdn and some profiles)
      • Pool (Pool with the servers)
        • Pool Member (Servers themselves)

 

Then, I've created a workflow to Create a new load balancer wich takes some input such as:

  • Network Environment: So I can determine wich of my load balancers will have the request virtual server created
  • Server List: For now, I'm using a datagrid wich basically receives Server Address and Port (Wich I still dont know how to properly validate each inclusion on this grid, but I guess this is another thread)
  • Domain Name: From a list, the user will pick up an allowed domain.
  • <Few other informations>

 

And the workflow output is a DynamicType:LoadBalancer.VirtualServer. When the workflow finishes, I create the output using DynamicTypeManager.makeObject(), which for some reason, does not return anything while debugging but I can see the data when refreshing the inventory.

 

That setted up, I created the following:

 

XaaS Custom Resource: DynamicType:LoadBalancer.VirtualServer to create a Virtual Server resource with the form that I wanted (somehow) display to the end user after workflow is finished.

XaaS Resource Mapping: Map the custom resource Virtual Server to orchestrator type DynamicType:LoadBalancer.VirtualServer with it's proper Map workflow

XaaS Blueprint: The XaaS itself, with the proper form and provisioned resource mapped to the output parameter.

 

When I request the XaaS blueprint thru the Catalog, the workflow does work and the load balancer is provisioned perfectly except that nothing returns to the end user, so, I cannot tell the user what's the FQDN that I just generated, the source ip address and some more information that my object have. The deployment screen just shows it's completed but no response information is displayed.

 

Am I missing something or is there a better way to accomplish this scenario?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>