<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Abdul Malik</b> <span dir="ltr"><<a href="mailto:ajabbar2014@namal.edu.pk">ajabbar2014@namal.edu.pk</a>></span><br>Date: 12 February 2018 at 14:51<br>Subject: Port Binding between OpenStack nova VM and ODL network port<br>To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br><br><br><div dir="ltr"><div>Hello all,<br><br></div>I am working on SDN controllers with OpenStack and I want to connect a VM launched by Nova to a L3VPN port
created in OpenDayLight controller. I have managed to connect this port to a VM in
nova but how do I tell OpenDayLight that this port is connected to a VM
located on a particular host with id <id>. Do I just need to
update the attributes of that port in OpenDayLight or is there something
else I need to do to configure OpenDayLight i-e attributes of a port
are<br><br> "port": [<br> {<br> "uuid": "153f734e-396a-4201-b3ab-f16d0<wbr>8140504",<br> "tenant-id": "13d103ed-9d4b-4a5c-82bd-e34c6<wbr>8c7c3c5",<br> "network-id": "94c796b9-4e59-45e5-ba34-ce9d2<wbr>c77bfa8",<br> "fixed-ips": [<br> {<br> "subnet-id": "f877cea0-6ff9-42cf-86f0-afb39<wbr>0f32017",<br> "ip-address": "172.18.0.2"<br> }<br> ],<br> "neutron-binding:vif-type": "ovs",<br> "neutron-binding:vif-details": [<br> {}<br> ],<br> "neutron-binding:vnic-type": "normal",<br> "device-owner": "compute:None",<br> "name": "test_port",<br> "admin-state-up": true,<br> "mac-address": "fa:16:3e:b7:38:25"<br> }<br> ] <br><br>Do I just need to add "host_id" and "device_id" in above information or something more.<div><br></div><div>And if I am not getting things right guidance would be really appreciable.<br></div><div><br></div>Thanks</div>
</div><br></div>