Gateway_less_Fwd: Auto explicit creation of "vhost0" interface at provisioning time to apply SGs for gateway less forwarding feature

Bug #1711318 reported by Chandra Sekhar Reddy Mallam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
Kumar Harsh
Trunk
Fix Committed
High
Kumar Harsh

Bug Description

Auto explicit creation of "vhost0" interface at provisioning time to apply SGs for gateway less forwarding feature.

As part of gateway less forwarding, we will allow security groups to be applied on "vhost0" interface. So, this mandates explicit creation of "vhost0" interface. Right now, user is manually creating "vhost0" interface for each virtual-router. This can be taken care by provisioning scripts internally.

Current manual steps
--------------------
>>> vnc_lib.virtual_routers_list()

>>> nodek11_vr = vnc_lib.virtual_router_read(id="82b1a0c6-fd7b-402b-b5b1-2e8b0cc69bdc") # Vrouter

>>> vmi1 = vnc_api.VirtualMachineInterface(name="vhost0", parent_obj = nodek11_vr) # Parent is vrouter object

>>> ipfab_vn = vnc_lib.virtual_network_read(id="bbd1ac2b-dd1a-465b-949c-8bd904e3b81b")  # IP Fabric VN

>>> vmi1.set_virtual_network(ipfab_vn) # Provider network is IP-Fab

>>> vnc_lib.virtual_machine_interface_create(vmi1)

Tags: vrouter
summary: - IP_Fabric_FWD: Auto explicit creation of "vhost0" interface at
+ Gateway_less_Fwd: Auto explicit creation of "vhost0" interface at
provisioning time to apply SGs for gateway less forwarding feature
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Kumar Harsh (hkumar)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35396
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35397
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35399
Submitter: Kumar Harsh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35396
Committed: http://github.com/Juniper/contrail-controller/commit/d438e28fe128577c91f58af73f089cc642070a0c
Submitter: Zuul (<email address hidden>)
Branch: master

commit d438e28fe128577c91f58af73f089cc642070a0c
Author: Kumar Harsh <email address hidden>
Date: Fri Sep 8 17:53:59 2017 +0530

Gateway less forwarding provisioning
create vhost0 vmi while adding vrouter object .

Change-Id: I28ed96b28000d8aadf31f473554119a3d853ab1e
Closes-bug: #1711318

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

Review in progress for https://review.opencontrail.org/35476
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35477
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35476
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35524
Submitter: Kumar Harsh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35524
Committed: http://github.com/Juniper/contrail-controller/commit/7e4a6ac7099922f1c0b5a2e1fe0272bedabadca1
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7e4a6ac7099922f1c0b5a2e1fe0272bedabadca1
Author: Kumar Harsh <email address hidden>
Date: Tue Sep 12 16:53:03 2017 +0530

For tor service node do not create vmi
for vhost0 interface.

Change-Id: I0917ada80006b0aa756795adf1d3133d61656e23
Closes-Bug: #1711318

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

Reviewed: https://review.opencontrail.org/35476
Committed: http://github.com/Juniper/contrail-controller/commit/170f3542a005415171c072866922e8bada969a1f
Submitter: Zuul (<email address hidden>)
Branch: master

commit 170f3542a005415171c072866922e8bada969a1f
Author: Kumar Harsh <email address hidden>
Date: Tue Sep 12 16:30:52 2017 +0530

Gateway less forwarding provisioning
create vhost0 vmi while adding vrouter object .

Handle delete cases when objects are not present.
Add flag to disable vhost0 vmi creation

Change-Id: I9985f6fe8051768feb63a33ace3b2f44183bf7c9
Closes-bug: #1711318

Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r4.0
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35942
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/36063
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/36063
Committed: http://github.com/Juniper/contrail-controller/commit/e19950aeace50558e1b596f602c2895a8e1f00a8
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit e19950aeace50558e1b596f602c2895a8e1f00a8
Author: Kumar Harsh <email address hidden>
Date: Tue Sep 26 15:08:20 2017 +0530

Gateway_less_Fwd provisioning
Disable interface policy flag on vhost0 vmi

Change-Id: Iee800ca6f7daac690f5c1b07b847b1339f22fade
Closes-Bug: #1711318

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

Reviewed: https://review.opencontrail.org/35942
Committed: http://github.com/Juniper/contrail-controller/commit/84d62df6f3653d1bcd53e1ca03a9eb77f7525641
Submitter: Zuul (<email address hidden>)
Branch: master

commit 84d62df6f3653d1bcd53e1ca03a9eb77f7525641
Author: Kumar Harsh <email address hidden>
Date: Tue Sep 26 15:08:20 2017 +0530

Gateway_less_Fwd provisioning
Disable interface policy flag on vhost0 vmi

Change-Id: Iee800ca6f7daac690f5c1b07b847b1339f22fade
Closes-Bug: #1711318

Nischal Sheth (nsheth)
information type: Proprietary → Public
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.