...
Elite soft json viewer |
---|
{"candidate_id":"1ac71fb8-ad43-4e16-9459-c3f372b8236d","candidate_type":"nsi","inventory_type":"nsi","inventory_provider":"aai","cost":"1","uniqueness":"true","current_availability":{"key":"value"},"passthrough_attributes":{"creation_cost":0}} |
Slice profiles Candidate
Elite soft json viewer |
---|
{"candidate_id":"1ac71fb8-ad43-4e16-9459-c3f372b8236d", "candidate_type":"slice_profiles", "inventory_type":"slice_profiles", "inventory_provider":"generator", "cost":"1", "uniqueness":"true", "subnet_requirements":{ "core":{"key":"value"}, "ran":{"key":"value"}, "transport":{"key":"value"}}, "slice_requirements":{"key":"value"}, "passthrough_attributes":{"creation_cost":0}} |
Consumed APIs (AAI)
GET NSI info from AAI???
Optimization Policies
Demand policy
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "OSDF_FRANKFURT.vnfPolicy_URLLC"service-instance": [{ "metadata"service-instance-id": {"1a636c4d-5e76-427e-bfd6-241a947224b0", "service-instance-name": "nsi_test_0211", "policyservice-idtype": "OSDF_FRANKFURT.vnfPolicy_URLLCurllc", "service-role": "nsi", "policyservice-versionfunction": 1"shared", }"model-invariant-id": "21d57d4b-52ad-4d3c-a798-248b5bb9124a", "properties"model-version-id": {"bfba363e-e39c-4bd9-a9d5-1371c28f4d22", "resource-version": "1581418601616", "applicableResourcesorchestration-status": "anyactive", "relationship-list": { "identityrelationship": "vnf_URLLC",[ "resources":{ [ "related-to": "URLLC" service-instance", ], "scoperelationship-label": ["org.onap.relationships.inventory.ComposedOf", "OSDF_FRANKFURT"related-link": "/aai/v16/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/4115d3c8-dd59-45d6-b09d-e756dee9b518", "URLLCrelationship-data": [ ], { "services": [ "URLLCrelationship-key": "customer.global-customer-id", ], "vnfPropertiesrelationship-value": "5GCustomer" [ { }, "attributes": { "modelInvariantIdrelationship-key": "bfbg3636service-e39c-iidd-0987-27c28f4oo3subscription.service-type", "modelVersionIdrelationship-value": "bfbg3636-e39c-iidd-0987-27c28f4d33",5G" "service-function": "shared"}, { "service-role": "nsi" }"relationship-key": "service-instance.service-instance-id", "inventoryProvider "relationship-value": "aai",4115d3c8-dd59-45d6-b09d-e756dee9b518" "inventoryType": "nsi",} ], "unique": "true" "related-to-property": [ }, { { "attributesproperty-key": {"service-instance.service-instance-name", "coreproperty-value": {"nsi_test_0211" } "latency": { ] } ] "max": 20 }, "service-profiles": { "minservice-profile": 5,[ { "stepsprofile-id": 1"cdad9f49-4201-4e3a-aac1-b0f27902c299", "latency": 20, }, "max-number-of-UEs": 0, "reliability"coverage-area-TA-list": { "[{\"province\":\"??\",\"city\":\"???\",\"county\":\"???\",\"street\":\"?????\"}]", "values"ue-mobility-level": ["stationary", "resource-sharing-level": "0", 99.9"exp-data-rate-UL": 100, "exp-data-rate-DL": 100, 99.999 "activity-factor": 0, "e2e-latency": 0, ] "jitter": 0, "survival-time": 0, } "exp-data-rate": 0, }, "payload-size": 0, "rantraffic-density": {0, "latency"conn-density": {0, "resource-version": "1581418602494" } "max": 20, ] } }]} |
Optimization Policies
Demand policy
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "OSDF_FRANKFURT.vnfPolicy_URLLC": { "metadata": { "min "policy-id": 10"OSDF_FRANKFURT.vnfPolicy_URLLC", "policy-version": 1 }, "stepsproperties": 1{ "applicableResources": "any", }"identity": "vnf_URLLC", "resources": [ "reliabilityURLLC": { ], "scope": [ "values": [ "OSDF_FRANKFURT", "URLLC" 99.9], "services": [ "URLLC" 99.9 ], "vnfProperties": [ ] { "attributes": { } }"modelInvariantId": "bfbg3636-e39c-iidd-0987-27c28f4oo3", "transportmodelVersionId": { "bfbg3636-e39c-iidd-0987-27c28f4d33", "latencyservice-function": {"shared", "service-role": "nsi" "max": 20, }, "mininventoryProvider": 7"aai", "inventoryType": "nsi", "steps": 1 "unique": "true" }, { "reliability": { "attributes": { "valuescore": [{ "latency": { 99.9, "max": 20, 99.99 "min": 5, ] "steps": 1 } }, }, "reliability": { "inventoryProvider": "generator", "inventoryTypevalues": "slice_profiles",[ "unique": "true" 99.9, } ] }, "type": "onap.policies.optimization.resource.VnfPolicy", 99.999 "type_version": "1.0.0", "version": "1.0.0" } } |
Threshold Policy
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "OSDF_FRANKFURT.Threshold_URLLC": { ] "metadata": { "policy-id": "OSDF_FRANKFURT.Threshold_URLLC", } "policy-version": 1 }, "properties": { }, "geography": [], "identityran": "Threshold_URLLC",{ "resources": [ "latency": { "URLLC" ], "scopemax": [20, "OSDF_FRANKFURT", "URLLC"min": 10, ], "servicessteps": [1 "URLLC" }, ], "thresholdProperties": [ "reliability": { { "attributevalues": "latency",[ "operator": "lte", 99.9, "threshold": 5, "unit": "ms" 99.9 }, { ] "attribute": "reliability", } "operator": "gte", }, "threshold": 99.999, "unittransport": ""{ } "latency": ]{ }, "type": "onap.policies.optimization.resource.ThresholdPolicy", "type_versionmax": "1.0.0",20, "version": "1.0.0" } } |
...
language | js |
---|---|
theme | Emacs |
collapse | true |
...
|
...
|
...
|
...
|
...
" |
...
min": |
...
7, |
...
"steps": |
...
1 }, |
...
"reliability": { |
...
"values": [
99.9,
99.99
]
}
}
},
"inventoryProvider": "generator",
"inventoryType": "slice_profiles",
"unique": "true"
}
]
},
"type": "onap.policies.optimization.resource.VnfPolicy",
"type_version": "1.0.0",
"version": "1.0.0"
}
} |
Threshold Policy
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"OSDF_FRANKFURT.Threshold_URLLC": {
"metadata": {
"policy-id": "OSDF_FRANKFURT.Threshold_URLLC",
"policy-version": 1
},
"properties": {
"geography": [],
"identity": "Threshold_URLLC",
"resources": [
"URLLC"
],
"scope": [
"OSDF_FRANKFURT",
"URLLC"
],
"services": [
"URLLC"
],
"thresholdProperties": [
{
"attribute": "latency",
"operator": "lte",
"threshold": {
"get_param": "latency"
},
"unit": "ms"
},
{
"attribute": "reliability",
"operator": "gte",
"threshold": {
"get_param": "reliability"
},
"unit": ""
}
]
},
"type": "onap.policies.optimization.resource.ThresholdPolicy",
"type_version": "1.0.0",
"version": "1.0.0"
}
} |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"OSDF_FRANKFURT.queryPolicy_URLLC": {
"type": "onap.policies.optimization.service.QueryPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
"metadata": {
"policy-id": "OSDF_FRANKFURT.queryPolicy_URLLC",
"policy-version": 1
},
"properties": {
"scope": [
"OSDF_FRANKFURT"
],
"services": [
"URLLC"
],
"geography": [
"US"
],
"identity": "queryPolicy_URLLC",
"queryProperties": [
{
"attribute": "latency",
"attribute_location": "latency"
},
{
"attribute": "reliability",
"attribute_location": "reliability"
}
]
}
}
} |
Optimization Policy
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"OSDF_FRANKFURT.minimizeCost_URLLC": {
"metadata": {
"policy-id": "OSDF_FRANKFURT.minimizeCost_URLLC",
"policy-version": 1
},
"properties": {
"geography": [],
"identity": "optimization",
"objective": "minimize",
"objectiveParameter": {
"operator": "sum",
"parameterAttributes": [
{
"operator": "product",
"parameter": "creation_cost",
"resources": [
"URLLC"
],
"weight": "1"
}
]
},
"resources": [
"URLLC"
],
"scope": [
"OSDF_FRANKFURT",
"REUSE"
],
"services": [
"URLLC"
]
},
"type": "onap.policies.optimization.resource.OptimizationPolicy",
"type_version": "1.0.0",
"version": "1.0.0"
}
}
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"OSDF_FRANKFURT.maximizeCost_URLLC": {
"metadata": {
"policy-id": "OSDF_FRANKFURT.maximizeCost_URLLC",
"policy-version": 1
},
"properties": {
"geography": [],
"identity": "optimization",
"objective": "maximize",
"objectiveParameter": {
"operator": "sum",
"parameterAttributes": [
{
"operator": "product",
"parameter": "creation_cost",
"resources": [
"URLLC"
],
"weight": "1"
}
]
},
"resources": [
"URLLC"
],
"scope": [
"OSDF_FRANKFURT",
"CREATE_NEW"
],
"services": [
"URLLC"
]
},
"type": "onap.policies.optimization.resource.OptimizationPolicy",
"type_version": "1.0.0",
"version": "1.0.0"
}
}
|
Sample HAS Templates
Code Block | ||||
---|---|---|---|---|
| ||||
{
"files": {},
"limit": 10,
"name": "urllc_sample",
"num_solution": "1",
"template": {
"constraints": {
"URLLC_Threshold": {
"demands": [
"URLLC"
],
"properties": {
"evaluate": [
{
"attribute": "latency",
"operator": "lte",
"threshold": {
"get_param": "latency"
},
"unit": "ms"
},
{
"attribute": "reliability",
"operator": "gte",
"threshold": {
"get_param": "reliability"
},
"unit": ""
},
{
"attribute": "coverage_area_ta_list",
"operator": "eq",
"threshold": {
"get_param": "coverage_area_ta_list"
},
"unit": ""
}
]
},
"type": "threshold"
}
},
"demands": {
"URLLC": [
{
"default_attributes": {
"creation_cost": 0.1
},
"filtering_attributes": {
"environment-context": "shared",
"model-invariant-id": "21d57d4b-52ad-4d3c-a798-248b5bb9124a",
"model-version-id": "bfba363e-e39c-4bd9-a9d5-1371c28f4d22",
"service-role": "nsi"
},
"inventory_provider": "aai",
"inventory_type": "nsi",
"unique": "true"
},
{
"default_attributes": {
"creation_cost": 0.9
},
"filtering_attributes": {
"core": {
"latency": {
"max": {
"get_param": "latency"
},
"min": {
"get_param": "core_latency"
},
"steps": 1
},
"reliability": {
"values": {
"get_param": "core_reliability"
}
}
},
"ran": {
"coverage_area_ta_list": {
"values": [
{
"get_param": "coverage_area_ta_list"
}
]
},
"latency": {
"max": {
"get_param": "latency"
},
"min": {
"get_param": "ran_latency"
},
"steps": 1
},
"reliability": {
"values": {
"get_param": "ran_reliability"
}
}
},
"transport": {
"latency": {
"max": {
"get_param": "latency"
},
"min": {
"get_param": "tn_latency"
},
"steps": 1
},
"reliability": {
"values": {
"get_param": "tn_reliability"
}
}
}
},
"inventory_provider": "generator",
"inventory_type": "slice_profiles",
"unique": "true"
}
]
},
"homing_template_version": "2020-08-13",
"optimization": {
"goal": "maximize",
"operation_function": {
"operands": [
{
"function": "attribute",
"params": {
"attribute": "creation_cost",
"demand": "URLLC"
}
}
],
"operator": "sum"
}
}
},
"timeout": 1200
} |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "files": {}, "limit": 10, "name": "urllc_sample", "num_solution": "1", "template": { "constraints": { "URLLC_Threshold": { "demands": [ "URLLC" ], "properties": { "evaluate": [ { "attribute": "latency", "operator": "lte", "threshold": { "get_param": "latency" }, "unit": "ms" }, { "attribute": "reliability", "operator": "gte", "threshold": { "get_param": "reliability" }, "unit": "" }, { "attribute": "coverage_area_ta_list", "operator": "eq", "threshold": { "get_param": "coverage_area_ta_list" }, "unit": "" } ] }, "type": "threshold" } }, "demands": { "URLLC": [ { "default_attributes": { "creation_cost": 0.9 }, "filtering_attributes": { "core": { "latency": { "max": { "get_param": "latency" }, "min": { "get_param": "core_latency" }, "steps": 1 }, "reliability": { "values": { "get_param": "core_reliability" } } }, "ran": { "coverage_area_ta_list": { "values": [ { "get_param": "coverage_area_ta_list" } ] }, "latency": { "max": { "get_param": "latency" }, "min": { "get_param": "ran_latency" }, "steps": 1 }, "reliability": { "values": { "get_param": "ran_reliability" } } }, "transport": { " |
...
latency": { |
...
|
...
|
...
|
...
|
...
|
...
" |
...
max": { |
...
|
...
|
...
|
...
|
...
" |
...
get_param": |
...
"latency" |
...
|
...
|
...
|
...
|
...
}, |
...
|
...
|
...
" |
...
min": |
...
{ |
...
|
...
" |
...
get_param": " |
...
tn_latency" |
...
|
...
|
...
|
...
|
...
}, |
...
|
...
Optimization Policy
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "OSDF_FRANKFURT.minimizeCost_URLLC": { "metadata": { "policy-idsteps": "OSDF_FRANKFURT.minimizeCost_URLLC", 1 "policy-version": 1 }, "properties": { "geographyreliability": [], { "identity": "optimization", "objectivevalues": "minimize", { "objectiveParameter": { "operatorget_param": "sumtn_reliability", "parameterAttributes": [ } { } "operator": "product", } "parameter": "creation_cost", }, "resources": [ "inventory_provider": "generator", "URLLC" "inventory_type": "slice_profiles", ], "unique": "true" } "weight": "1" ] }, } "homing_template_version": "2020-08-13", "optimization": { ] }"goal": "maximize", "resourcesoperation_function": [{ "URLLCoperands": [ ], { "scope": [ "OSDF_FRANKFURT", "function": "attribute", "REUSE" ],"normalization": { "services": [ "URLLCend": 0, ] }, "typestart": "onap.policies.optimization.resource.OptimizationPolicy",{ "type_version": "1.0.0", "version": "1.0.0" } } | ||||||
Code Block | ||||||
| ||||||
{ "OSDF_FRANKFURT.maximizeCost_URLLCget_param": {"latency" "metadata": { "policy-id": "OSDF_FRANKFURT.maximizeCost_URLLC",} "policy-version": 1 }, "properties": { "geographyparams": [],{ "identity": "optimization", "objectiveattribute": "maximizelatency", "objectiveParameter": { "operatordemand": "sumURLLC", "parameterAttributes": [ } { }, "operator": "product", { "parameterfunction": "creation_costattribute", "resourcesnormalization": [{ "URLLC"end": { ], "get_param": "reliability" "weight": "1" }, } "start": 99.999 ] }, }, "resources": [ "URLLC"params": { ], "scopeattribute": ["reliability", "OSDF_FRANKFURT", "demand": "URLLC" "CREATE_NEW" ], } "services": [ } "URLLC" ] , }, "typeoperator": "onap.policies.optimization.resource.OptimizationPolicy",sum" "type_version": "1.0.0", } "version": "1.0.0" } } } , "timeout": 1200 } |