Ask Your Question
0

Create Multiple Instances with pre-created ports

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

anonymous user

Anonymous

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
1

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`
do
.......
done
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 82 times

Last updated: Mar 03 '16