how to add network parally heat orchestation icehouse

asked 2015-09-19 00:31:15 -0500

Pritam gravatar image

Hi All, I am writing a script to add multiple server with multiple NIC serially. like network1 should go to eth1, network2 to eth2 and so on. can we modify it with depends_on. here is my script let me know how to go on. net_id1: type: string default: CK-Mgmt-Net

net_id2: type: string default: CK-Backup-Net

net_id3: type: string default: CK-Monitor-Net

net_id4: type: string default: CK-Data-Net

cluster_size: type: number label: Cluster size description: Number of instances in cluster.

resources: my_indexed_group: type: OS::Heat::ResourceGroup properties: count: { get_param: cluster_size } resource_def: type: OS::Nova::Server properties: name: Nimbus-server_%index% image: { get_param: image } key_name: { get_param: key_name } flavor: { get_param: flavor } networks: - network: { get_param: net_id1 } - network: { get_param: net_id2 } - network: { get_param: net_id3 } - network: { get_param: net_id4 }

Regards, Pritam

edit retag flag offensive close merge delete