enabling nova VIF driver operation in a quantum plugin
Hi Folks,
Trying to see what's the right way to accomplish this. I'm prototyping a quantum plugin and for some of the operations, it is a pass-through to the nova VIF driver. For example, for create_port operation, I want the nova driver to assign the IP address to the VM.
This is what the create_port in my plugin looks like :
def create_port(self, context, port):
return super(MyQuantum
I use this command to create a VM
nova boot --image image_name --flavor m1.tiny --nic net-id=
When the VM comes up, it has the virtual interface plumbed in, but the IP address is not assigned.
I can see in the log that an IP address was assigned to the port :
('create port completed {} {}', {'status': 'ACTIVE', 'device_owner': u'compute:None', 'name': '', 'mac_address': 'fa:16:
I probably am missing something here, any thoughts ?
Thanks !
If it helps, here's quantum.conf
[DEFAULT]
auth_strategy = keystone
allow_overlappi
state_path = /opt/stack/
debug = True
verbose = True
service_plugins = quantum.
core_plugin = quantum.
rabbit_password = openstack
rabbit_host = localhost
rpc_backend = quantum.
bind_host = 0.0.0.0
bind_port = 9696
api_paste_config = api-paste.ini
control_exchange = quantum
notification_driver = quantum.
default_
notification_topics = notifications
[QUOTAS]
[DEFAULT_
[AGENT]
root_helper = sudo /usr/local/
[keystone_
auth_host = 10.9.12.20
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = openstack
signing_dir = /var/cache/quantum
[DEFAULT]
l3_agent_manager = quantum.
external_
signing_dir = /var/cache/quantum
admin_password = openstack
admin_user = quantum
admin_tenant_name = service
auth_url = http://
root_helper = sudo /usr/local/
use_namespaces = True
debug = True
verbose = True
# Show debugging output in log (sets DEBUG log level output)
# debug = True
# L3 requires that an interface driver be set. Choose the one that best
# matches your plugin.
# OVS based plugins (OVS, Ryu, NEC) that supports L3 agent
interface_driver = quantum.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Prashanth Prahalad for more information if necessary.