Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Team

NameOrganizationEmail
Patrick LiuHuawei TechonologiesPartick.Liu@huawei.com
Jiang Chuncheng
(Lucius)Lu KaiHuawei Techonologies
jiangchuncheng@huawei
lukai1@huawei.com
(Lucius)Lu Kai
Xu ShipingHuawei Techonologies
lukai1@huawei
xushiping7@huawei.com
Li Shuai
Adarsh MHuawei Techonologies
lishuai12@huawei
adarsh.m@huawei.com
Zhang Yuanyou
Bharat SaraswalHuawei Techonologies
zhangyuanyou@huawei
bharat.saraswal@huawei.com
HongTao Yin
Gaurav AgrawalHuawei Techonologies
hongtao,yin@huawei
gaurav.agrawal@huawei.com
Zhao Ying
Janani BHuawei Techonologies
ying
janani.
zhaoying@huawei
b@huawei.com
Xu Shiping
Sonu GuptaHuawei Techonologies
xushiping7@huawei
sonu.gupta@huawei.com
Wu Wenbin
Vidyashree RamaHuawei Techonologies
wuwenbin2@huawei
vidyashree.rama@huawei.com

 

Vinod Kumar SHuawei Techonologiesvinods.kumar@huawei.com

...




What is L3VPN  

Layer 3 Virtual Private Networks (l3vpn): L3VPN is a technology based on PE. It uses MPLS to forward VPN packets over service provider backbones.

L3VPN comprises the following types of devices:

            Customer edge (CE) device—A CE resides on a customer network and has one or more interfaces directly connected to service provider networks. It can be a router, a switch, or a host. 

·           Provider edge (PE) device—A PE resides at the edge of a service provider network and connects one or more CEs. On an MPLS network, all VPN services are processed on the PEs.

·           Provider (P) device—A P device is a core device on a service provider network. It is not directly connected to any CE. It has only basic MPLS forwarding capability.

Introduction 

This project in ONOS implements the L3VPN creation requests from App. It provides a Rest Api for north app to use. When getting creation requests , the L3VPN component prepares the configuration informations and downloads the configuration informations into PE devices.

The Project is primarily driven by Yang Model.

Architecture

The architecture of L3VPN as below:

                                 Image Added

Basic Network diagram for L3VPN model:

                                      Image Added

Call Flow

                                                                                               Image Added

                                                      Image Removed                                            


What we do

NetL3VPN manager

It's a application. 

  • Provide REST services.
  • Provide distributed store for L3VPN instances.
  • Provide Resource Allocation for L3VPN instance.

NeL3VPN manager

It's a application. 

  • Provide REST services.
  • Provide distributed store for L3VPN configuration for different devices.
  • Provide configuration information decomposition for devices.

Core Enhancement

New behaviors and their Netconf-based implementation are added in driver subsystem.

L3vpnConfig: Behaviour for handling various drivers for L3VPN configuration.

HuaweiDeviceDescription: provide Implemention for discover Huawei Device Information.

HuaweiDriversLoader: Load configuration files.

Netconf Adapter

 

Project Plan

Road map

Image Removed

Goals

Hummingbird Release

Implement basic foundation for L3VPN

Basic configuration download to PE.

How we do

  • Build onos and start onos cli session.
  • Activate the below necessary apps in cli

    Info
    titleApplications to activate

    app activate org.onosproject.yang
    app activate org.onosproject.config
    app activate org.onosproject.restconf
    app activate org.onosproject.protocols.restconfserver
    app activate org.onosproject.netconf
    app activate org.onosproject.netconfsb
    app activate org.onosproject.l3vpn
    app activate org.onosproject.drivers.huawei

  • Configure all the necessary pre-configuration on the device to establish a netconf connection and then connect to the devices by following NETCONF#ConnectyourowndevicetoONOS
  • Configure L3VPN instance by sending via json.

    Code Block
    titleURI : http://127.0.0.1:8181/onos/restconf/data
    {       
    		"ietf-l3vpn-svc:l3vpn-svc":{
    			"vpn-services":{
                	"vpn-svc":[{
                    	"vpn-id":"vpna",
                    	"customer-name":"jan"
                	}]
            	}
    		}
    }
    Code Block
    titleURI : http://127.0.0.1:8181/onos/restconf/data/ietf-l3vpn-svc:l3vpn-svc
    {
    	"ietf-l3vpn-svc:sites":{
                	"site":[
                    	{
                    	"site-id":"100",
                    	"site-network-accesses":{
                    	    "site-network-access":[
                        	    {
                        	        "site-network-access-id":"500",
                            	    "bearer":{
                            	        "l3vpn-svc-ext:bearer-attachment": {
                            	            "pe-mgmt-ip":"172.16.11.12"
                            	        },
                            	        "requested-type":{
                            	            "l3vpn-svc-ext:requested-type-profile": {
                            	                "physical":{
                            	                    "physical-if":"Ethernet3/0/0"
                            	                }
                            	            }
                            	        }
                            	    },
                               
                            	    "vpn-attachment":{
                            	        "vpn-id":"vpna",
                            	        "site-role" :"any-to-any-role"
                            	    },
                               
                                	"ip-connection":{
                                    	"ipv4":{
                                    	"addresses":{
                                    	    "provider-address":"50.1.1.1",
                                    	    "mask":"24"
                                    	}
                                    	}
                                	}
                            	},
                            	{
                            	    "site-network-access-id":"501",
                            	    "bearer":{
                            	        "l3vpn-svc-ext:bearer-attachment": {
                            	            "pe-mgmt-ip":"172.16.11.13"
                            	        },
                            	        "requested-type":{
                            	            "l3vpn-svc-ext:requested-type-profile": {
                            	                "physical":{
                            	                    "physical-if":"Ethernet3/0/0"
                            	                }
                            	            }
                            	        }
                            	    },
                                
                               	 	"vpn-attachment":{
                               	    	"vpn-id":"vpna",
                               	    	"site-role" :"any-to-any-role"
                               	 	},
                               	 
                               		"ip-connection":{
                               	    	"ipv4":{
                               	    		"addresses":{
                               	        		"provider-address":"50.1.1.2",
                               	        		"mask":"24"
                               	     		}
                               	    	}
                               	 	}
                            	}
                            ]
                    	}
                    }
    			]
    		}
    }