libvirt: Nova vif driver plugin for opencontrail

Registered by prasad miriyala on 2014-11-18

This blueprint is to add plugin for OpenContrail in existing Nova VIF driver to support, OpenContrail based network virtualization for Kilo release of Openstack.

The OpenContrail APIs will cover following:
* Create Interface
* Delete Interface
* Get Interface Config

Problem description
===================

OpenContrail is open source network virtualization solution. It uses standards
based BGP L3VPN closed user groups to implement virtual networks.
The link http://OpenContrail.org/OpenContrail-architecture-documentation/
explains the architecture of OpenContrail plugin

OpenContrail is loading its VIF driver via openstack-config command using option libvirt_vif_driver.
In Kilo this option is no longer supported and same needs to be implemented under Nova VIF driver.

Proposed change
===============

Add OpenContrail APIs to handle the Creation/Deletion/Get of interfaces in Nova VIF driver.
There are no changes to the Nova common code.

Implementation
==============

Vif Model - VIF_TYPE_VROUTER

Following APIs will be implemented:

def get_config_vrouter(self, instance, vif, image_meta, inst_type, virt_type)
def plug_vrouter(self, instance, vif)
def unplug_vrouter(self, instance, vif)

References
==========
http://www.OpenContrail.org
https://github.com/Juniper/contrail-controller

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
prasad miriyala
Direction:
Approved
Assignee:
prasad miriyala
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
John Garbutt on 2015-01-27
Completed by
John Garbutt on 2015-02-24

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/is,n,z

Addressed by: https://review.openstack.org/126446
    OpenContrail Nova VIF driver implementation

This has missed the Feature Freeze Proposal deadline, unapproving this blueprint. --johnthetubaguy 26th Jan 2015

<-- sorry this, was on review and it's just 95 lines code.. can we get FFE?
https://review.openstack.org/#/c/148805/1

Sorry, we have now hit the non-priority feature freeze for kilo. Please resubmit your spec for the L release. --johnthetubaguy 5th Feb 2015
Gerrit topic: https://review.openstack.org/#q,topic:bp/opencontrail-nova-vif-driver-plugin,n,z

Addressed by: https://review.openstack.org/148805
    Contrail VIF Driver changes for Nova-Compute

Blueprint is given an exception for one week. Although I am unsure about the level of benefit being correctly assessed here --johnthetubaguy 16th Feb 2015

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.