14
An Operator Led Consortium NEM: Overview and ISSU plans

NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

An Operator Led Consortium

NEM: Overview and ISSU plans

Page 2: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Overview

VOLTHA

ONOS

NNI

OLT

ONUUNI

Compute

AGG

Network Edge Mediator (NEM)AbstractOLT

BNG

KAFKA

XOSLOGGING(elk stack)

MONITORING(prometheus)

Page 3: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

XOS Architecture

Northbound Interface

Core

Southbound Interface

Backend

synchronizerssynchronizerssynchronizers

xos-ws

xos-corexos-db

xos-gui

chameleon

kafka

xos-tosca

ONOS VOLTHA VNFs

Page 4: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

XOS Architecture

CORE

Models Models Models

ONOS VOLTHA VNFs

NB Interface

ONOS Synchronizer

vOLTSynchronizer

VNFSynchronizer

Page 5: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

XOS in SEBA

An example operation, OLT provisioning.

Models(OLTDevice) VOLTHA

NB Interface

vOLTSynchronizer

pre-provision

activate

wait for activation

Page 6: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

XOS in SEBA

CORE

Subscriber vOLT Crossconnect

VOLTHA ONOS

KAFKA

vOLTSynchronizer

Fabric-xconnectSynchronizer

An example operation, Subscriber authentication.

Workflow

WorkflowSynchronizer

ONOS

Page 7: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

XOS: The Synchronizer Framework

The synchronizer framework allows XOS to be extended in service- specific ways.

• Service-specific models• Service-specific business logic• Abstractions and logic that span multiple services

XOS supports diverse heterogeneous services. Different kinds services naturally need different models and logic.

Page 8: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Synchronizers specify models, and implement policies and steps

8

Policy

XOS Core

Foo Synchronizer

"Foo Changed" "U

pdat

e Ba

r"

Foo Bar

Step

ExternalComponent

"Bar Changed"

RESTFoo

xprotoBar

xproto

Page 9: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Types of Steps

- XOS -> External Component- Sync Step- Delete Step

- External Component -> XOS- Pull Step- Event Step

- XOS -> XOS- Model Policy

Page 10: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Synchronizers: moving to a library

The synchronizer framework was refactored as a python library.

- Developer benefits- Compliant with python best-practices- Developer friendly (IDEs)

- Community benefits- Ease of re-use promotes adoption

- Operational benefits- De-layering of containers -> Smaller containers

Page 11: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Migrations: principles

Anytime a model evolves actions needs to be take, mainly:

- Bring the database schema up to date- Make sure data are kept in a consistent state

Best practices:

- Migrations are treated as code- Migrations can be executed both ways

Page 12: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Migrations: example

Model v1:

string firstName

string lastName

Model v1.1:

string firstName

string lastName

string fullName

Model v2.0:

string fullName

A field is added (autogenerated)

Data are changed (custom logic)

Page 13: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Migrations: XOS

xos-migrate: https://guide.opencord.org/xos/dev/xosmigrate.html

- Generate standard migrations base on xProto changes- Allow developers to extend migrations with custom logic

Page 14: NEM: Overview and ISSU plans - Open Networking Foundation · NEM: Overview and ISSU plans. Overview VOLTHA ONOS NNI OLT ONU UNI Compute AGG Network Edge Mediator (NEM) AbstractOLT

Migrations: XOS

CORE

Synchronizer v1

xProto

Migrations

DB

Synchronizer v2

xProto

Migrations

Models v1 Models v2