Versions Compared

Key

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

Abstract

This document describes the ONAP Policy Framework. It lays out the architecture of the framework and specifies the APIs provided to other components that interwork with the framework. It describes the implementation of the framework, mapping out the components, software strucure, and execution ecosystem of the framework. It goes on to provide examples that illustrate how to write, deploy, and run policies of various types using the framework.

Table of Contents
excludeAbstract

1. Overview

The ONAP Policy Framework is a comprehensive policy design, deployment, and execution environment. The Policy Framework is the decision making component in an ONAP system. It allows you to specify, deploy, and execute the governance of the features and functions in your ONAP system, be they closed loop, orchestration, or more traditional open loop use case implementations. The Policy Framework is the component that is the source of truth for all policy decisions.

...

Model Driven Policy Design via Policy Dashboard (exposed via ONAP Portal SDK)

Proto Policy Design

A proto policy is a generic policy for a certain type of PDP. A proto policy is developed for a certain type of PDP (for example XACML oriented for decision policies or Drools rules oriented for ECA policies). The design environment and tool chain for a proto policy is specific for the type of policy being designed. The proto policy is available as a Maven artifact once it has been designed.

Programming Proto Policies

The most straightforward way to create a proto policy is to program it. Programming a proto policy might simply mean creating and editing text files and manually generating the Maven artifact for the proto policy.

A more formal approach is preferred. Programmers use a specific Eclipse project type for developing each type of proto policy. The project is under source control in git. This Eclipse project is structured correctly for creating policies for a specific type of PDP. It includes the correct POM files for generating the proto policy as a Maven artifact. It has editors and perspectives that ad the programmer in their work.

*******

  • The Policy GUI Dashboard is created from the ONAP Portal SDK to create a consistent user experience
  • The Policy GUI Designer is created from the ONAP SDC SDK to create a consistent user experience

...