aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/resources
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/oof/resources')
-rw-r--r--kubernetes/oof/resources/config/conf/common_config.yaml175
-rw-r--r--kubernetes/oof/resources/config/conf/log.yml101
-rwxr-xr-xkubernetes/oof/resources/config/conf/osdf_config.yaml76
-rw-r--r--kubernetes/oof/resources/config/conf/slicing_config.yaml98
4 files changed, 0 insertions, 450 deletions
diff --git a/kubernetes/oof/resources/config/conf/common_config.yaml b/kubernetes/oof/resources/config/conf/common_config.yaml
deleted file mode 100644
index 394bece9d9..0000000000
--- a/kubernetes/oof/resources/config/conf/common_config.yaml
+++ /dev/null
@@ -1,175 +0,0 @@
-osdf_system:
- libpath: /opt/app/osdf/libs
- 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
-
-osdf_temp: # special configuration required for "workarounds" or testing
- local_policies:
- global_disabled: True
- local_placement_policies_enabled: True
- local_slice_selection_policies_enabled: True
- local_nst_selection_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)
- - Affinity_vCPE_1.json
- - Attribute_vNS_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
- placement_policy_dir_vfw_td: "./test/policy-local-files/"
- placement_policy_files_vfw_td:
- - vnfPolicy_vFW_TD.json
- - vnfPolicy_vPGN_TD.json
- - affinity_vFW_TD.json
- - QueryPolicy_vFW_TD.json
- slice_selection_policy_dir_embb-nst: "./test/policy-local-files/slice-selection-files/"
- slice_selection_policy_files_embb-nst:
- - query_policy_nsi.json
- - threshold_policy_nsi.json
- - vnf_policy_nsi_shared_case.json
- nst_selection_policy_dir_nst: "./test/policy-local-files/nst-selection-files/"
- nst_selection_policy_files_nst:
- - query_policy_nst.json
- - attribute_policy_nst.json
- - vnf_policy_nst.json
- - optimization_policy_nst.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
- resource:
- source: request
- value: placementInfo.placementDemands.resourceModuleName
- subscriber_role:
- source: onap.policies.optimization.SubscriberPolicy
- value: properties.properties.subscriberRole
- resource_sharing_level:
- source: request
- value: serviceProfile.resourceSharingLevel
- slice_scope:
- source: request
- value: slice_scope
- reuse_preference:
- source: request
- value: preferReuse
-
-policy_info:
- prioritization_attributes:
- policy_type:
- - type
- resources:
- - properties.resources
- - properties.objectiveParameter.parameterAttributes.resources
- service_name:
- - properties.services
-
- slice_selection:
- policy_fetch: by_scope
- policy_scope:
- -
- scope:
- - get_param: slice_scope
- services:
- - get_param: service_name
- resources:
- - get_param: service_name
-
- nst_selection:
- policy_fetch: by_scope
- policy_scope:
- -
- scope:
- - OSDF_GUILIN
- services:
- - nst
- resources:
- - nst
-
- nsst_selection:
- policy_fetch: by_scope
- policy_scope:
- -
- scope:
- - OSDF_GUILIN
- services:
- - nsst
- resources:
- - nsst
-
- subnet_selection:
- policy_fetch: by_scope
- policy_scope:
- - scope:
- - OSDF_GUILIN
- services:
- - get_param: service_name
- resources:
- - get_param: service_name
-
- placement:
- policy_fetch: by_scope
- policy_scope:
- -
- scope:
- - OSDF_FRANKFURT
- geography:
- - US
- services:
- - get_param: service_name
- resources:
- - get_param: resource
- # -
- # - get_param: service_name
- # - get_param: subscriber_role
- default: # if no explicit service related information is needed
- policy_fetch: by_name
- policy_scope: none
-
-PCI:
- ML:
- average_ho_threshold: 10000
- latest_ho_threshold: 500
- DES:
- service_id: ho_metric
- filter:
- interval: 10
- ml_enabled: false
-
-nxi_termination:
- query_templates:
- nsi: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')"
- nsi_with_profile: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')('service-instance-id','{{ printf "{{profile_id}}" }}')"
- nssi:
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'CN') > service-instance*('service-role','nsi')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_BH') > service-instance*('service-role','nsi')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN') > service-instance*('service-role','nsi')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN_NF') > service-instance*('workload-context','AN')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_MH') > service-instance*('workload-context','AN')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'TN_FH') > service-instance*('workload-context','AN')"
- - "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}')('workload-context', 'AN_NF') > service-instance*('workload-context','AN')"
diff --git a/kubernetes/oof/resources/config/conf/log.yml b/kubernetes/oof/resources/config/conf/log.yml
deleted file mode 100644
index 3966ea28c0..0000000000
--- a/kubernetes/oof/resources/config/conf/log.yml
+++ /dev/null
@@ -1,101 +0,0 @@
-version: 1
-disable_existing_loggers: True
-
-loggers:
- error:
- handlers: [error_handler, console_handler]
- level: "WARN"
- propagate: True
- debug:
- handlers: [debug_handler, console_handler]
- level: "DEBUG"
- propagate: True
- metrics:
- handlers: [metrics_handler, console_handler]
- level: "INFO"
- propagate: True
- audit:
- handlers: [audit_handler, console_handler]
- level: "INFO"
- propagate: True
-handlers:
- debug_handler:
- level: "DEBUG"
- class: "logging.handlers.TimedRotatingFileHandler"
- filename: "logs/debug.log"
- formatter: "debugFormat"
- when: midnight
- interval: 1
- utc: True
- delay: False
- backupCount: 10
- error_handler:
- level: "WARN"
- class: "logging.handlers.TimedRotatingFileHandler"
- filename: "logs/error.log"
- formatter: "errorFormat"
- when: midnight
- interval: 1
- utc: True
- delay: False
- backupCount: 10
- metrics_handler:
- level: "INFO"
- class: "logging.handlers.TimedRotatingFileHandler"
- filename: "logs/metrics.log"
- formatter: "metricsFormat"
- when: midnight
- interval: 1
- utc: True
- delay: False
- backupCount: 10
- audit_handler:
- level: "INFO"
- class: "logging.handlers.TimedRotatingFileHandler"
- filename: "logs/audit.log"
- formatter: "auditFormat"
- when: midnight
- interval: 1
- utc: True
- delay: False
- backupCount: 10
- console_handler:
- level: "DEBUG"
- class: "logging.StreamHandler"
- formatter: "metricsFormat"
-
-formatters:
- standard:
- format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"
- debugFormat:
- format: "%(mdc)s"
- datefmt: "%Y-%m-%dT%H:%M:%S"
- mdcfmt: "%(asctime)s.%(msecs)03d+00:00|{requestID}|%(threadName)s|{server}|%(levelname)s|%(message)s"
- (): osdf.logging.oof_mdc_formatter.OOFMDCFormatter
- errorFormat:
- format: "%(mdc)s"
- datefmt: "%Y-%m-%dT%H:%M:%S"
- mdcfmt: "%(asctime)s.%(msecs)03d+00:00|{requestID}|%(threadName)s|{serviceName}|{partnerName}\
- |{targetEntity}|{targetServiceName}|%(levelname)s|{errorCode}|{errorDescription}|%(message)s"
- (): osdf.logging.oof_mdc_formatter.OOFMDCFormatter
- auditFormat:
- format: "%(mdc)s"
- datefmt: "%Y-%m-%dT%H:%M:%S"
- mdcfmt: "{entryTimestamp}+00:00|%(asctime)s.%(msecs)03d+00:00|{requestID}|{serviceInstanceID}\
- |%(threadName)s|{server}|{serviceName}|{partnerName}|{statusCode}|{responseCode}|{responseDescription}\
- |{instanceUUID}|%(levelname)s|{severity}|{serverIPAddress}|{timer}|{server}|{IPAddress}||{unused}\
- |{processKey}|{customField1}|{customField2}|{customField3}|{customField4}|%(message)s"
- (): osdf.logging.oof_mdc_formatter.OOFMDCFormatter
- metricsFormat:
- format: "%(mdc)s"
- datefmt: "%Y-%m-%dT%H:%M:%S"
- mdcfmt: "{entryTimestamp}+00:00|%(asctime)s.%(msecs)03d+00:00|{requestID}|{serviceInstanceID}\
- |%(threadName)s|{server}|{serviceName}|{partnerName}|{targetEntity}|{targetServiceName}|{statusCode}|{responseCode}|{responseDescription}\
- |{instanceUUID}|%(levelname)s|{severity}|{serverIPAddress}|{timer}|{server}|{IPAddress}||{unused}\
- |{processKey}|{TargetVirtualEntity}|{customField1}|{customField2}|{customField3}|{customField4}|%(message)s"
- (): osdf.logging.oof_mdc_formatter.OOFMDCFormatter
- mdcFormat:
- format: "%(asctime)s.%(msecs)03d+00:00|||||%(name)s||%(thread)s||%(funcName)s||%(levelname)s||%(message)s||||%(mdc)s"
- mdcfmt: "{requestID} {invocationID} {serviceName} {serverIPAddress}"
- (): osdf.logging.oof_mdc_formatter.OOFMDCFormatter
-
diff --git a/kubernetes/oof/resources/config/conf/osdf_config.yaml b/kubernetes/oof/resources/config/conf/osdf_config.yaml
deleted file mode 100755
index 818d4f340a..0000000000
--- a/kubernetes/oof/resources/config/conf/osdf_config.yaml
+++ /dev/null
@@ -1,76 +0,0 @@
-placementVersioningEnabled: {{ .Values.config.placementVersioningEnabled }}
-
-# Placement API latest version numbers to be set in HTTP header
-placementMajorVersion: {{ .Values.config.placementMajorVersion }}
-placementMinorVersion: {{ .Values.config.placementMinorVersion }}
-placementPatchVersion: {{ .Values.config.placementPatchVersion }}
-
-# Placement API default version numbers to be set in HTTP header
-placementDefaultMajorVersion: {{ .Values.config.placementDefaultMajorVersion }}
-placementDefaultMinorVersion: {{ .Values.config.placementDefaultMinorVersion }}
-placementDefaultPatchVersion: {{ .Values.config.placementDefaultPatchVersion }}
-
-# Credentials for Conductor
-conductorUrl: {{ .Values.config.conductorUrl.http }}
-conductorPingWaitTime: {{ .Values.config.conductorPingWaitTime }}
-conductorMaxRetries: {{ .Values.config.conductorMaxRetries }}
-# versions to be set in HTTP header
-conductorMinorVersion: {{ .Values.config.conductorMinorVersion }}
-
-# Policy Platform -- requires ClientAuth, Authorization, and Environment
-policyPlatformUrl: {{ .Values.config.policyPlatformUrl.http }}
-policyPlatformEnv: {{ .Values.config.policyPlatformEnv }}
-
-# Credentials for DMaaP
-messageReaderHosts: {{ .Values.config.messageReaderHosts }}
-messageReaderTopic: {{ .Values.config.messageReaderTopic }}
-
-# Credentials for SDC
-sdcUrl: {{ .Values.config.sdcUrl }}
-sdcONAPInstanceID: {{ .Values.config.sdcONAPInstanceID }}
-
-is_aaf_enabled: False
-aaf_cache_expiry_mins: 5
-aaf_url:
-aaf_user_roles:
-
-# Secret Management Service from AAF
-aaf_sms_url:
-aaf_sms_timeout: 30
-secret_domain: ''
-aaf_ca_certs: ''
-
-configClientType: {{ .Values.config.configClientType }}
-
-# config db api
-configDbUrl: {{ .Values.config.configDbUrl }}
-configDbGetCellListUrl: {{ .Values.config.configDbGetCellListUrl }}
-configDbGetNbrListUrl: {{ .Values.config.configDbGetNbrListUrl }}
-
-# cps api
-cpsUrl: {{ .Values.config.cps.Url }}
-cpsCellListUrl: {{ .Values.config.cps.cellListUrl }}
-cpsNbrListUrl: {{ .Values.config.cps.nbrListUrl }}
-
-# AAI api
-aaiUrl: {{ .Values.config.aaiUrl.http }}
-aaiGetLinksUrl: {{ .Values.config.aaiGetLinksUrl }}
-aaiServiceInstanceUrl : {{ .Values.config.aaiServiceInstanceUrl }}
-aaiGetControllersUrl: {{ .Values.config.aaiGetControllersUrl }}
-controllerQueryUrl: {{ .Values.config.controllerQueryUrl }}
-aaiGetInterDomainLinksUrl: {{ .Values.config.aaiGetInterDomainLinksUrl }}
-dslQueryPath: /aai/v23/dsl?format=
-
-#DES api
-desUrl: {{ .Values.config.desUrl.http }}
-desApiPath: {{ .Values.config.desApiPath }}
-desHeaders:
- Accept: application/json
- Content-Type: application/json
-desUsername: {{ .Values.config.desUsername }}
-desPassword: {{ .Values.config.desPassword }}
-
-#key
-appkey: ''
-
-activateConsulConfig: False
diff --git a/kubernetes/oof/resources/config/conf/slicing_config.yaml b/kubernetes/oof/resources/config/conf/slicing_config.yaml
deleted file mode 100644
index 97ed73d524..0000000000
--- a/kubernetes/oof/resources/config/conf/slicing_config.yaml
+++ /dev/null
@@ -1,98 +0,0 @@
-app_info:
- NSI:
- app_name: slice_selection
- requirements_field: serviceProfile
- model_info: NSTInfo
- NSSI:
- app_name: subnet_selection
- requirements_field: sliceProfile
- model_info: NSSTInfo
-
-attribute_mapping:
- camel_to_snake:
- maxBandwidth: max_bandwidth
- jitter: jitter
- sST: sst
- latency: latency
- resourceSharingLevel: resource_sharing_level
- uEMobilityLevel: ue_mobility_level
- maxNumberofUEs: max_number_of_ues
- dLThptPerUE: dl_thpt_per_ue
- uLThptPerUE: ul_thpt_per_ue
- sNSSAI: s_nssai
- pLMNIdList: plmn_id_list
- plmnIdList: plmn_id_List
- activityFactor: activity_factor
- coverageAreaTAList: coverage_area_ta_list
- availability: availability
- cSAvailabilityTarget: cs_availability_target
- reliability: reliability
- cSReliabilityMeanTime: cs_reliability_mean_time
- dLThptPerSlice: dl_thpt_per_slice
- expDataRateDL: exp_data_rate_dl
- uLThptPerSlice: ul_thpt_per_slice
- expDataRateUL: exp_data_rate_ul
- maxPktSize: max_pkt_size
- msgSizeByte: msg_size_byte
- maxNumberofConns: max_number_of_conns
- maxNumberofPDUSession: max_number_of_pdu_session
- termDensity: terminal_density
- survivalTime: survival_time
- areaTrafficCapDL: area_traffic_cap_dl
- areaTrafficCapUL: area_traffic_cap_ul
- overallUserDensity: overall_user_density
- transferIntervalTarget: transfer_interval_target
- expDataRate: exp_data_rate
- security: security
- maxThroughput: max_throughput
- sliceProfileId: slice_profile_id
- snssaiList: s_nssai_list
- domainType: domain_type
- logicInterfaceId: logical_interface_id
- ipAddress: ip_address
- nextHopInfo: next_hop_info
- perfReq: perf_req
-
- snake_to_camel:
- max_bandwidth: maxBandwidth
- jitter: jitter
- sst: sST
- latency: latency
- resource_sharing_level: resourceSharingLevel
- ue_mobility_level: uEMobilityLevel
- max_number_of_ues: maxNumberofUEs
- dl_thpt_per_ue: dLThptPerUE
- ul_thpt_per_ue: uLThptPerUE
- s_nssai: sNSSAI
- plmn_id_list: pLMNIdList
- plmn_id_List: plmnIdList
- activity_factor: activityFactor
- coverage_area_ta_list: coverageAreaTAList
- availability: availability
- cs_availability_target: cSAvailabilityTarget
- reliability: reliability
- cs_reliability_mean_time: cSReliabilityMeanTime
- dl_thpt_per_slice: dLThptPerSlice
- exp_data_rate_dl: expDataRateDL
- ul_thpt_per_slice: uLThptPerSlice
- exp_data_rate_ul: expDataRateUL
- max_pkt_size: maxPktSize
- msg_size_byte: msgSizeByte
- max_number_of_conns: maxNumberofConns
- max_number_of_pdu_session: maxNumberofPDUSession
- terminal_density: termDensity
- survival_time: survivalTime
- area_traffic_cap_dl: areaTrafficCapDL
- area_traffic_cap_ul: areaTrafficCapUL
- overall_user_density: overallUserDensity
- transfer_interval_target: transferIntervalTarget
- exp_data_rate: expDataRate
- security: security
- max_throughput: maxThroughput
- slice_profile_id: sliceProfileId
- s_nssai_list: snssaiList
- domain_type: domainType
- logical_interface_id: logicInterfaceId
- ip_address: ipAddress
- next_hop_info: nextHopInfo
- perf_req: perfReq