diff options
author | blsaws <bs3131@att.com> | 2015-06-09 14:21:47 -0700 |
---|---|---|
committer | blsaws <bs3131@att.com> | 2015-06-09 14:21:47 -0700 |
commit | bb7e4a38985590a8dd6f7218187722d042ccc920 (patch) | |
tree | d4e10a16535333bd9c3d54e5fd01fc3ba0a98543 | |
parent | aa1b064473f3eafc2ae24320f76193ee27889b29 (diff) |
Reformat per RST syntax
JIRA:COPPER-1
Change-Id: Ic006eb2780be671b96545865950b831cffbed86d
Signed-off-by: blsaws <bs3131@att.com>
-rw-r--r-- | docs/design/architecture/architecture.rst | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/docs/design/architecture/architecture.rst b/docs/design/architecture/architecture.rst index 4cbacdd..008c101 100644 --- a/docs/design/architecture/architecture.rst +++ b/docs/design/architecture/architecture.rst @@ -1,13 +1,12 @@ +Policy Architecture +=================== + .. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode - -=================== -Policy Architecture -=================== - + .. NOTE:: This is a working document through which general aspects of a policy architecture are analyzed. @@ -17,9 +16,10 @@ the OPNFV Copper project. Document Version 20150609.1 +.. contents:: + Definitions =========== - .. list-table:: Definitions :widths: 15 85 :header-rows: 1 @@ -33,58 +33,68 @@ Definitions * - Event - An item of significance to the policy engine, for which the engine has become aware through some method of discovery e.g. polling or notification. -===================== Architectural Concept ===================== - The following example diagram illustrates a "relationship diagram" type view of an NFVI platform, in which the roles of components focused on policy management, services, and infrastructure are shown. This view illustrates that a large-scale deployment of NFVI may leverage multiple components of the same "type" (e.g. SDN Controller), which fulfill specific purposes for which they are optimized. For example, a global SDN controller and cloud orchestrator can act as directed by a service orchestrator in the provisioning of VNFs per intent, while various components at a local and global level handle policy-related events directly and/or feed them back through a closed-loop policy design that responds as needed, directly or through the service orchestrator. -.. image::images/policy_architecture.png +.. image:: ./images/policy_architecture.png :width: 700 px :alt: policy_architecture.png :align: center (source of the diagram above: https://wiki.opnfv.org/_media/copper/copper_work_items/policy_architecture.pptx) -===================== Architectural Aspects ===================== - * Policies are reflected in two high-level goals + * Ensure resource requirements of VNFs are applied per VNF designer, service, and tenant intent * Ensure that generic policies are not violated, e.g. *networks connected to VMs must either be public or owned by the VM owner* + * Policies are distributed through two main means + * As part of VNF packages, customized if needed by Service Design tools, expressing intent of the VNF designer and service provider, and possibly customized or supplemented by service orchestrators per the intent of specific tenants * As generic policies provisioned into VIMs (SDN controllers and cloud orchestrators), expressing intent of the service provider re what states/events need to be policy-governed independently of specific VNFs + * Policies are applied locally and in closed-loop systems per the capabilities of the local policy enforcer and the impact of the related state/event conditions + * VIMs should be able to execute most policies locally * VIMs may need to pass policy-related state/events to a closed-loop system, where those events are relevant to other components in the architecture (e.g. service orchestrator), or some additional data/arbitration is needed to resolve the state/event condition + * Policies are localized as they are distributed/delegated + * High-level policies (e.g. expressing “intent”) can be translated into VNF package elements or generic policies, perhaps using distinct syntaxes * Delegated policy syntaxes are likely VIM-specific, e.g. Datalog (Congress), YANG (ODL-based SDNC), or other schemas specific to other SDNCs (Contrail, ONOS) + * Closed-loop policy and VNF-lifecycle event handling are //somewhat// distinct + * Closed-loop policy is mostly about resolving conditions that can't be handled locally, but as above in some cases the conditions may be of relevance and either delivered directly or forwarded to service orchestrators * VNF-lifecycle events that can't be handled by the VIM locally are delivered directly to the service orchestrator + * Some events/analytics need to be collected into a more "open-loop" system which can enable other actions, e.g. + * audits and manual interventions * machine-learning focused optimizations of policies (largely a future objective) Issues to be investigated as part of establishing an overall cohesive/adaptive policy architecture: * For the various components which may fulfill a specific purpose, what capabilities (e.g. APIs) do they have/need to + * handle events locally * enable closed-loop policy handling components to subscribe/optimize policy-related events that are of interest + * For global controllers and cloud orchestrators + * How do they support correlation of events impacting resources in different scopes (network and cloud) * What event/response flows apply to various policy use cases + * What specific policy use cases can/should fall into each overall class + * locally handled by NFVI components * handled by a closed-loop policy system, either VNF/service-specific or VNF-independent -============ Requirements ============ - General requirements for a policy architecture are below, with an assessment of the current state of support for these across major OPNFV components (1=poor, 5=excellent). 1. Polled monitoring: Exposure of state via request-response APIs. |