Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-fed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
cn5g
oai-cn5g-fed
Commits
1832a69c
Commit
1832a69c
authored
1 year ago
by
turletti
Browse files
Options
Downloads
Patches
Plain Diff
oai-gnb charts update
parent
50f55814
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
charts/oai-5g-ran/oai-gnb/templates/deployment.yaml
+1
-9
1 addition, 9 deletions
charts/oai-5g-ran/oai-gnb/templates/deployment.yaml
charts/oai-5g-ran/oai-gnb/values.yaml
+0
-2
0 additions, 2 deletions
charts/oai-5g-ran/oai-gnb/values.yaml
with
1 addition
and
11 deletions
charts/oai-5g-ran/oai-gnb/templates/deployment.yaml
+
1
−
9
View file @
1832a69c
...
...
@@ -120,11 +120,7 @@ spec:
{{
- if .Values.start.gnb
}}
command
:
[
"
/bin/bash"
,
"
-c"
]
args
:
-
N2_IP_ADDRESS=$(ip -f inet addr show $N2_IF_NAME | grep -o "inet [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*");
N3_IP_ADDRESS=$(ip -f inet addr show $N3_IF_NAME | grep -o "inet [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*");
sed -e s/@N2_IP_ADDRESS@/$N2_IP_ADDRESS/g
-e s/@N3_IP_ADDRESS@/$N3_IP_ADDRESS/g
-e s/@AMF_IP_ADDRESS@/$AMF_IP_ADDRESS/g
sed -e s/@AMF_IP_ADDRESS@/$AMF_IP_ADDRESS/g
{{- if eq .Values.config.usrp "aw2s"}}
/opt/oai-gnb-aw2s/etc/gnb.conf | tee /tmp/gnb.conf;
{{- else }}
...
...
@@ -150,10 +146,6 @@ spec:
value
:
{{
.Values.config.useAdditionalOptions
}}
-
name
:
AMF_IP_ADDRESS
value
:
{{
.Values.config.amfIpAddress
}}
-
name
:
N2_IF_NAME
value
:
{{
.Values.config.n2IfName
}}
-
name
:
N3_IF_NAME
value
:
{{
.Values.config.n3IfName
}}
{{
- if .Values.includeTcpDumpContainer
}}
-
name
:
tcpdump
image
:
"
{{
.Values.tcpdumpimage.repository
}}:{{
.Values.tcpdumpimage.version
}}"
...
...
This diff is collapsed.
Click to expand it.
charts/oai-5g-ran/oai-gnb/values.yaml
+
0
−
2
View file @
1832a69c
...
...
@@ -99,8 +99,6 @@ config:
sst
:
"
1"
#currently only 4 standard values are allowed 1,2,3,4
usrp
:
"
@RRU_TYPE@"
#allowed values rfsim, b2xx, n3xx or x3xx
amfIpAddress
:
"
@AMF_IP_ADDRESS@"
# amf ip-address or service-name oai-amf-svc
n2IfName
:
"
@GNB_N2_IF_NAME@"
# if multus.n2Interface.create is true then use n2
n3IfName
:
"
@GNB_N3_IF_NAME@"
# if multus.n3Interface.create is true then use n3 or you can only use 1 interface n2 or eth0
## Debugging section
start
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment