-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
661 changed files
with
67,152 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: oran-ric | ||
ric_label: app.kubernetes.io/name=flexric |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: flexric | ||
labels: | ||
app.kubernetes.io/name: flexric | ||
spec: | ||
containers: | ||
- name: flexric | ||
image: conformance/flexric:latest | ||
command: ["/entrypoint.sh"] | ||
env: | ||
- name: POD_IP | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.podIP | ||
securityContext: | ||
privileged: true | ||
ports: | ||
- containerPort: 36421 | ||
name: ric | ||
protocol: SCTP | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: flexric | ||
spec: | ||
ports: | ||
- name: ric | ||
port: 3642100000 | ||
protocol: SCTP | ||
targetPort: 3642100000 | ||
selector: | ||
app.kubernetes.io/name: flexric | ||
type: ClusterIP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: srsran | ||
spec: | ||
containers: | ||
- name: srsran | ||
image: conformance/oran:latest | ||
command: ["/bin/bash"] | ||
args: ["-c", "envsubst < /gnb.yml.template > /gnb.yml && gnb -c /gnb.yml"] | ||
env: | ||
- name: LOCAL_IP | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.podIP | ||
securityContext: | ||
privileged: true |
Submodule oran_ric
added at
21041a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: oran-ric | ||
ric_label: app.kubernetes.io/name=flexric |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: flexric | ||
labels: | ||
app.kubernetes.io/name: flexric | ||
spec: | ||
containers: | ||
- name: flexric | ||
image: conformance/flexric:latest | ||
command: ["/entrypoint.sh"] | ||
env: | ||
- name: POD_IP | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.podIP | ||
securityContext: | ||
privileged: true | ||
ports: | ||
- containerPort: 36421 | ||
name: ric | ||
protocol: SCTP | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: flexric | ||
spec: | ||
ports: | ||
- name: ric | ||
port: 36421 | ||
protocol: SCTP | ||
targetPort: 36421 | ||
selector: | ||
app.kubernetes.io/name: flexric | ||
type: ClusterIP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: srsran | ||
spec: | ||
containers: | ||
- name: srsran | ||
image: conformance/oran:latest | ||
command: ["/bin/bash"] | ||
args: ["-c", "envsubst < /gnb.yml.template > /gnb.yml && gnb -c /gnb.yml"] | ||
env: | ||
- name: LOCAL_IP | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.podIP | ||
securityContext: | ||
privileged: true |
Submodule oran_ric
added at
21041a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
sample-cnfs/sample_srsran_ueauth_open5gs/5g-core-config.old
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
hss: | ||
enabled: false | ||
|
||
mme: | ||
enabled: false | ||
|
||
pcrf: | ||
enabled: false | ||
|
||
smf: | ||
config: | ||
pcrf: | ||
enabled: false | ||
|
||
sgwc: | ||
enabled: false | ||
|
||
sgwu: | ||
enabled: false | ||
|
||
udm: | ||
extraVolumeMounts: | ||
- name: curve | ||
mountPath: /etc/open5gs/hnet/curve25519-1.key | ||
subPath: curve25519-1.key | ||
- name: secp | ||
mountPath: /etc/open5gs/hnet/secp256r1-2.key | ||
subPath: secp256r1-2.key | ||
extraVolumes: | ||
- name: curve | ||
configMap: | ||
name: key | ||
items: | ||
- key: curve | ||
path: curve25519-1.key | ||
- name: secp | ||
configMap: | ||
name: key | ||
items: | ||
- key: secp | ||
path: secp256r1-2.key | ||
|
||
amf: | ||
config: | ||
guamiList: | ||
- plmn_id: | ||
mcc: "999" | ||
mnc: "70" | ||
amf_id: | ||
region: 2 | ||
set: 1 | ||
taiList: | ||
- plmn_id: | ||
mcc: "999" | ||
mnc: "70" | ||
tac: [1] | ||
plmnList: | ||
- plmn_id: | ||
mcc: "999" | ||
mnc: "70" | ||
s_nssai: | ||
- sst: 1 | ||
sd: "0x111111" | ||
|
||
nssf: | ||
config: | ||
nsiList: | ||
- nrf: | ||
hostname: "" # if empty default is autogenerated open5gs svc fullname | ||
port: 7777 | ||
sst: 1 | ||
sd: "0x111111" | ||
|
||
webui: | ||
ingress: | ||
enabled: false | ||
|
||
populate: | ||
enabled: true | ||
initCommands: | ||
- open5gs-dbctl add_ue_with_slice 999700000000001 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111 | ||
- open5gs-dbctl add_ue_with_slice 999700000000002 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111 |
25 changes: 25 additions & 0 deletions
25
sample-cnfs/sample_srsran_ueauth_open5gs/cnf-testsuite.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
helm_directory: open5gs | ||
release_name: open5gs | ||
allowlist_helm_chart_container_names: [] | ||
#optional 5gcore tag | ||
core: app.kubernetes.io/name=amf | ||
amf_pod_name: open5gs-amf-ngap | ||
mmc: '999' | ||
mnc: '70' | ||
sst: 1 | ||
sd: '0x111111' | ||
tac: '0001' | ||
protectionScheme: 1 | ||
publicKey: 0ac95ceeb93308df01be82ff9994d8330e38804ece1700ee4b972d8028796275 | ||
publicKeyId: 1 | ||
routingIndicator: '0000' | ||
enabled: true | ||
count: 1 | ||
initialMSISDN: '0000000001' | ||
key: 465B5CE8B199B49FAA5F0A2EE238A6BC | ||
op: E8ED289DEBA952E4283B54E88E6183CA | ||
opType: OPC | ||
type: 'IPv4' | ||
apn: 'internet' | ||
emergency: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
openssl genpkey -algorithm X25519 > curve25519-1.key | ||
KEY_CURVE=$(cat curve25519-1.key) | ||
|
||
openssl ecparam -name prime256v1 -genkey -conv_form compressed > secp256r1-2.key | ||
KEY_SECP=$(cat secp256r1-2.key) | ||
|
||
cat << EOF > ./configmap.yml | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: key | ||
data: | ||
curve: |- | ||
$KEY_CURVE | ||
secp: |- | ||
$KEY_SECP | ||
EOF | ||
|
||
sed -i '8,9s/^/ /' ./configmap.yml | ||
sed -i '13,19s/^/ /' ./configmap.yml |
Oops, something went wrong.