I need to define a NIC for my windows substrate as a variable.
current workflow:
User selects subnet string from predefined variable >
Pre-Create Parses and sets the subnet variable to the json from previous step.
The NIC can be connected to
one of n(x) subnets that are defined in the following escript:
subnet1 = { "name": "name", "uuid": "redacted_uuid" }subnet2 = { "name": "name", "uuid": "redacted_uuid" }subnet3 = { "name": "name", "uuid": "redacted_uuid" }subnets = { "Preprod": subnet1, "Preprod": subnet2, "Prod-IaaS": subnet3 }print("{}".format(json.dumps(subnets.get("@@{appSubnet}@@"))))
Output: @@{setSubnet}@@
Profile Configuration:
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/998ccd6e-5cf8-49e0-8662-0aea84e8895b.png)
This is where it breaks:
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/43d60a7b-24b8-478c-a6ee-7552eee71e4d.png)
Best answer by charan-49230
View original