Where's the code of adding port to OVS when creating vm?
Asked by
Alex Wu
ENV: ubuntu 12.04, devstack with quantum, single node
I'm looking for the add-port code which should be called when I create vm on web UI.
I set pdb.set_trace in almost any possible code(like add_port, create_port etc.) but I couldn't find the one that add the port to OpenvSwitch.
The architecture says the agent adds the port to ovs, but I killed the agent and the ovs port could be added as before.
And then I killed dhcp/l3/agent threads, left quantum-server only. But the ovs port could be added on the web(while created vm) as before???? And it assigned the ip as before.. The behaviour of the thread was very confusing.
So what's the code that adds the port to ovs?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eugene Nikanorov
- Solved:
- Last query:
- Last reply:
To post a message you must log in.