3 These following components make up this application and are described in more detail in following sections:
7 * Policy Expression view
10 The *GBP* UX is access via:
12 http://<odl controller>:8181/index.html
16 Basic view contains 5 navigation buttons which switch user to the desired section of application:
18 * Governance – switch to the Governance view (middle of graphic has the same function)
19 * Renderer configuration – switch to the Policy expression view with Renderers section expanded
20 * Policy expression – switch to the Policy expression view with Policy section expanded
21 * Operational constraints – placeholder for development in next release
24 image::groupbasedpolicy/ui-1-basicview.png[align="center",width=500]
29 Governance view consists from three columns.
32 image::groupbasedpolicy/ui-2-governanceview.png[align="center",width=500]
34 *Governance view – Basic view – Left column*
36 In the left column is Health section with Exception and Conflict buttons with no functionality yet. This is a placeholder for development in further releases.
38 *Governance view – Basic view – Middle column*
40 In the top half of this section is select box with list of tenants for select. Once the tenant is selected, all sub sections in application operate and display data with actual selected tenant.
42 Below the select box are buttons which display Expressed or Delivered policy of Governance section. In the bottom half of this section is select box with list of renderers for select. There is currently only <<OfOverlay,OfOverlay>> renderer available.
44 Below the select box is Renderer configuration button, which switch the app into the Policy expression view with Renderers section expanded for performing CRUD operations. Renderer state button display Renderer state view.
46 *Governance view – Basic view – Right column*
48 In the bottom part of the right section of Governance view is Home button which switch the app to the Basic view.
50 In the top part is situated navigation menu with four main sections.
52 Policy expression button expand/collapse sub menu with three main parts of Policy expression. By clicking on sub menu buttons, user will be switched into the Policy expressions view with appropriate section expanded for performing CRUD operations.
54 Renderer configuration button switches user into the Policy expressions view.
56 Governance button expand/collapse sub menu with four main parts of Governance section. Sub menu buttons of Governance section display appropriate section of Governance view.
58 Operational constraints have no functionality yet, and is a placeholder for development in further releases.
60 Below the menu is place for view info section which displays info about actual selected element from the topology (explained below).
63 *Governance view – Expressed policy*
65 In this view are displayed contracts with their consumed and provided EndpointGroups of actual selected tenant, which can be changed in select box in the upper left corner.
67 By single-clicking on any contract or EPG, the data of actual selected element will be shown in the right column below the menu. A Manage button launches a display wizard window for managing configuration of items such as <<SFC,Service Function Chaining>>.
71 image::groupbasedpolicy/ui-3-governanceview-expressed.png[align="center",width=500]
74 *Governance view – Delivered policy*
75 In this view are displayed subjects with their consumed and provided EndpointGroups of actual selected tenant, which can be changed in select box in the upper left corner.
77 By single-clicking on any subject or EPG, the data of actual selected element will be shown in the right column below the menu.
79 By double-click on subject the subject detail view will be displayed with subject’s rules of actual selected subject, which can be changed in select box in the upper left corner.
81 By single-clicking on rule or subject, the data of actual selected element will be shown in the right column below the menu.
83 By double-clicking on EPG in Delivered policy view, the EPG detail view will be displayed with EPG’s endpoints of actual selected EPG, which can be changed in select box in the upper left corner.
85 By single-clicking on EPG or endpoint the data of actual selected element will be shown in the right column below the menu.
89 image::groupbasedpolicy/ui-4-governanceview-delivered-0.png[align="center",width=500]
94 image::groupbasedpolicy/ui-4-governanceview-delivered-1-subject.png[align="center",width=500]
98 image::groupbasedpolicy/ui-4-governanceview-delivered-2-epg.png[align="center",width=500]
100 *Governance view – Renderer state*
102 In this part are displayed Subject feature definition data with two main parts: Action definition and Classifier definition.
104 By clicking on the down/right arrow in the circle is possible to expand/hide data of appropriate container or list. Next to the list node are displayed names of list’s elements where one is always selected and element’s data are shown (blue line under the name).
106 By clicking on names of children nodes is possible to select desired node and node’s data will be displayed.
110 image::groupbasedpolicy/ui-4-governanceview-renderer.png[align="center",width=500]
112 ==== Policy expression view
114 In the left part of this view is placed topology of actual selected elements with the buttons for switching between types of topology at the bottom.
116 Right column of this view contains four parts. At the top of this column are displayed breadcrumbs with actual position in the application.
118 Below the breadcrumbs is select box with list of tenants for select. In the middle part is situated navigation menu, which allows switch to the desired section for performing CRUD operations.
120 At the bottom is quick navigation menu with Access Model Wizard button which display Wizard view, Home button which switch application to the Basic view and occasionally Back button, which switch application to the upper section.
122 *Policy expression - Navigation menu*
124 To open Policy expression, select Policy expression from the GBP Home screen.
126 In the top of navigation box you can select the tenant from the tenants list to activate features addicted to selected tenant.
128 In the right menu, by default, the Policy menu section is expanded. Subitems of this section are modules for CRUD (creating, reading, updating and deleting) of tenants, EndpointGroups, contracts, L2/L3 objects.
130 * Section Renderers contains CRUD forms for Classifiers and Actions.
131 * Section Endpoints contains CRUD forms for Endpoint and L3 prefix endpoint.
134 image::groupbasedpolicy/ui-5-expresssion-1.png[height=400]
137 image::groupbasedpolicy/ui-5-expresssion-2.png[height=400]
140 *Policy expression - Types of topology*
142 There are three different types of topology:
144 * Configured topology - EndpointGroups and contracts between them from CONFIG datastore
145 * Operational topology - displays same information but is based on operational data.
146 * L2/L3 - displays relationships between L3Contexts, L2 Bridge domains, L2 Flood domains and Subnets.
150 image::groupbasedpolicy/ui-5-expresssion-3.png[align="center",width=500]
154 image::groupbasedpolicy/ui-5-expresssion-4.png[align="center",width=500]
157 *Policy expression - CRUD operations*
159 In this part are described basic flows for viewing, adding, editing and deleting system elements like tenants, EndpointGroups etc.
163 To edit tenant objects click the Tenants button in the right menu. You can see the CRUD form containing tenants list and control buttons.
165 To add new tenant, click the Add button This will display the form for adding a new tenant. After filling tenant attributes Name and Description click Save button. Saving of any object can be performed only if all the object attributes are filled correctly. If some attribute doesn't have correct value, exclamation mark with mouse-over tooltip will be displayed next to the label for the attribute. After saving of tenant the form will be closed and the tenants list will be set to default value.
167 To view an existing tenant, select the tenant from the select box Tenants list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
169 To edit selected tenant, click the Edit button, which will display the edit form for selected tenant. After editing the Name and Description of selected tenant click the Save button to save selected tenant. After saving of tenant the edit form will be closed and the tenants list will be set to default value.
171 To delete tenant select the tenant from the Tenants list and click Delete button.
173 To return to the Policy expression click Back button on the bottom of window.
177 For managing EndpointGroups (EPG) the tenant from the top Tenants list must be selected.
179 To add new EPG click Add button and after filling required attributes click Save button. After adding the EPG you can edit it and assign Consumer named selector or Provider named selector to it.
181 To edit EPG click the Edit button after selecting the EPG from Group list.
183 To add new Consumer named selector (CNS) click the Add button next to the Consumer named selectors list. While CNS editing you can set one or more contracts for current CNS pressing the Plus button and selecting the contract from the Contracts list. To remove the contract, click on the cross mark next to the contract. Added CNS can be viewed, edited or deleted by selecting from the Consumer named selectors list and clicking the Edit and Delete buttons like with the EPG or tenants.
185 To add new Provider named selector (PNS) click the Add button next to the Provider named selectors list. While PNS editing you can set one or more contracts for current PNS pressing the Plus button and selecting the contract from the Contracts list. To remove the contract, click on the cross mark next to the contract. Added PNS can be viewed, edited or deleted by selecting from the Provider named selectors list and clicking the Edit and Delete buttons like with the EPG or tenants.
187 To delete EPG, CNS or PNS select it in selectbox and click the Delete button next to the selectbox.
191 For managing contracts the tenant from the top Tenants list must be selected.
193 To add new Contract click Add button and after filling required fields click Save button.
195 After adding the Contract user can edit it by selecting in the Contracts list and clicking Edit button.
197 To add new Clause click Add button next to the Clause list while editing the contract. While editing the Clause after selecting clause from the Clause list user can assign clause subjects by clicking the Plus button next to the Clause subjects label. Adding and editing action must be submitted by pressing Save button. To manage Subjects you can use CRUD form like with the Clause list.
201 For managing L2/L3 the tenant from the top Tenants list must be selected.
203 To add L3 Context click the Add button next to the L3 Context list ,which will display the form for adding a new L3 Context. After filling L3 Context attributes click Save button. After saving of L3 Context, form will be closed and the L3 Context list will be set to default value.
205 To view an existing L3 Context, select the L3 Context from the select box L3 Context list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
207 If user wants to edit selected L3 Context, click the Edit button, which will display the edit form for selected L3 Context. After editing click the Save button to save selected L3 Context. After saving of L3 Context, the edit form will be closed and the L3 Context list will be set to default value.
209 To delete L3 Context, select it from the L3 Context list and click Delete button.
211 To add L2 Bridge Domain, click the Add button next to the L2 Bridge Domain list. This will display the form for adding a new L2 Bridge Domain. After filling L2 Bridge Domain attributes click Save button. After saving of L2 Bridge Domain, form will be closed and the L2 Bridge Domain list will be set to default value.
213 To view an existing L2 Bridge Domain, select the L2 Bridge Domain from the select box L2 Bridge Domain list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
215 If user wants to edit selected L2 Bridge Domain, click the Edit button, which will display the edit form for selected L2 Bridge Domain. After editing click the Save button to save selected L2 Bridge Domain. After saving of L2 Bridge Domain the edit form will be closed and the L2 Bridge Domain list will be set to default value.
217 To delete L2 Bridge Domain select it from the L2 Bridge Domain list and click Delete button.
219 To add L3 Flood Domain, click the Add button next to the L3 Flood Domain list. This will display the form for adding a new L3 Flood Domain. After filling L3 Flood Domain attributes click Save button. After saving of L3 Flood Domain, form will be closed and the L3 Flood Domain list will be set to default value.
221 To view an existing L3 Flood Domain, select the L3 Flood Domain from the select box L3 Flood Domain list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
223 If user wants to edit selected L3 Flood Domain, click the Edit button, which will display the edit form for selected L3 Flood Domain. After editing click the Save button to save selected L3 Flood Domain. After saving of L3 Flood Domain the edit form will be closed and the L3 Flood Domain list will be set to default value.
225 To delete L3 Flood Domain select it from the L3 Flood Domain list and click Delete button.
227 To add Subnet click the Add button next to the Subnet list. This will display the form for adding a new Subnet. After filling Subnet attributes click Save button. After saving of Subnet, form will be closed and the Subnet list will be set to default value.
229 To view an existing Subnet, select the Subnet from the select box Subnet list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
231 If user wants to edit selected Subnet, click the Edit button, which will display the edit form for selected Subnet. After editing click the Save button to save selected Subnet. After saving of Subnet the edit form will be closed and the Subnet list will be set to default value.
233 To delete Subnet select it from the Subnet list and click Delete button.
237 To add Classifier, click the Add button next to the Classifier list. This will display the form for adding a new Classifier. After filling Classifier attributes click Save button. After saving of Classifier, form will be closed and the Classifier list will be set to default value.
239 To view an existing Classifier, select the Classifier from the select box Classifier list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
241 If you want to edit selected Classifier, click the Edit button, which will display the edit form for selected Classifier. After editing click the Save button to save selected Classifier. After saving of Classifier the edit form will be closed and the Classifier list will be set to default value.
243 To delete Classifier select it from the Classifier list and click Delete button.
247 To add Action, click the Add button next to the Action list. This will display the form for adding a new Action. After filling Action attributes click Save button. After saving of Action, form will be closed and the Action list will be set to default value.
249 To view an existing Action, select the Action from the select box Action list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
251 If user wants to edit selected Action, click the Edit button, which will display the edit form for selected Action. After editing click the Save button to save selected Action. After saving of Action the edit form will be closed and the Action list will be set to default value.
253 To delete Action select it from the Action list and click Delete button.
257 To add Endpoint, click the Add button next to the Endpoint list. This will display the form for adding a new Endpoint. To add EndpointGroup assignment click the Plus button next to the label EndpointGroups. To add Condition click Plus button next to the label Condition. To add L3 Address click the Plus button next to the L3 Addresses label. After filling Endpoint attributes click Save button. After saving of Endpoint, form will be closed and the Endpoint list will be set to default value.
259 To view an existing Endpoint just, the Endpoint from the select box Endpoint list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
261 If you want to edit selected Endpoint, click the Edit button, which will display the edit form for selected Endpoint. After editing click the Save button to save selected Endpoint. After saving of Endpoint the edit form will be closed and the Endpoint list will be set to default value.
263 To delete Endpoint select it from the Endpoint list and click Delete button.
267 To add L3 prefix endpoint, click the Add button next to the L3 prefix endpoint list. This will display the form for adding a new Endpoint. To add EndpointGroup assignment, click the Plus button next to the label EndpointGroups. To add Condition, click Plus button next to the label Condition. To add L2 gateway click the Plus button next to the L2 gateways label. To add L3 gateway, click the Plus button next to the L3 gateways label. After filling L3 prefix endpoint attributes click Save button. After saving of L3 prefix endpoint, form will be closed and the Endpoint list will be set to default value.
269 To view an existing L3 prefix endpoint, select the Endpoint from the select box L3 prefix endpoint list. The view form is read-only and can be closed by clicking cross mark in the top right of the form.
271 If you want to edit selected L3 prefix endpoint, click the Edit button, which will display the edit form for selected L3 prefix endpoint. After editing click the Save button to save selected L3 prefix endpoint. After saving of Endpoint the edit form will be closed and the Endpoint list will be set to default value.
273 To delete Endpoint select it from the L3 prefix endpoint list and click Delete button.
277 Wizard provides quick method to send basic data to controller necessary for basic usage of GBP application. It is useful in the case that there aren’t any data in controller. In the first tab is form for create tenant. The second tab is for CRUD operations with contracts and their sub elements such as subjects, rules, clauses, action refs and classifier refs. The last tab is for CRUD operations with EndpointGroups and their CNS and PNS. Created structure of data is possible to send by clicking on Submit button.
281 image::groupbasedpolicy/ui-6-wizard.png[align="center",width=500]