Support disabling of policy on a given Virtual Machine Interface

Bug #1558920 reported by Ashok Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Wishlist
Ashok Singh
Trunk
Fix Committed
Wishlist
Ashok Singh

Bug Description

This bug is to track changes required to support disabling of policy on Virtual Machine Interface.

When policy is disabled, features like SG, floating-IP, VN based policy and VRF assign rules configured on that interface will not be functional.

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

Review in progress for https://review.opencontrail.org/18514
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
Ashok Singh (ashoksr) wrote :

When policy is enabled, flows are created by the system. When DNS server is hosted on a VM, the number of DNS queries coming from different clients was huge resulting in too many flows. So providing an option to disable flows to improve performance for cases where flows are not really required.

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

Reviewed: https://review.opencontrail.org/18514
Committed: http://github.org/Juniper/contrail-controller/commit/1a2ae04bca89109ce95b543bd0b939e690b76b27
Submitter: Zuul
Branch: master

commit 1a2ae04bca89109ce95b543bd0b939e690b76b27
Author: Ashok Singh <email address hidden>
Date: Thu Mar 17 22:41:39 2016 -0700

Schema changes to disable policy on VMI

Define a bool type field to disable policy which will be a property on VMI. The
default value for this field will be false.

Change-Id: Iae690150e12e19eb28ecd4fd996d48c2a1dc2452
Partial-Bug: #1558920

Changed in juniperopenstack:
milestone: none → r3.1.0.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/18602
Submitter: Ashok Singh (<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/18606
Submitter: Ashok Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18602
Committed: http://github.org/Juniper/contrail-controller/commit/1143bab1501aa9f08e778023aa61f899d9e4e6fc
Submitter: Zuul
Branch: R3.0

commit 1143bab1501aa9f08e778023aa61f899d9e4e6fc
Author: Ashok Singh <email address hidden>
Date: Thu Mar 17 22:41:39 2016 -0700

Schema changes to disable policy on VMI

Define a bool type field to disable policy which will be a property on VMI. The
default value for this field will be false.

Partial-Bug: #1558920
(cherry picked from commit 1a2ae04bca89109ce95b543bd0b939e690b76b27)

Change-Id: I9d0bb90ed9b70e3a52d35a8a9aa7c085f9717e03

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

Review in progress for https://review.opencontrail.org/18606
Submitter: Ashok Singh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18756
Submitter: Ashok Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18606
Committed: http://github.org/Juniper/contrail-controller/commit/03fffc7822ab010f1f497566f31f9cc880de1f46
Submitter: Zuul
Branch: master

commit 03fffc7822ab010f1f497566f31f9cc880de1f46
Author: Ashok Singh <email address hidden>
Date: Mon Mar 21 23:15:35 2016 -0700

Support disabling of policy on VMI

Parse disable-policy configuration on VMI and update the policy status
of VMI.

Add UT to verify the following on disabling of policy on VMI.
-Verify that L2/L3 routes of the VMI point to policy disabled NH
-Verify that mpls label points to policy disabled NH
-Verify that l2 mpls label of VMI points to policy disabled NH
-Verify that interface's flow-key-nh points to policy enabled NH
-Verify that interface's metadata ip route points to policy enabled NH

Change-Id: I876637775cfd5f1058a0ddd25b029fc1d007b140
Closes-Bug: #1558920

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/18756
Committed: http://github.org/Juniper/contrail-controller/commit/d8cdf3cee79bb48c9ec349d4864ae8bbfea3031f
Submitter: Zuul
Branch: R3.0

commit d8cdf3cee79bb48c9ec349d4864ae8bbfea3031f
Author: Ashok Singh <email address hidden>
Date: Fri Mar 25 01:12:07 2016 -0700

Support disabling of policy on VMI

Parse disable-policy configuration on VMI and update the policy status
of VMI.

Add UT to verify the following on disabling of policy on VMI.
-Verify that L2/L3 routes of the VMI point to policy disabled NH
-Verify that mpls label points to policy disabled NH
-Verify that l2 mpls label of VMI points to policy disabled NH
-Verify that interface's flow-key-nh points to policy enabled NH
-Verify that interface's metadata ip route points to policy enabled NH

Change-Id: I62673790066a0ed9cbfc00bd1fa1909e9d8412c1
Closes-Bug: #1558920

information type: Proprietary → Public
Revision history for this message
alok kumar (kalok) wrote :

policy disable behaviour with Floating IP:
https://bugs.launchpad.net/juniperopenstack/+bug/1582677

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.