6,766 bytes added
, 13:09, 27 September 2017
[[Category:Manual]] [[Category:Content Workflow]] [[Category:MIB3.0]] [[Category: 4.2]]
{{Menu|Message= [[File:VODIcon.png|middle|30px]] '''Video On Demand > Content Workflow > CDN > Push Rules'''}}
__TOC__
<br />
Now it is possible to define a set of rules to decide if a content that belongs to a Source, should be replicated in PULL or PUSH mode. For that the operator should be able to create a PUSH rule and associate it to a Source in the Push Rules Menu. The Push rule are created in a similar way we do for Content Criteria.
<br />
== Blocks ==
=== Cdn Push Rules ===
----
<br />
[[File:CdnPushRulesForm.png|1000px|center|thumb|Cdn Push Rules basic information]]
<br />
{| class="wikitable" style="margin:0px;width:100%;"
! style="width:15%;" | Field
! style="width:45%;" | Description
! style="width:40%;" | Restrictions
|-
! style="text-align:left;border-left:5px solid red;" | Name
| Given name for the Push Rule.
|
|-
! style="text-align:left;border-left:5px solid yellow;" | Owner
| Operator that created this Push Rule.
| ReadOnly
|}
<br />
=== CDN Push Rules Nodes ===
<br />
Once the PUSH Rule is created, the operator should be able to associate it to one or several sources.
In the case of MMEDIAS with PlayType = MPEG2TS (32), the medias are never replicated to CDN, they are always accessible using PULL mode. The operator should not define any rule using MPEG2TS as it makes no sense to replicate in PUSH this kind of medias.
[[File:CDNPushRulesNodes.png|thumb|CDN Push Rules Nodes block|center|800px]]
<br />
<big>'''Create new CDN Push Rule Node'''</big><br />
It is similar to create a new content criteria. You only have to build an expression by combining filters that will be evaluated to select the contents that match. The expression will be composed of one or more '''Groups''' each of them composed of one or more filters and the AND/OR relationship between them. Example:<br />
Group1 = FilterA AND FilterB
Group2 = FilterC OR FilterD
Criteria: (Group1 OR Group2) = ((FilterA AND FilterB) OR FilterC OR FilterD)
# You can add same level rule by clicking on the [[File:AddMib3.png|middle|20px]] button or you can add inner level rule by clicking on the [[File:InnerLevelButton.png|middle|20px]] button.
# Select the type of filter from the list and fill the value for the filter. There are multiple filter types available and you can combine them as you want. Some examples of filters are:
#* Quality
#* MediaType
#* PlayType
#* CommercializationType
# Continue adding as many filters as desired to build the first 'expression'.
# When you have added all the filters for the first 'group', select the operator (AND / OR) that will be used to link the filters for that 'group'.
# Now you can add a new 'group', go back to 1. When you have finished adding 'groups', select the operator (AND / OR) between the different 'groups'.
Once finished, save changes at anytime by clicking on the[[File:Save3.png|middle|30px]] in the CDN Push Rules page.
Based on the set of rules defined for a source, the Content Monitor will evaluate during ingestion time (after the DMM Upload task for each media has been finished), if the content needs to be prepositioned PUSH or will be offered in PULL mode to end users. By default all the contents can be offered to end users in PULL mode (serving it from GVP Origin server).
The set of rules will be defined at Source level. If no rules are defined at the MMEDIA source, the agent will look into source's parent recursively. If the agent reaches the root source and doesn't find any rule, it will set PULL.
The result of this process will be setting a new property of MMEDIA called CDN Mode, that will allow to know if the content needs to be replicated or not: Unknown (not configured yet), PULL and PUSH.
So by default the MMEDIA will be assumed to be PULL. If the agent finds a Rule that for that MMEDIA returns true, it will set the CDN Mode to PUSH. If after evaluating all the rules that apply to an MMEDIA it doesn't find any that returns true, it will set the CDN Mode to PULL.
Anytime the operator will be free to manually change the CDN Mode (setting to PUSH or PULL) and this will trigger the Publish or Unpublish process.
<big>'''Remove CDN Push Rule Node'''</big>
# You can remove CDN Push Rule Nodes by clicking on the [[File:DeleteRed3.png|middle|30px]] button.
# Once finished, save changes by using the [[File:Save3.png|middle|30px]] in the Push Rules page.
<br />
== Actions ==
{| class="wikitable"
|-
! style="width:10%;" | [[#Create|Create]]
! style="width:10%;" | [[#Edit|Edit]]
! style="width:10%;" | [[#Edit in List|Edit in List]]
! style="width:10%;" | [[#Bulk Edit|Bulk Edit]]
! style="width:10%;" | [[#Copy|Copy]]
! style="width:10%;" | [[#Copy with Relateds|Copy with Relateds]]
! style="width:10%;" | [[#Delete|Delete]]
|-
| style="text-align:center" | [[File:Tick.png|16px|center]]
| style="text-align:center" | [[File:Tick.png|16px|center]]
| style="text-align:center" | [[File:Cross.png|16px|center]]
| style="text-align:center" | [[File:Tick.png|16px|center]]
| style="text-align:center" | [[File:Cross.png|16px|center]]
| style="text-align:center" | [[File:Cross.png|16px|center]]
| style="text-align:center" | [[File:Tick.png|16px|center]]
|}
=== [[File:New3.png|middle|40px]] Create ===
Cdn Push Rules creation is enabled.
# Use the [[File:New3.png|middle|30px]] button to create an empty Push Rule.
# Fill all the Cdn Push Rule data and related information.
# Once finished, save changes by using the [[File:Save3.png|middle|30px]] button in the Cdn Push Rules page.
<br />
=== [[File:BulkEdit3.png|middle|40px]] Edit ===
Cdn Push Rules edit is enabled. It can be used to perform modification in the Cdn Push Rule data. Once finished modifying the Cdn Push Rule, save changes by using the [[File:Save3.png|middle|30px]] button in the Cdn Push Rules page.
<br />
=== [[File:Edit3.png|middle|40px]] Edit in List ===
Edit in list is disabled.
<br />
=== [[File:BulkEdit3.png|middle|40px]] Bulk Edit ===
Bulk Edit is enabled in the CDN Push Rules page, allowing you to modify several CDN Push Rules at the same time. However, not all the relateds blocks will be available for performing a bulk edit operation. The blocks available are:
* '''Basic CDN Push Rule information'''
<br />
=== [[File:Copy3.png|middle|40px]] Copy ===
Copy is disabled for CDN Push Rules.
<br />
=== [[File:CopyWithRelateds3.png|middle|40px]] Copy with Relateds ===
Copy with relateds is disabled for CDN Push Rules.
<br />
=== [[File:Delete3.png|middle|40px]] Delete ===
You can delete a CDN Push Rule from the CDN Push Rules Page, using the [[File:Delete3.png|middle|30px]] button. A confirmation popup will be shown before excluding it.
<br />