Policy GUI documentation
[policy/engine.git] / docs / platform / policygui.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 **********
5 Policy GUI
6 **********
7
8 .. contents::
9     :depth: 3
10
11 The POLICY GUI is a graphical user interface, available via web-access, for **creating and managing** policies.   
12
13 | The GUI consists of the **Editor, Dictionary, PDP, PUSH, Roles, Admin and Dashboard** tabs.  
14 |
15 | The typical targetted users are those who have the responsibility and authority to create and manage policies that control network operations including policy based network configuration and auto-corrective actions.  This includes network and service designers, operations engineers and security experts. The POLICY GUI provides Users to effortlessly create, change, and manage policy rules.
16
17
18 Access to the POLICY GUI
19 ^^^^^^^^^^^^^^^^^^^^^^^^
20
21 The POLICY GUI can be accessed via the ONAP Portal.
22
23 .. image:: PolicyGUI_Access.png
24
25
26 POLICY Editor
27 ^^^^^^^^^^^^^
28
29 | The POLICY EDITOR tab houses **key functionality** for the POLICY application.  
30 | The following functionality is supported:  
31
32 •     Create Policies and Scopes
33 •     Edit, View and Describe Policies
34 •     Rename, Move and Clone Policies
35 •     Switch Versions of Policies
36 •     Delete Policies and Scopes
37 •     List Policies and Scopes 
38 •     Export and Import Policies
39 •     Search for Policies 
40
41 Scope 
42 -----
43
44 The diagram below shows the POLICY Editor landing page. This page lists the existing Scopes and associated Policies. 
45 A scope must exist before a policy can be added.  The diagram outlines how to add a new scope.
46
47 .. image:: PolicyGUI_Editor_Scope.png
48
49 |
50
51 Create a Policy
52 ---------------
53
54 The most important function of the GUI is to facilitate the creation of policies.  
55 The figure below specifies how a policy can be created. 
56
57 .. image:: PolicyGUI_Editor_CreatePolicy.png
58
59 |
60
61 Policy Actions (Edit, View ...)
62 -------------------------------
63
64 The POLICY GUI provides actions (Edit, Clone, Move, Rename, Describe, View etc) to facilitate maintaining 
65 the policy after it has been created.  The figure below identifies how to intiated an action via the GUI.
66
67 .. image:: PolicyGUI_Editor_PolicyActions.png
68
69 |
70 |
71
72 .. image:: PolicyGUI_Editor_PolicyActionsDetail.png
73
74 |
75
76 POLICY Dictionary
77 ^^^^^^^^^^^^^^^^^
78
79 | The POLICY DICTIONARY tab is used to create and manage attributes in the dictionaries.  
80 | Each policy type has one or more dictionaries associated with it.  The dictionaries should contain all attributes that may be referenced by the policies.  Policy writers have the ability to easily define attributes and add them into the dictionary via the POLICY GUI as shown below.  
81
82 .. image:: PolicyGUI_Dictionary.png
83
84 |
85
86 POLICY PDP
87 ^^^^^^^^^^
88
89 | The POLICY PDP tab is used to managing **PDP Groups**.  
90 | This tab provides the capability to create, edit and delete PDP groups.  This tab also provides the ability to check status and view policies in a PDP groups.
91
92
93 POLICY Push
94 ^^^^^^^^^^^
95
96 | The POLICY PUSH tab allows policies to be selectively pushed to the all PDPs.
97 | Once pushed, the policies can be seen on the PDP tab.  A Status of the PDPs indicate “UP-TO-DATE” if the policy has been pushed correctly.  A Status of “LAST-UPDATE-FAILED” indicates an error occurred in pushing the policies.
98
99
100 POLICY Roles
101 ^^^^^^^^^^^^
102
103 | The POLICY ROLES tab allows system administrators to assign roles for system access.  
104 | The GUI options vary depending on the role.  The roles for POLICY are:
105
106 •     Policy Super Admin
107 •     Policy Super Editor
108 •     Policy Super Guest
109 •     Policy Admin
110 •     Policy Editor
111 •     Policy Guest
112
113
114 POLICY Admin
115 ^^^^^^^^^^^^
116
117 | The POLICY ADMIN tab houses functionality that is performed by an administrator.  
118 | Only super users have access to the Admin Tab.  The Lockdown feature is accessed from this tab.
119
120 .. image:: PolicyGUI_Admin.png
121
122 |
123
124 POLICY Dashboard 
125 ^^^^^^^^^^^^^^^^
126
127 | The POLICY DASHBOARD shows the status and health of the system through metrics logs and status update messages.  The dashboard consists of two tabs, a Logging tab and a Health tab. 
128
129 | The **Logging Tab** displays log entries from the Log database.  This tab also supports filtering and exporting of data.
130 |
131 | The **Health Tab** includes:
132 |     • PDP Status :  The PDP table shows list of PDP's and the details of them.
133 |     • PAP Status :  The PAP table  shows list of Systems and there status and count of Policies.
134 |     • Policy Activity : The Policy Activity Shows the list of Policies in PDP's.
135 |     • System Alerts : The System Alerts table shows the logs on filtering logtype with Error.
136
137
138
139
140 End of Document