Ask Your Question
0

Which part of the neutron code responsible for creating VM?

asked 2016-10-04 23:39:56 -0600

kramer gravatar image

updated 2016-10-07 21:26:06 -0600

Hi

I want to add some code in Neutron/Nova. So that the code can be triggered every time we create a VM. The code is responsible for sending information like VLAN, Network Name, Router Name to my SDN controller.

Do you have any suggestion where the code should be put?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-10-21 07:31:50 -0600

virginiedotta gravatar image

This assume you are using Heat templates to send particular command to your Controller to deploy specific Networks and VMs attached, right ?

You have to create a plugin for Neutron to do this. Once this will be done, every time you will send particular command only understandable by your SDN controller, Heat will send the command to the controller itself. Nova will deploy the VM, and you controller will be in charge of the Network, and at the end, your VM will be attached to this newly created network.

You cna refer to the documentation https://wiki.openstack.org/wiki/Neutron_Plugins_and_Drivers (Neutron Plugins and Drivers) where you can find also plenty of available plugin depending on what you would like to implement

Hope this can help you

edit flag offensive delete link more
0

answered 2016-10-14 15:12:44 -0600

Are you using horizon? OR only throught CLI?

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-10-04 23:39:56 -0600

Seen: 58 times

Last updated: Oct 07 '16