Track FIP to instance IP or allowed address pair on an interface

Bug #1480050 reported by Hari Prasad Killi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Medium
Naveen N
Trunk
Fix Committed
Medium
Naveen N

Bug Description

We need to track FIP to a given instance ip or allowed address pair on the interface.

The requirement is that we have two VM(s) with VRRP (allowed address pair) user wants to assign same FIP to both VM(s). only VM with active VRRP address should get the FIP traffic.

Revision history for this message
Naveen N (naveenn) wrote :

It seems the schema is already sufficient to achieve this.
https://github.com/Juniper/contrail-controller/blob/master/src/schema/vnc_cfg.xsd#L1059

We need to adjust code to make floating-ip-fixed-ip-address (FIFIA) to mean that it should also track to this address.

In neutron plugin
https://github.com/Juniper/contrail-controller/blob/master/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py#L1596

we are setting FIFIA to address in IIP of VMI. Associating this floating-ip object to a second VMI will have to be done thru vnc api.
I guess code in control-node(?) and vrouter would need to change to have the rest of functionality for tracking.

thanks
ajay

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/13651
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13651
Committed: http://github.org/Juniper/contrail-controller/commit/3315302944a43158f2e47fd4fd656614d77b05d0
Submitter: Zuul
Branch: master

commit 3315302944a43158f2e47fd4fd656614d77b05d0
Author: Naveen N <email address hidden>
Date: Tue Sep 8 02:34:16 2015 -0700

* Track floating-ip to fixed-ip for packet processing

Floating-ip now has a configuration to set whats the
fixed-ip to be used for translation, process the
configuration and use fixed-ip for SNAT and DNAT of packet.
Test case for same.
Closes-bug:#1480050,#1466459

Change-Id: I1eb562bedcda2e4a2cb231f896b3dfa78ba90f3c

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13940
Submitter: Naveen N (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16024
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16024
Committed: http://github.org/Juniper/contrail-controller/commit/9c3b4196e6bf8c2eb1be96062d68acf489851abe
Submitter: Zuul
Branch: master

commit 9c3b4196e6bf8c2eb1be96062d68acf489851abe
Author: Naveen N <email address hidden>
Date: Tue Dec 29 08:30:14 2015 +0530

* Track floating-ip to fixed-ip for packet processing
Handle fixed-ip change
Test case for same.
Closes-bug:#1480050,#1466459

Change-Id: Ic7a89e2e4b57aa0fc8aaa3dcd3109240b1f0ad18

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

Other bug subscribers

Remote bug watches

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