osdf_system:
libpath: /opt/app/osdf/libs
- sniro_ports:
- internal: 24699 # inside the Docker container, the app listens to this port
- external: 14699 # clients use this port on DockerHost
- # Important Note: At deployment time, we need to ensure the port mapping is done
- ssl_context: ['./../etc/sniromanager.crt', './../etc/sniromanager.key']
+ osdf_ports:
+ internal: 8699 # inside the Docker container, the app listens to this port
+ external: 8698 # clients use this port on DockerHost
+ osdf_ip_default: 0.0.0.0
+# # Important Note: At deployment time, we need to ensure the port mapping is done
+ #ssl_context: ['./ssl_certs/oof.crt', './ssl_certs/oof_new.key']
-osdf_temp: # hacks required for "workarounds" or testing
+osdf_temp: # special configuration required for "workarounds" or testing
local_policies:
global_disabled: True
local_placement_policies_enabled: True
+ placement_policy_dir_vcpe: "./test/policy-local-files/"
placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components)
- - CloudAttributePolicy_vGMuxInfra_1.json
- - CloudAttributePolicy_vG_1.json
- - DistanceToLocationPolicy_vGMuxInfra_1.json
- - DistanceToLocationPolicy_vG_1.json
- - InventoryGroup_vGMuxInfra_1.json
- - InventoryGroup_vG_1.json
- - PlacementOptimizationPolicy.json
- - ResourceInstancePolicy_vG_1.json
- - VNFPolicy_vGMuxInfra_1.json
- - VNFPolicy_vG_1.json
- - ZonePolicy_vGMuxInfra_1.json
- - ZonePolicy_vG_1.json
-
+ - Affinity_vCPE_1.json
+ #- Capacity_vGMuxInfra.json
+ #- Capacity_vG_1.json
+ - Distance_vG_1.json
+ - Distance_vGMuxInfra_1.json
+ - hpa_policy_vG_1.json
+ - hpa_policy_vGMuxInfra_1.json
+ - Placement_Optimization_1.json
+ - QueryPolicy_vCPE.json
+ - vnfPolicy_vG.json
+ - vnfPolicy_vGMuxInfra.json
+ placement_policy_dir_vfw: "./test/policy-local-files/"
+ placement_policy_files_vfw: # workaroud for policy platform glitches (or "work-arounds" for other components)
+ #- Capacity_vFW_1.json
+ - Distance_vFW_1.json
+ - hpa_policy_vFW_1.json
+ - Placement_Optimization_1.json
+ - QueryPolicy_vFW.json
+ - vnfPolicy_vFW.json
service_info:
vCPE:
vcpeHostName: requestParameters.vcpeHostName
e2eVpnKey: requestParameters.e2eVpnKey
+ vFW:
+ vcpeHostName: requestParameters.vcpeHostName
+ e2eVpnKey: requestParameters.e2eVpnKey
+
+references:
+ service_name:
+ source: request
+ value: serviceInfo.serviceName
+ subscriber_role:
+ source: SubscriberPolicy
+ value: content.properties.subscriberRole
policy_info:
+ prioritization_attributes:
+ policy_type:
+ - content.policyType
+ resources:
+ - content.resources
+ - content.objectiveParameter.parameterAttributes.resources
+ service_name:
+ - content.serviceName
+
placement:
policy_fetch: by_scope
policy_scope:
- default_scope: OSDF_R2
- scope_vcpe: OSDF_R2
- service_name: placementInfo.serviceModelInfo.modelName
- policy_subscriber: SubscriberPolicy
- subscriber_name: placementInfo.subscriberInfo.subscriberName
+ default_scope: OSDF_CASABLANCA
+ vcpe_scope: OSDF_CASABLANCA
+ vfw_scope: OSDF_CASABLANCA
+ secondary_scopes:
+ -
+ - get_param: service_name
+ - US
+ # -
+ # - get_param: service_name
+ # - get_param: subscriber_role
default: # if no explicit service related information is needed
policy_fetch: by_name
policy_scope: none