...
Resources Related to Policy
OOF
...
Policies (multiple applications)
Anchor |
---|
| OOF-HAS Policies |
---|
| OOF-HAS Policies |
---|
|
OOF-HAS Policies
OOF-HAS Service Design Policies
...
Service design policies are typically defined as a part of a service design model and evaluated/enforced prior to the service instantiation phase. For example, Hardware Platform Enablement (HPA) policies are defined in an SDC service model and evaluated/enforced during the homing optimization process in ONAP.
...
Section |
---|
|
Column |
---|
| Code Block |
---|
language | js |
---|
theme | Eclipse |
---|
title | Optimization Policy Example |
---|
linenumbers | true |
---|
collapse | true |
---|
| {
"service": "PlacementOptimizationPolicy",
"policyName": "oofBeijing.PlacementOptimizationPolicy_vGMuxInfra",
"description": "Placement Optimization Policy for vGMuxInfra",
"templateVersion": "1702.03",
"version": "oofBeijing",
"priority": "5",
"riskType": "test",
"riskLevel": "3",
"guard": "False",
"content": {
"objectiveParameter": {
"parameterAttributes": [
{
"resource": ["vGMuxInfra"],
"customerLocationInfo": "customer_loc",
"parameter": "distance",
"weight": "1",
"operator": "product"=
},
{
"resource": ["vG"],
"customerLocationInfo": "customer_loc",
"parameter": "distance",
"weight": "1",
"operator": "product"
}
],
"operator": "sum"
},
"identity": "optimization",
"policyScope": {
"serviceType": ["vCPE"],
"geoRegion": ["US", "INTERNATIONAL"],
"networkType": ["ip"],
"resourceInstanceType": ["vGMuxInfra", "vG"]
},
"type": "placementOptimization",
"objective": "minimize"
}
} |
|
Column |
---|
| Expand |
---|
title | Comments and Notes: Optimization Policy |
---|
| The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service. |
|
|
Anchor |
---|
| OOF-CMSO Policies |
---|
| OOF-CMSO Policies |
---|
|
OOF-CMSO PoliciesTBD
...
Modes for Fetching
...
Policies
OOF can fetch optimzation policies using the getConfig API of the policy system. The policies can be searched and filtered in two different modes; by-name and by-scope from the policy system.
...