Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
f6581cd4
Commit
f6581cd4
authored
Jan 04, 2022
by
kharade
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-smf
into assoc_retry
parents
bfae8523
553c7e20
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
121 additions
and
94 deletions
+121
-94
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
+21
-14
docker/Dockerfile.smf.rhel8
docker/Dockerfile.smf.rhel8
+35
-37
docker/Dockerfile.smf.ubuntu18
docker/Dockerfile.smf.ubuntu18
+20
-13
etc/smf.conf
etc/smf.conf
+31
-30
scripts/entrypoint.sh
scripts/entrypoint.sh
+14
-0
No files found.
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
View file @
f6581cd4
...
...
@@ -36,7 +36,9 @@ RUN cp -Rf /openair-smf-ext-ref /openair-smf/build/ext
# Building SMF
WORKDIR /openair-smf/build/scripts
RUN ./build_smf --clean --Verbose --build-type Release --jobs
RUN ./build_smf --clean --Verbose --build-type Release --jobs && \
ldd /openair-smf/build/smf/build/smf && \
mv /openair-smf/build/smf/build/smf /openair-smf/build/smf/build/oai_smf
#---------------------------------------------------------------------
# TARGET IMAGE
...
...
@@ -60,24 +62,29 @@ RUN apt-get update && \
libgoogle-glog0v5 \
libdouble-conversion1 \
libconfig++9v5 \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
# Copying executable and generated libraries
WORKDIR /openair-smf/bin
COPY --from=oai-smf-builder /openair-smf/build/smf/build/smf oai_smf
COPY --from=oai-smf-builder /openair-smf/scripts/entrypoint.sh .
COPY --from=oai-smf-builder \
/openair-smf/build/smf/build/oai_smf \
/openair-smf/scripts/entrypoint.sh \
./
WORKDIR /usr/local/lib/
COPY --from=oai-smf-builder /usr/local/lib/libpistache.so .
COPY --from=oai-smf-builder /usr/local/lib/libnghttp2_asio.so.1 .
COPY --from=oai-smf-builder /usr/lib/libboost_system.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/libboost_thread.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/libboost_chrono.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/librtmp.so.1 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/libpsl.so.5 .
COPY --from=oai-smf-builder /openair-smf/build/smf/build/nas/libNAS.so .
RUN ldconfig
COPY --from=oai-smf-builder \
/usr/local/lib/libpistache.so \
/usr/local/lib/libnghttp2_asio.so.1 \
/usr/lib/libboost_system.so.1.67.0 \
/usr/lib/libboost_thread.so.1.67.0 \
/usr/lib/libboost_chrono.so.1.67.0 \
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 \
/usr/lib/x86_64-linux-gnu/librtmp.so.1 \
/usr/lib/x86_64-linux-gnu/libpsl.so.5 \
/openair-smf/build/smf/build/nas/libNAS.so \
./
RUN ldconfig && \
ldd /openair-smf/bin/oai_smf
# Copying template configuration files
# The configuration folder will be flat
...
...
docker/Dockerfile.smf.rhel8
View file @
f6581cd4
...
...
@@ -42,14 +42,14 @@ RUN rm -f /etc/rhsm-host && \
yum install -y \
psmisc \
git \
diffutils \
file && \
diffutils \
file && \
rm -rf /var/lib/apt/lists/*
# Some GIT configuration command quite useful
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
RUN git config --global https.postBuffer 123289600
RUN
git config --global http.sslverify false
RUN git config --global https.postBuffer 123289600
&& \
git config --global http.sslverify false
# Copying source code
WORKDIR /openair-smf
...
...
@@ -58,15 +58,10 @@ COPY . /openair-smf
# Installing and Building SMF
WORKDIR /openair-smf/build/scripts
RUN ./build_smf --install-deps --force
RUN ./build_smf --clean --Verbose --build-type Release --jobs
RUN rm /etc/pki/entitlement/*pem
# debug
#WORKDIR /openair-smf
#RUN ldconfig -v && ldd /usr/local/bin/smf
#RUN ls -ls /usr/local/lib/
RUN ./build_smf --clean --Verbose --build-type Release --jobs && \
ldd /openair-smf/build/smf/build/smf && \
mv /openair-smf/build/smf/build/smf /openair-smf/build/smf/build/oai_smf && \
rm /etc/pki/entitlement/*pem
#---------------------------------------------------------------------
# TARGET IMAGE
...
...
@@ -76,33 +71,37 @@ ENV TZ=Europe/Paris
# We install some debug tools for the moment in addition of mandatory libraries
RUN yum update -y && \
yum install -y --enablerepo="ubi-8-codeready-builder" \
psmisc \
procps-ng \
net-tools \
libevent && \
psmisc \
tzdata \
procps-ng \
net-tools \
libevent && \
rm -rf /var/lib/apt/lists/*
# Copying executable and generated libraries
WORKDIR /openair-smf/bin
COPY --from=oai-smf-builder /openair-smf/build/smf/build/smf oai_smf
COPY --from=oai-smf-builder /usr/local/lib64/libpistache.so.0 /usr/lib64/
COPY --from=oai-smf-builder /usr/local/lib/libnghttp2_asio.so /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libgflags.so.2.1 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libglog.so.0 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libdouble-conversion.so.1 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libconfig++.so.9 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libboost_system.so.1.66.0 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libboost_thread.so.1.66.0 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libboost_chrono.so.1.66.0 /usr/lib64/
COPY --from=oai-smf-builder /usr/local/lib/libnghttp2_asio.so.1 /usr/lib64/
COPY --from=oai-smf-builder /usr/lib64/libasan.so.5 /usr/lib64/
COPY --from=oai-smf-builder /openair-smf/build/smf/build/nas/libNAS.so /usr/lib64/
COPY --from=oai-smf-builder /openair-smf/scripts/entrypoint.sh entrypoint.sh
# debug
#RUN ldconfig -v
#RUN ldd oai_smf
COPY --from=oai-smf-builder \
/openair-smf/build/smf/build/oai_smf \
/openair-smf/scripts/entrypoint.sh \
./
COPY --from=oai-smf-builder \
/usr/local/lib64/libpistache.so.0 \
/usr/local/lib/libnghttp2_asio.so \
/usr/lib64/libgflags.so.2.1 \
/usr/lib64/libglog.so.0 \
/usr/lib64/libdouble-conversion.so.1 \
/usr/lib64/libconfig++.so.9 \
/usr/lib64/libboost_system.so.1.66.0 \
/usr/lib64/libboost_thread.so.1.66.0 \
/usr/lib64/libboost_chrono.so.1.66.0 \
/usr/local/lib/libnghttp2_asio.so.1 \
/usr/lib64/libasan.so.5 \
/openair-smf/build/smf/build/nas/libNAS.so \
/usr/lib64/
RUN ldconfig -v && \
ldd /openair-smf/bin/oai_smf
# Copying template configuration files
# The configuration folder will be flat
...
...
@@ -115,5 +114,4 @@ WORKDIR /openair-smf
EXPOSE 80/tcp 9090/tcp 8805/udp
ENTRYPOINT ["/openair-smf/bin/entrypoint.sh"]
CMD ["/openair-smf/bin/oai_smf", "-c", "/openair-smf/etc/smf.conf", "-o"]
docker/Dockerfile.smf.ubuntu18
View file @
f6581cd4
...
...
@@ -55,7 +55,9 @@ COPY . /openair-smf
# Installing and Building SMF
WORKDIR /openair-smf/build/scripts
RUN ./build_smf --install-deps --force
RUN ./build_smf --clean --Verbose --build-type Release --jobs
RUN ./build_smf --clean --Verbose --build-type Release --jobs && \
ldd /openair-smf/build/smf/build/smf && \
mv /openair-smf/build/smf/build/smf /openair-smf/build/smf/build/oai_smf
#---------------------------------------------------------------------
# TARGET IMAGE
...
...
@@ -83,20 +85,25 @@ RUN apt-get update && \
# Copying executable and generated libraries
WORKDIR /openair-smf/bin
COPY --from=oai-smf-builder /openair-smf/build/smf/build/smf oai_smf
COPY --from=oai-smf-builder /openair-smf/scripts/entrypoint.sh .
COPY --from=oai-smf-builder \
/openair-smf/build/smf/build/oai_smf \
/openair-smf/scripts/entrypoint.sh \
./
WORKDIR /usr/local/lib/
COPY --from=oai-smf-builder /usr/local/lib/libpistache.so .
COPY --from=oai-smf-builder /usr/local/lib/libnghttp2_asio.so.1 .
COPY --from=oai-smf-builder /usr/lib/libboost_system.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/libboost_thread.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/libboost_chrono.so.1.67.0 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/librtmp.so.1 .
COPY --from=oai-smf-builder /usr/lib/x86_64-linux-gnu/libpsl.so.5 .
COPY --from=oai-smf-builder /openair-smf/build/smf/build/nas/libNAS.so .
RUN ldconfig
COPY --from=oai-smf-builder \
/usr/local/lib/libpistache.so \
/usr/local/lib/libnghttp2_asio.so.1 \
/usr/lib/libboost_system.so.1.67.0 \
/usr/lib/libboost_thread.so.1.67.0 \
/usr/lib/libboost_chrono.so.1.67.0 \
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 \
/usr/lib/x86_64-linux-gnu/librtmp.so.1 \
/usr/lib/x86_64-linux-gnu/libpsl.so.5 \
/openair-smf/build/smf/build/nas/libNAS.so \
./
RUN ldconfig && \
ldd /openair-smf/bin/oai_smf
# Copying template configuration files
# The configuration folder will be flat
...
...
etc/smf.conf
View file @
f6581cd4
...
...
@@ -21,7 +21,7 @@
SMF
=
{
FQDN
=
"oai-smf-svc"
;
FQDN
=
"oai-smf-svc"
;
INSTANCE
= @
INSTANCE
@;
# 0 is the default
PID_DIRECTORY
=
"@PID_DIRECTORY@"
;
# /var/run is the default
...
...
@@ -31,7 +31,7 @@ SMF =
{
# SMF binded interface for N4 communication (UPF)
INTERFACE_NAME
=
"@SMF_INTERFACE_NAME_FOR_N4@"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
IPV4_ADDRESS
=
"read"
;
};
SBI
:
...
...
@@ -42,7 +42,7 @@ SMF =
PORT
= @
SMF_INTERFACE_PORT_FOR_SBI
@;
# YOUR NETWORK CONFIG HERE (default: 80)
HTTP2_PORT
= @
SMF_INTERFACE_HTTP2_PORT_FOR_SBI
@;
# YOUR NETWORK CONFIG HERE
API_VERSION
=
"@SMF_API_VERSION@"
;
# YOUR SMF API VERSION CONFIG HERE
};
};
};
...
...
@@ -51,10 +51,11 @@ SMF =
# first IPv4 address X.Y.Z.1 is reserved for GTP network device on UPF
DNN_LIST
= (
# PDU_SESSION_TYPE choice in {IPv4, IPv6, IPv4v6}
{
DNN_NI
=
"oai.ipv4"
;
PDU_SESSION_TYPE
=
"IPv4"
;
IPV4_RANGE
=
"12.1.1.2 - 12.1.1.128"
;
IPV6_PREFIX
=
"2001:1:2::/64"
},
{
DNN_NI
=
"default"
;
PDU_SESSION_TYPE
=
"IPv4"
;
IPV4_RANGE
=
"12.2.1.2 - 12.2.1.128"
;
IPV6_PREFIX
=
"3001:1:2::/64"
},
{
DNN_NI
=
"oai"
;
PDU_SESSION_TYPE
=
"IPv4"
;
IPV4_RANGE
=
"12.1.1.129 - 12.1.1.224"
;
IPV6_PREFIX
=
"4001:1:2::/64"
},
{
DNN_NI
=
"ims"
;
PDU_SESSION_TYPE
=
"IPv4v6"
;
IPV4_RANGE
=
"12.2.1.129 - 12.2.1.224"
;
IPV6_PREFIX
=
"5001:1:2::/64"
}
# DNN IP ADDRESS RANGE format is for example: "12.2.1.2 - 12.2.1.128"
{
DNN_NI
=
"@DNN_NI0@"
;
PDU_SESSION_TYPE
=
"@TYPE0@"
;
IPV4_RANGE
=
"@DNN_RANGE0@"
;
IPV6_PREFIX
=
"2001:1:2::/64"
},
{
DNN_NI
=
"@DNN_NI1@"
;
PDU_SESSION_TYPE
=
"@TYPE1@"
;
IPV4_RANGE
=
"@DNN_RANGE1@"
;
IPV6_PREFIX
=
"3001:1:2::/64"
},
{
DNN_NI
=
"@DNN_NI2@"
;
PDU_SESSION_TYPE
=
"@TYPE2@"
;
IPV4_RANGE
=
"@DNN_RANGE2@"
;
IPV6_PREFIX
=
"4001:1:2::/64"
},
{
DNN_NI
=
"@DNN_NI3@"
;
PDU_SESSION_TYPE
=
"@TYPE3@"
;
IPV4_RANGE
=
"@DNN_RANGE3@"
;
IPV6_PREFIX
=
"5001:1:2::/64"
}
);
# DNS address communicated to UEs
...
...
@@ -62,24 +63,24 @@ SMF =
DEFAULT_DNS_SEC_IPV4_ADDRESS
=
"@DEFAULT_DNS_SEC_IPV4_ADDRESS@"
;
# YOUR DNS CONFIG HERE
DEFAULT_DNS_IPV6_ADDRESS
=
"2001:4860:4860::8888"
;
# YOUR DNS CONFIG HERE
DEFAULT_DNS_SEC_IPV6_ADDRESS
=
"2001:4860:4860::8844"
;
# YOUR DNS CONFIG HERE
#Default UE MTU
UE_MTU
=
1358
;
# SUPPORT FEATURES
SUPPORT_FEATURES
:
SUPPORT_FEATURES
:
{
# STRING, {"yes", "no"},
# STRING, {"yes", "no"},
REGISTER_NRF
=
"@REGISTER_NRF@"
;
# Set to yes if SMF resgisters to an NRF
DISCOVER_UPF
=
"@DISCOVER_UPF@"
;
# Set to yes to enable UPF discovery and selection
FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS
=
"no"
;
# Non standard feature, normally should be set to "no",
FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS
=
"no"
;
# Non standard feature, normally should be set to "no",
# but you may need to set to yes for UE that do not explicitly request a PDN address through NAS signalling
USE_LOCAL_SUBSCRIPTION_INFO
=
"
yes
"
;
# Set to yes if SMF uses local subscription information instead of from an UDM
USE_LOCAL_SUBSCRIPTION_INFO
=
"
@USE_LOCAL_SUBSCRIPTION_INFO@
"
;
# Set to yes if SMF uses local subscription information instead of from an UDM
USE_FQDN_DNS
=
"@USE_FQDN_DNS@"
;
# Set to yes if AMF/UDM/NRF/UPF will relying on a DNS to resolve FQDN
HTTP_VERSION
= @
HTTP_VERSION
@;
# Default: 1
USE_NETWORK_INSTANCE
=
"@USE_NETWORK_INSTANCE@"
# Set yes if network instance is to be used for given UPF
}
}
AMF
:
{
IPV4_ADDRESS
=
"@AMF_IPV4_ADDRESS@"
;
# YOUR AMF CONFIG HERE
...
...
@@ -87,14 +88,14 @@ SMF =
API_VERSION
=
"@AMF_API_VERSION@"
;
# YOUR AMF API VERSION FOR SBI CONFIG HERE
FQDN
=
"@AMF_FQDN@"
# YOUR AMF FQDN CONFIG HERE
};
UDM
:
{
IPV4_ADDRESS
=
"@UDM_IPV4_ADDRESS@"
;
# YOUR UDM CONFIG HERE
PORT
= @
UDM_PORT
@;
# YOUR UDM CONFIG HERE (default: 80)
API_VERSION
=
"@UDM_API_VERSION@"
;
# YOUR UDM API VERSION FOR SBI CONFIG HERE
FQDN
=
"@UDM_FQDN@"
# YOUR UDM FQDN CONFIG HERE
};
};
NRF
:
{
...
...
@@ -103,25 +104,25 @@ SMF =
API_VERSION
=
"@NRF_API_VERSION@"
;
# YOUR NRF API VERSION FOR SBI CONFIG HERE
FQDN
=
"@NRF_FQDN@"
# YOUR NRF FQDN CONFIG HERE
};
UPF_LIST
= (
{
IPV4_ADDRESS
=
"@UPF_IPV4_ADDRESS@"
;
FQDN
=
"@UPF_FQDN_0@"
;
NWI_LIST
= ({
DOMAIN_ACCESS
=
"@DOMAIN_ACCESS@"
,
DOMAIN_CORE
=
"@DOMAIN_CORE@"
})}
# YOUR UPF CONFIG HERE
);
# NWI_LIST IS OPTIONAL PARAMETER
);
# NWI_LIST IS OPTIONAL PARAMETER
LOCAL_CONFIGURATION
:
{
SESSION_MANAGEMENT_SUBSCRIPTION_LIST
= (
{
NSSAI_SST
= @
NSSAI_SST0
@,
NSSAI_SD
=
"@NSSAI_SD0@"
,
DNN
=
"default"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
6
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
{
NSSAI_SST
= @
NSSAI_SST0
@,
NSSAI_SD
=
"@NSSAI_SD0@"
,
DNN
=
"default"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
6
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
QOS_PROFILE_ARP_PREEMPTVULN
=
"NOT_PREEMPTABLE"
,
SESSION_AMBR_UL
=
"20Mbps"
,
SESSION_AMBR_DL
=
"22Mbps"
},
{
NSSAI_SST
= @
NSSAI_SST1
@;
NSSAI_SD
=
"@NSSAI_SD1@"
,
DNN
=
"oai"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
7
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
{
NSSAI_SST
= @
NSSAI_SST1
@;
NSSAI_SD
=
"@NSSAI_SD1@"
,
DNN
=
"oai"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
7
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
QOS_PROFILE_ARP_PREEMPTVULN
=
"NOT_PREEMPTABLE"
,
SESSION_AMBR_UL
=
"20Mbps"
,
SESSION_AMBR_DL
=
"22Mbps"
},
{
NSSAI_SST
= @
NSSAI_SST2
@;
NSSAI_SD
=
"@NSSAI_SD2@"
,
DNN
=
"oai.ipv4"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
8
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
QOS_PROFILE_ARP_PREEMPTVULN
=
"NOT_PREEMPTABLE"
,
SESSION_AMBR_UL
=
"20Mbps"
,
SESSION_AMBR_DL
=
"22Mbps"
}
);
};
{
NSSAI_SST
= @
NSSAI_SST2
@;
NSSAI_SD
=
"@NSSAI_SD2@"
,
DNN
=
"oai.ipv4"
,
DEFAULT_SESSION_TYPE
=
"IPV4"
,
DEFAULT_SSC_MODE
=
1
,
QOS_PROFILE_5QI
=
8
,
QOS_PROFILE_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PRIORITY_LEVEL
=
1
,
QOS_PROFILE_ARP_PREEMPTCAP
=
"NOT_PREEMPT"
,
QOS_PROFILE_ARP_PREEMPTVULN
=
"NOT_PREEMPTABLE"
,
SESSION_AMBR_UL
=
"20Mbps"
,
SESSION_AMBR_DL
=
"22Mbps"
}
);
};
};
scripts/entrypoint.sh
View file @
f6581cd4
...
...
@@ -7,6 +7,7 @@ CONFIG_DIR="/openair-smf/etc"
# Default values
# (Default NWI Domain for all UPFs in OAI-Integration)
USE_NETWORK_INSTANCE
=
${
USE_NETWORK_INSTANCE
:-
no
}
USE_LOCAL_SUBSCRIPTION_INFO
=
${
USE_LOCAL_SUBSCRIPTION_INFO
:-
yes
}
DOMAIN_ACCESS
=
${
DOMAIN_ACCESS
:-
access
.oai.org
}
DOMAIN_CORE
=
${
DOMAIN_CORE
:-
core
.oai.org
}
NSSAI_SST0
=
${
NSSAI_SST0
:-
222
}
...
...
@@ -24,6 +25,19 @@ if [[ ${USE_FQDN_DNS} == "yes" ]];then
fi
HTTP_VERSION
=
${
HTTP_VERSION
:-
1
}
DNN_NI0
=
${
DNN_NI0
:-
oai
.ipv4
}
TYPE0
=
${
TYPE0
:-
IPv4
}
DNN_RANGE0
=
${
DNN_RANGE0
:-
'12.1.1.2 - 12.1.1.128'
}
DNN_NI1
=
${
DNN_NI1
:-
default
}
TYPE1
=
${
TYPE1
:-
IPv4
}
DNN_RANGE1
=
${
DNN_RANGE1
:-
'12.2.1.2 - 12.2.1.128'
}
DNN_NI2
=
${
DNN_NI2
:-
oai
}
TYPE2
=
${
TYPE2
:-
IPv4
}
DNN_RANGE2
=
${
DNN_RANGE2
:-
'12.1.1.129 - 12.1.1.224'
}
DNN_NI3
=
${
DNN_NI3
:-
ims
}
TYPE3
=
${
TYPE3
:-
IPv4v6
}
DNN_RANGE3
=
${
DNN_RANGE3
:-
'12.2.1.129 - 12.2.1.224'
}
for
c
in
${
CONFIG_DIR
}
/
*
.conf
;
do
# grep variable names (format: ${VAR}) from template to be rendered
if
!
grep
-oP
'@[a-zA-Z0-9_]+@'
${
c
}
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment