DRAFT PROPOSAL FOR COMMENTS
The content of this template is expected to be fill out for M1 Release Planning Milestone.
Info | ||
---|---|---|
| ||
Use the "Copy" and "Move" options (available under the ..., top right of this page) to duplicate this template into your project wiki. |
Table of Contents | ||
---|---|---|
|
...
Table of Contents | ||
---|---|---|
|
Overview
Project Name | ONAP Optimization Framework (OOF) |
---|---|
Target Release Name | Beijing |
Project Lifecycle State | Incubation |
Participating Company | AT&T, Intel, Netcracker, VMWare, ZTE (in lexical order) |
Scope
What is this release trying to address?
The Beijing release is the first release of the OOF project and has the following key objectives in this release:
...
- Provide foundations of components required to support broader use cases that are targeted for R2+
- Exploratory efforts that are in the scope of near-term and longer-term OOF objectives
Detailed Scope Description
ONAP Optimization Framework (OOF) provides the ability to create and run a policy-driven optimization application in a declarative, model-driven matter via the Optimization Service Design Framework (OSDF). The OSDF builds upon seed code from AT&T by bringing in new optimization technologies identified via collaborative efforts to provide a declarative, model-driven optimization framework. The OSDF also supports integration with custom coded optimization applications. This release includes the Homing and Allocation Service (HAS), which again builds upon seed code from AT&T, and addresses a core ONAP requirement, Homing/Placement of VNFs and Services (VNF Homing Capability).
...
- Provide foundational components required to support broader use cases targeted for R2+
The objective is build “foundations" of components that will be developed and be ready for integration with applications supporting broader use cases such as:- VoLTE use case
- 5G family of use cases
- Broader CMSO use case
- Pursue exploratory efforts that are in the scope of near-term and longer-term OOF objectives
We have identified some general features that we believe will be required in the near-term to longer term (timeframe or two or three releases in the future). However, the core OOF group will be focusing on the ONAP release deliverables and will not be able to spend substantial development effort on these items. Fortunately, these appear to align well with recent advances pursued by the broader optimization community. So, initially, we will pursue these via engaging the broader optimization community to contribute ideas and models. Specific features of interest currently are:- General algorithms for addressing uncertain data
- Robust scheduling under uncertainty
- Optimization of resource allocation when only approximate/averaged metrics are available
Use Cases
- Targeted goal in R2:
- Stretch goal in R2:
- Use Case: VoLTE (approved)
- 5G family of use cases
- Broader CMSO use case
Minimum Viable Product
- OOF-HAS - Homing Service (runtime) that can be provides optimized placement based on policy constraints, across multiple clouds and multiple sites
- OOF-OSDF - Optimization Design framework (runtime) that supports HAS, the Homing Optimizer
Application demonstrating a declarative, model-driven, and policy-driven basic CMSO functionality (this effort is aligned with broader CMSO use case)
- HPA functionality integration into OOF
- Integration with Multi Cloud (incorporation of runtime metrics)
Functionalities
List the functionalities that this release is committing to deliver by providing a link to JIRA Epics and Stories. In the JIRA Priority field, specify the priority (either High, Medium, Low). The priority will be used in case de-scoping is required. Don't assign High priority to all functionalities.
Epics
Jira Legacy server System Jira columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution maximumIssues 20 jqlQuery project=optfra and issuetype=epic and fixVersion = "Beijing Release" serverId 4733707d-2057-3a0f-ae5e-4fd8aff50176
Stories
Jira Legacy server System Jira columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution maximumIssues 20 jqlQuery project=optfra and issuetype=story and fixVersion = "Beijing Release" serverId 4733707d-2057-3a0f-ae5e-4fd8aff50176
Longer term roadmap
As the ONAP platform matures and new capabilities are introduced over time, the need for platform optimization services will grow along with it. The ONAP Optimization Framework is envisioned to handle this need as effectively as possible, by enabling creation of new optimization services with minimal or little new code development. The goal of OOF is to provide
(i) a growing set of core platform optimization services such as VNF placement and resource allocation (OOF-HAS), change management scheduling (OOF-CMSO), etc.
(ii) a framework (OOF-OSDF) that allow users to construct new optimization services and to extend/enhance existing platform optimization services.
Vision for OSDF:
OOF-OSDF is envisioned to be a collection of design time optimization libraries along with reusable runtime tools and microservices to facilitate and simplify the creation of new specific runtime optimization functionalities. The goal of OSDF is to avoid siloed optimization tools and associated duplicated efforts and overheads. For instance, the Homing Service, HAS (which is targeted for Beijing release) will not only contribute its reusable components to the framework, but also leverages the framework in its own feature development. Other potential optimization services that can be built using this framework include energy optimization in networks, optimal route selection for various network services, and radio access network (RAN) performance optimization.
Vision for HAS:
...
Tasks and Sub-Tasks
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Longer term roadmap
As the ONAP platform matures and new capabilities are introduced over time, the need for platform optimization services will grow along with it. The ONAP Optimization Framework is envisioned to handle this need as effectively as possible, by enabling creation of new optimization services with minimal or little new code development. The goal of OOF is to provide
(i) a growing set of core platform optimization services such as VNF placement and resource allocation (OOF-HAS), change management scheduling (OOF-CMSO), etc.
(ii) a framework (OOF-OSDF) that allow users to construct new optimization services and to extend/enhance existing platform optimization services.
Vision for OSDF:
OOF-OSDF is envisioned to be a collection of design time optimization libraries along with reusable runtime tools and microservices to facilitate and simplify the creation of new specific runtime optimization functionalities. The goal of OSDF is to avoid siloed optimization tools and associated duplicated efforts and overheads. For instance, the Homing Service, HAS (which is targeted for Beijing release) will not only contribute its reusable components to the framework, but also leverages the framework in its own feature development. Other potential optimization services that can be built using this framework include energy optimization in networks, optimal route selection for various network services, and radio access network (RAN) performance optimization.
Vision for HAS:
OOF-HAS, or the Homing Service is a distributed resource broker that enables automated policy-driven optimized placement of services on a global heterogeneous platform using ONAP. HAS is architected as an extensible homing service that can accommodate a growing set of homing objectives, policy constraints, data sources and placement algorithms. It is service-agnostic by design and can easily onboard new services with minimal effort. HAS is designed to be used as a building block for both initial deployment, as well as runtime redeployment due to failures or runtime-capacity increase (scale-out). While the immediate deliverable of HAS in Beijing Release is to provide optimized homing/placement of services during the service instantiation workflows in ONAP, HAS naturally extends to a general policy-driven optimizing placement platform for all platform placement functions, including placements of VMs, containers (e.g., for DCAE micro-services), ONAP Control Loops or VNF specific resources. HAS will also eventually allow placements of additional resource types such as licenses, VNF resources, etc.
Release Deliverables
Indicate the outcome (Executable, Source Code, Library, API description, Tool, Documentation, Release Note...) of this release.
Deliverable Name | Deliverable Description |
---|---|
OOF-HAS | Executable, and source code for the Homing Service for the ONAP platform |
OOF-OSDF | Executable and source code that provides optimization design framework support to optimizers like HAS; this will also include the simple CMSO application |
OOF policy/data plugins | Plugins that help retrieve policies from the Policy framework (for homing, CMSO applications), and corresponding data required from AAI, MultiCloud, and SDC. |
Service and API specification guides (homing and CMSO) | Documenation for the following: (a) APIs exposed in R2 for different services, (b) how policies for different services can be created (e.g. OF OOF-HAS Homing Specification Guide, scheduling constraints, as well as general purpose declarative constraint specification). |
Tutorials | Documentation on how a new type of policy- and model-driven application can be created by using declarative modeling, data templates, and minor configuration |
Sub-Components
- OOF-HAS - Homing Service that can be provides optimized placement based on policy constraints, across multiple clouds and multiple sites.
- OOF-OSDF - Optimization Design framework that helps create new types of policy- and model-driven applications. It also supports optimization modules that use custom code for solving the optimization problem. The OOF-OSDF also supports HAS, the Homing Optimizer
ONAP Dependencies
The following are the dependencies for the project based on the scope for the Beijing Release. The required dependencies have been identified based on the current homing requirements for the vCPE use case, and the potential dependencies are tentative dependencies that may exist based on how the information required for homing (e.g., Hardware Platform Enablement, VIM attributes) is available.
Gliffy | ||||||||
---|---|---|---|---|---|---|---|---|
|
Architecture
OOF Alignment with ONAP Target Architecture (Projects view):
Source: original image from 2018-01-09 version of the ONAP Beijing Architecture slides from the Architecture Tiger Team Contributions section in the Architecture Tiger Team wiki page.
OOF-HAS High level architecture diagram:
Source: Slide from the presentation: FCAPS Telemetry - "Standardized Infrastructure Class statistics Model" (at the developer workshop: ONAP Project Developer Event: September 25 - 28, 2017, Saclay, France).
Sequence Diagram showing OOF interaction with other ONAP components during the Service Instantiation workflow of SO:
Platform Maturity
OOF is currently a non-MVP project, and is an incubation project in the Beijing release cycle (seed-code is upstreamed in this release). Therefore, some of the "Actual levels" for the platform maturity indicate a level 0, which is commensurate with the project's current incubation status. Our goal is to align with the Architecture committee's recommendation on using common tools/libraries for platform maturity, and therefore we will be dependent on the tools/libraries provided by these projects to achieve some of these targets. The Architecture Subcommittee's recommendations for the projects on achieving the platform maturity can be found here (ONAP Beijing Architecture Jan 9b.pptx).
Area | Actual Level | Targeted Level for current Release | How, Evidences | Comments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Performance | 0 | 1 |
|
| ||||||||||
Stability | 0 | 1 |
|
| ||||||||||
Resiliency | 1 | 2 |
|
| ||||||||||
Security | 0 | 1 |
|
| ||||||||||
Scalability | 0 | 1 |
|
| ||||||||||
Manageability | 0 | 1 |
|
| ||||||||||
Usability | 1 | 1 |
|
|
API Incoming Dependencies
List the API this project is expecting from other projects.
Prior to Release Planning review, Team Leads must agreed on the date by which the API will be fully defined. The API Delivery date must not be later than the release API Freeze date.
...
|
| |||||||||||||
Usability | 1 | 1 |
|
|
API Incoming Dependencies
List the API this project is expecting from other projects.
Prior to Release Planning review, Team Leads must agreed on the date by which the API will be fully defined. The API Delivery date must not be later than the release API Freeze date.
Prior to the delivery date, it is a good practice to organize an API review with the API consumers.
API Name | API Description | API Definition Date | API Delivery date | API Definition link (i.e.swagger) | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Policy | Policy Client API to create, update and retrieve homing policies. | TBD | TBD | work in progress, JIRA stories being created.
| |||||||||
AAI | REST Web Service provided by AAI, to query available cloud-regions, and existing service instances where a new order can be placed. | Primarily dependent on the R1 REST API. Currently working with AAI on making HPA capabilities available. | TBD | work in progress for HPA capabilities, JIRA stories being created | |||||||||
MultiCloud | API to retrieve VIM capacities (infrastructure metrics model) | TBD | TBD | work in progress, JIRA stories being created | |||||||||
SDC | API to retrieve license models and VNF requirements models | TBD | TBD | work in progress, JIRA stories being created |
API Outgoing Dependencies
API this project is delivering to other projects.
API Name | API Description | API Definition Date | API Delivery date | API Definition link (i.e.swagger) | Status |
---|
HAS API | API to submit homing requests, and retrieve homing solutions. | TBD | TBD | JIRA stories are being created in SO to replace R1 Homing stubs with the actual HAS API | |
Simple CMSO API | APIs to submit change management scheduling optimization requests, and to retrieve solutions. | TBD | TBD |
JIRA stories are being created |
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
API Outgoing Dependencies
API this project is delivering to other projects.
...
Third Party Products Dependencies
Third Party Products mean products that are mandatory to provide services for your components. Development of new functionality in third party product may or not be expected.
List the Third Party Products (OpenStack, ODL, RabbitMQ, ElasticSearch,Crystal Reports, ...).
...
In case there are specific dependencies (Centos 7 vs Ubuntu 16. Etc.) list them as well.
Testing and Integration Plans
The following testing will be ensured for OOF in this release:
- Unit Tests and Code Coverage: We will use Python testing frameworks (combination of unittest, nose and coverage.py modules). We will work with our collaborators from MultiCloud who have used a similar ecosystem for their project.
- Continuous System Integration Testing (CSIT): We will develop Robot Framework scripts for in Robot Framework.
- Functional Test cases: OOF will be tested according to a small but representative test cases covering specific “concrete” optimization scenarios. These test cases will be documented in detail.
- End to End Test cases: We will adapt the Robot Framework scripts in consulation with the integration team.
Gaps
This section is used to document a limitation on a functionality or platform support. We are currently aware of this limitation and it will be delivered in a future Release.
List identified release gaps (if any), and its impact.
...
Known Defects and Issues
Provide a link toward the list of all known project bugs.
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Risks
List the risks identified for this release along with the plan to prevent the risk to occur (mitigation) and the plan of action in the case the risk would materialized (contingency).
for a mock CMSO calling agent, which will be deprecated in favor of the CMSO portal when integrating with the Change Management use case |
Third Party Products Dependencies
Third Party Products mean products that are mandatory to provide services for your components. Development of new functionality in third party product may or not be expected.
The following link shows the dependencies and their license information: Project FOSS dependencies for OOF.
Testing and Integration Plans
The following testing will be ensured for OOF in this release:
- Unit Tests and Code Coverage: We will use Python testing frameworks (combination of unittest, nose and coverage.py modules). We will work with our collaborators from MultiCloud who have used a similar ecosystem for their project.
- Continuous System Integration Testing (CSIT): We will develop Robot Framework scripts for in Robot Framework.
- Functional Test cases: OOF will be tested according to a small but representative test cases covering specific “concrete” optimization scenarios. These test cases will be documented in detail.
- End to End Test cases: We will adapt the Robot Framework scripts in consulation with the integration team.
Gaps
This section is used to document a limitation on a functionality or platform support (i.e. limitations that we are currently aware, and required functionality will be delivered in a future Release). Since the project is in an incubation stage, we are focusing on bringing up the base functionality and then present information on limitations in a proper context.
Gaps identified | Impact |
---|---|
To fill out | To fill out |
Known Defects and Issues
(Note: this is an incubation project with seed code being stabilized in ONAP; bug reports are on the way)
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Risks
List the risks identified for this release along with the plan to prevent the risk to occur (mitigation) and the plan of action in the case the risk would materialized (contingency).
Since the project is in an incubation stage, we are focusing on bringing up the base functionality and then present information on risks in a proper context.
Risk identified | Mitigation Plan | Contingency Plan |
---|---|---|
Availability of a global data store that will support resiliency and recovery (job queue). | Use a cloud instance's central database (instead of a global database) to store information required for recovery. It is low risk because we anticipate Music or OOM's kubernetes etcd be available. We need strong consistency (and can tolerate some amount of lag) | Since this will only affect optimization requests that are active/pending, we can ask the callers to resend the request if they receive unexpected error conditions |
Availability of data to support use cases | Work closely with the use case teams (e.g. vCPE, Scale out), data providers (e.g. A&AI, MultiCloud), and related projects (e.g. SO) to define the requirements more conservatively | Develop the functionality but not activate the functionality of related constraints in the absence of data |
Resources
Fill out the Resources Committed to the Release centralized page.
Release Milestone
The milestones are defined at the Release Level and all the supporting project agreed to comply with these dates.
Team Internal Milestone
This section is optional and may be used to document internal milestones within a project team or multiple project teams. For instance, in the case the team has made agreement with other team to deliver some artifacts on a certain date that are not in the release milestone, it is erecommended to provide these agreements and dates in this section.
...
Date | Project | Deliverable |
---|---|---|
To fill out | To fill out | To fill out |
Documentation, Training
- Highlight the team contributions to the specific document related to he project (Config guide, installation guide...).
- Highlight the team contributions to the overall Release Documentation and training asset
- High level list of documentation, training and tutorials necessary to understand the release capabilities, configuration and operation.
- Documentation includes items such as:
- Installation instructions
- Configuration instructions
- Developer guide
- End User guide
- Admin guide
- ...
Note | ||
---|---|---|
| ||
The Documentation project will provide the Documentation Tool Chain to edit, configure, store and publish all Documentation asset. |
Other Information
Vendor Neutral
If this project is coming from an existing proprietary codebase, ensure that all proprietary trademarks, logos, product names, etc. have been removed. All ONAP deliverables must comply with this rule and be agnostic of any proprietary symbols.
Free and Open Source Software
FOSS activities are critical to the delivery of the whole ONAP initiative. The information may not be fully available at Release Planning, however to avoid late refactoring, it is critical to accomplish this task as early as possible.
List all third party Free and Open Source Software used within the release and provide License type (BSD, MIT, Apache, GNU GPL,... ).
In the case non Apache License are found inform immediately the TSC and the Release Manager and document your reasoning on why you believe we can use a non Apache version 2 license.
...