Skip to content
Snippets Groups Projects
Commit 10aca2fa authored by Stefan Spettel's avatar Stefan Spettel
Browse files

refact(pcf): removed pcf.yaml file

parent 3e7e382d
No related branches found
No related tags found
1 merge request!26Refactoring of configuration file
Pipeline #36560 passed
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
##### Base configuration #####
# Name of the component, used towards NRF. Valid values: any string, DEFAULT="PCF"
name: "{{ env["PCF_NAME"] if "PCF_NAME" in env.keys() else 'OAI-PCF' }}"
# Directories where policy configuration is stored, absolute path
pcc_rules_directory: "{{ env["PCC_RULES_DIR"] }}"
traffic_rules_directory: "{{ env["TRAFFIC_RULES_DIR"] }}"
policy_decisions_directory: "{{ env["POLICY_DECISIONS_DIR"] }}"
##### Options to enable/disable #####
# If "on": Register to NRF, DEFAULT= off
register_nrf: {{ env["REGISTER_NRF"] if "REGISTER_NRF" in env.keys() else 'no' }}
# If "2": Send only HTTP/2 requests, DEFAULT=1 (HTTP1)
client_http_version: {{ env["CLIENT_HTTP_VERSION"] if "CLIENT_HTTP_VERSION" in env.keys() else '1' }}
##### Local interface #####
# Local SBI interface
## name: Name of the NIC to read the IP address from
## port_http: unsigned int between 1-65535 for HTTP1 port
## port_http2: unsigned int between 1-65535 for HTTP2 port
## http_version: Allowed values: "1", "2"
## api_version: Allowed values: "v1", "v2", used to create the 3GPP API version for the SBI URL
local_sbi_interface:
name: "{{ env["SBI_IF_NAME"] }}"
port_http: {{ env["SBI_PORT_HTTP1"] if "SBI_PORT_HTTP1" in env.keys() else '80' }}
port_http2: {{ env["SBI_PORT_HTTP2"] if "SBI_PORT_HTTP2" in env.keys() else '8080' }}
http_version: {{ env["SBI_HTTP_VERSION"] if "SBI_HTTP_VERSION" in env.keys() else '1' }}
api_version: "{{ env["SBI_API_VERSION"] if "SBI_API_VERSION" in env.keys() else 'v1' }}"
##### Next hop interfaces #####
# Next hop SBI interfaces
## host: IPv4 address or hostname
## api_version: Allowed values: "v1", "v2", used to create the 3GPP API version for the SBI URL
nrf:
host: "{{ env["NRF_HOST"] if "NRF_HOST"in env.keys() else 'oai-nrf' }}"
port: {{ env["NRF_PORT"] if "NRF_PORT" in env.keys() else '80' }}
api_version: "{{ env["NRF_API_VERSION"] if "NRF_API_VERSION" in env.keys() else 'v1' }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment