Quantcast
Channel: VMware Communities : Unanswered Discussions - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 6792

How to assign manual IP Address to VM during deployment with vRA 8 Blueprint

$
0
0

Hi,

 

I have good experience on vRA7. But, now I'm trying to learn vRA8. I have found a lot of article about Infoblox and vRA8 integration and I have done many scenario with this integration. But, I need to assign manual IP address with user input during deployment.

 

I can assign IP address of OS during deployment with the following custom properties on vRA 7 ;

 

VirtualMachine.NetworkN.Name

VirtualMachine.NetworkN.Address

VirtualMachine.NetworkN.SubnetMask

VirtualMachine.NetworkN.Gateway

VirtualMachine.NetworkN.PrimaryDns

VirtualMachine.NetworkN.SecondaryDns

VirtualMachine.NetworkN.DnsSuffix

VirtualMachine.NetworkN.DnsSearchSuffixes

 

 

I could not find any documentation about this...

 

I have created blueprint like this ;

formatVersion: 1

inputs:

  hostname:

    type: string

    title: hostname

resources:

  Cloud_vSphere_Machine_1:

    type: Cloud.vSphere.Machine

    properties:

      image: WinTemplate

      customizationSpec: Demo

      name: '${input.hostname}'

      cpuCount: 1

      totalMemoryMB: 1024

      networks:

        - network: '${resource.Cloud_vSphere_Network_1.id}'

          assignment: static

          address: 172.22.211.211

          deviceIndex: 0

  Cloud_vSphere_Network_1:

    type: Cloud.vSphere.Network

    properties:

      networkType: existing

      networkCidr: 172.22.0.0/16

      constraints:

        - tag: VLAN100

 

I'm getting this error ;" Unable to find a valid subnet for network 'Cloud_vSphere_Network_1' of type 'EXISTING' with constraints '[VLAN100]', reasons: [Network profile 'All-Networks' was skipped because [Network [Cloud_vSphere_Network_1] allocation: cannot allocate a network with static IP ranges for profile 'All-Networks'.]] (less) "

 

Is that possible with vRA 8 or do we have to completely change our understanding of the network with vRA8 ?


Viewing all articles
Browse latest Browse all 6792

Trending Articles



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