process after clicking "launch instance" button

Asked by jeffrey

hi, could anyone tell me what happens after i click the "Launch instance" button on Horizon? I know the basic process,but I just can't find the code which deals with the "click" action. I stopped at the following in nova\templates\nova\images_and_snapshots\images\_launch.html : <input class="btn btn-primary pull-right" type="submit" value="{% trans "Launch Instance" %}"
But what next after i click this button? what comes after this click(how it connects with the real launching process? )?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
John Postlethwait
Solved:
Last query:
Last reply:
Revision history for this message
Best John Postlethwait (john-postlethwait) said :
#1

Hi Jeffrey, see here: https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/modals.js#L98

Most all of these are handled via JS and AJAX, if JS is disabled, it simply goes to the href of the link.

Revision history for this message
jeffrey (jeffreycohobupt) said :
#2

Thanks John Postlethwait, that solved my question.