Skip to content
Snippets Groups Projects
Commit 1832a69c authored by turletti's avatar turletti
Browse files

oai-gnb charts update

parent 50f55814
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,7 @@ spec: ...@@ -120,11 +120,7 @@ spec:
{{- if .Values.start.gnb}} {{- if .Values.start.gnb}}
command: [ "/bin/bash", "-c" ] command: [ "/bin/bash", "-c" ]
args: 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]*"); sed -e s/@AMF_IP_ADDRESS@/$AMF_IP_ADDRESS/g
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
{{- if eq .Values.config.usrp "aw2s"}} {{- if eq .Values.config.usrp "aw2s"}}
/opt/oai-gnb-aw2s/etc/gnb.conf | tee /tmp/gnb.conf; /opt/oai-gnb-aw2s/etc/gnb.conf | tee /tmp/gnb.conf;
{{- else }} {{- else }}
...@@ -150,10 +146,6 @@ spec: ...@@ -150,10 +146,6 @@ spec:
value: {{ .Values.config.useAdditionalOptions }} value: {{ .Values.config.useAdditionalOptions }}
- name: AMF_IP_ADDRESS - name: AMF_IP_ADDRESS
value: {{ .Values.config.amfIpAddress }} value: {{ .Values.config.amfIpAddress }}
- name: N2_IF_NAME
value: {{ .Values.config.n2IfName }}
- name: N3_IF_NAME
value: {{ .Values.config.n3IfName }}
{{- if .Values.includeTcpDumpContainer }} {{- if .Values.includeTcpDumpContainer }}
- name: tcpdump - name: tcpdump
image: "{{ .Values.tcpdumpimage.repository }}:{{ .Values.tcpdumpimage.version }}" image: "{{ .Values.tcpdumpimage.repository }}:{{ .Values.tcpdumpimage.version }}"
......
...@@ -99,8 +99,6 @@ config: ...@@ -99,8 +99,6 @@ config:
sst: "1" #currently only 4 standard values are allowed 1,2,3,4 sst: "1" #currently only 4 standard values are allowed 1,2,3,4
usrp: "@RRU_TYPE@" #allowed values rfsim, b2xx, n3xx or x3xx usrp: "@RRU_TYPE@" #allowed values rfsim, b2xx, n3xx or x3xx
amfIpAddress: "@AMF_IP_ADDRESS@" # amf ip-address or service-name oai-amf-svc 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 ## Debugging section
start: start:
......
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