Vcenter plugin should use HTTP interface for Add Port

Bug #1534765 reported by Hari Prasad Killi
34
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Andra Cismaru

Bug Description

As the thrift interface is to be deprecated, the vcenter plugin should use the HTTP interface provided by the agent. The following note gives an indication of where to get other info.

-----

We need to use vrouter-port-control script to send add/delete port notifications to agent. This script sends http messages for add/delete to agent. It also ensures that port info is persisted in file (Agent reads those files and re-adds port during restarts).

You can look at /usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py to see how vrouter-port-control script is being used.

The vrouter-port-control script is present in controller repo under src/vnsw/agent/port_ipc/

Regards,
Ashok

Tags: vmware
Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Feature request.

Changed in juniperopenstack:
assignee: Sachchidanand Vaidya (vaidyasd) → Andra Cismaru (andra)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20844
Submitter: Andra Cismaru (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20844
Committed: http://github.org/Juniper/contrail-vcenter-plugin/commit/28a255d9e8a775efa563afcc3cc256fe76cc75b4
Submitter: Zuul
Branch: master

commit 28a255d9e8a775efa563afcc3cc256fe76cc75b4
Author: Andra Cismaru <email address hidden>
Date: Wed Jun 1 15:21:17 2016 -0700

Vcenter plugin should use HTTP interface for Add Port
Closes-Bug: #1534765

Change-Id: I81d21f696d9c98db38c11d2ebbb0a46d54dc8fff

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.