Ask Your Question

Create Multiple Instances with pre-created ports

asked 2016-03-03 04:02:05 -0600

anonymous user


Hi everyone, I want to create multiple servers and give them ports that had been created before. How can I give multiport to multi servers? for 1 instance I know what should I do but for multi instance creating ...?

nova boot --flavor 2 --image <img-id> --nic port-id=<port-id> --min-count 1 --max-count 1 test12
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-03 04:27:51 -0600

dbaxps gravatar image

Sounds a bit strange. Wouldn't writing shell loop help ?
Placing sleep(10) between boots and dynamically generating
instances names in the same loop

for V in `shell command`
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-03 04:02:05 -0600

Seen: 147 times

Last updated: Mar 03 '16