megamsys / verticegateway

REST API server with built in auth, interface to ScyllaDB/Cassandra
https://www.megam.io
MIT License
24 stars 34 forks source link

CUST: The name of a launched VM/container needs to be customizable #570

Closed vinomca-megam closed 7 years ago

vinomca-megam commented 7 years ago

@vinomca-megam

Pattern Description
<profile> for short profile as regexed from email
<region> to include the user.launch.region in the name
<globalinc> a global incremental counter for the launches (Assembly)
<seriesinc> a series incremental counter for the launchers (Assembly) per user
<randominc> a random number counter

Examples


users:
launch_patternname: <profile><seriesinc>

Outputs: vinov1, ranjitha05


users:
launch_patternname: <profile>.<seriesinc>

Outputs: vinov.1, ranjitha.5


users:
launch_patternname: <profile>.<randominc>

Outputs: vinov.212, ranjitha.454


users:
launch_patternname: <profile>.<randominc>.<seriesinc>

Outputs: vinov.212.1, ranjitha.454.1


users:
launch_patternname: <randominc>.<seriesinc>

Outputs: 212.1, 454.1