aboutsummaryrefslogtreecommitdiffstats
path: root/tests/optf-has/has/data/plan_with_hpa_simple.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/optf-has/has/data/plan_with_hpa_simple.json')
-rw-r--r--tests/optf-has/has/data/plan_with_hpa_simple.json156
1 files changed, 0 insertions, 156 deletions
diff --git a/tests/optf-has/has/data/plan_with_hpa_simple.json b/tests/optf-has/has/data/plan_with_hpa_simple.json
deleted file mode 100644
index d343dc80..00000000
--- a/tests/optf-has/has/data/plan_with_hpa_simple.json
+++ /dev/null
@@ -1,156 +0,0 @@
-{
- "name":"vCPE-with-HPA",
- "template":{
- "homing_template_version":"2017-10-10",
- "parameters":{
- "service_name":"Residential vCPE",
- "service_id":"vcpe_service_id",
- "customer_lat":45.395968,
- "customer_long":-71.135344,
- "REQUIRED_MEM":4,
- "REQUIRED_DISK":100,
- "pnf_id":"some_pnf_id"
- },
- "locations":{
- "customer_loc":{
- "latitude":{
- "get_param":"customer_lat"
- },
- "longitude":{
- "get_param":"customer_long"
- }
- }
- },
- "demands":{
- "vG":[
- {
- "inventory_provider":"aai",
- "inventory_type":"cloud"
- }
- ]
- },
- "constraints":{
- "hpa_constraint":{
- "type":"hpa",
- "demands":[
- "vG"
- ],
- "properties":{
- "evaluate":[
- {
- "id":"vg_1",
- "type":"vnfc",
- "directives":[
- {
- "type":"flavor_directives",
- "attributes":[
- {
- "attribute_name":"flavor_label_1",
- "attribute_value":""
- }
- ]
- }
- ],
- "flavorProperties":[
- {
- "hpa-feature":"basicCapabilities",
- "hpa-version":"v1",
- "architecture":"generic",
- "mandatory": "False",
- "directives":[],
- "score": "5",
- "hpa-feature-attributes":[
- {
- "hpa-attribute-key":"numVirtualCpu",
- "hpa-attribute-value":"32",
- "operator":"="
- },
- {
- "hpa-attribute-key":"virtualMemSize",
- "hpa-attribute-value":"64",
- "operator":"=",
- "unit":"GB"
- }
- ]
- },
- {
- "hpa-feature":"ovsDpdk",
- "hpa-version":"v1",
- "architecture":"generic",
- "mandatory": "False",
- "directives":[],
- "score": "5",
- "hpa-feature-attributes":[
- {
- "hpa-attribute-key":"dataProcessingAccelerationLibrary",
- "hpa-attribute-value":"v18.02",
- "operator":"="
- }
- ]
- }
- ]
- },
- {
- "id":"vg_2",
- "type":"vnfc",
- "directives":[
- {
- "type":"flavor_directives",
- "attributes":[
- {
- "attribute_name":"flavor_label_2",
- "attribute_value":""
- }
- ]
- }
- ],
- "flavorProperties":[
- {
- "hpa-feature":"basicCapabilities",
- "hpa-version":"v1",
- "architecture":"generic",
- "mandatory": "False",
- "directives":[],
- "score": "5",
- "hpa-feature-attributes":[
- {
- "hpa-attribute-key":"numVirtualCpu",
- "hpa-attribute-value":"8",
- "operator":">="
- },
- {
- "hpa-attribute-key":"virtualMemSize",
- "hpa-attribute-value":"16",
- "operator":">=",
- "unit":"GB"
- }
- ]
- }
- ]
- }
- ]
- }
- }
- },
- "optimization":{
- "minimize":{
- "sum":[
- {
- "distance_between":[
- "customer_loc",
- "vG"
- ]
- },
- {
- "distance_between":[
- "customer_loc",
- "vG"
- ]
- }
- ]
- }
- }
- },
- "timeout":5,
- "limit":3
-}