Skip to content

Commit

Permalink
Config
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Feb 8, 2022
1 parent c6e0a0b commit db50740
Show file tree
Hide file tree
Showing 6 changed files with 620 additions and 612 deletions.
156 changes: 79 additions & 77 deletions config/ran1.yaml
Original file line number Diff line number Diff line change
@@ -1,82 +1,84 @@
pfcp-address: "10.0.60.5"
gtpu-entities:
- "10.0.10.2"
- "fd00:d0cc:e700:1111:1::2"
# - "fd00:d0cc:e700:1111:1::2"
simulate-ran:
ipv4: "10.0.200.1/24"
ipv6: "fd00:d0cc:e700:2222:1::1/80"
pfcp-sessions:
- pdrs:
- id: 1
precedence: 255
pdi:
sourceInterface: "Access"
ue-ip-address:
ip-address: "10.0.200.1"
farid: 1
- id: 2
precedence: 255
pdi:
sourceInterface: "Core"
fteid:
teid: 1
ipAddress: "10.0.10.2"
farid: 2
outerHeaderRemoval:
description: 0
extensionHeaderDeletion: 0
- id: 61
precedence: 255
pdi:
sourceInterface: "Access"
ue-ip-address:
ip-address: "fd00:d0cc:e700:2222:1::1"
farid: 61
- id: 62
precedence: 255
pdi:
sourceInterface: "Core"
fteid:
teid: 61
ipAddress: "fd00:d0cc:e700:1111:1::2"
farid: 62
outerHeaderRemoval:
description: 0
extensionHeaderDeletion: 0
- id: 99
precedence: 255
pdi:
sourceInterface: "Access"
sdf-filter:
description: "permit out ip from fe80::/10 to any"
farid: 99
ipv6: ""
# ipv6: "fd00:d0cc:e700:2222:1::1/80"
#pfcp-sessions:
# - pdrs:
# - id: 1
# precedence: 255
# pdi:
# sourceInterface: "Access"
# ue-ip-address:
# ip-address: "10.0.200.1"
# farid: 1
# - id: 2
# precedence: 255
# pdi:
# sourceInterface: "Core"
# fteid:
# teid: 1
# ipAddress: "10.0.10.2"
# farid: 2
# outerHeaderRemoval:
# description: 0
# extensionHeaderDeletion: 0
# - id: 61
# precedence: 255
# pdi:
# sourceInterface: "Access"
# ue-ip-address:
# ip-address: "fd00:d0cc:e700:2222:1::1"
# farid: 61
# - id: 62
# precedence: 255
# pdi:
# sourceInterface: "Core"
# fteid:
# teid: 61
# ipAddress: "fd00:d0cc:e700:1111:1::2"
# farid: 62
# outerHeaderRemoval:
# description: 0
# extensionHeaderDeletion: 0
# - id: 99
# precedence: 255
# pdi:
# sourceInterface: "Access"
# sdf-filter:
# description: "permit out ip from fe80::/10 to any"
# farid: 99

fars:
- id: 1
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Core"
outerHeaderCreation:
teid: 1
gtpuPeer: "10.0.10.3"
- id: 2
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Access"
- id: 61
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Core"
outerHeaderCreation:
teid: 61
gtpuPeer: "fd00:d0cc:e700:1111:1::3"
- id: 62
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Access"
- id: 99
applyAction:
action: "Drop"
# fars:
# - id: 1
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Core"
# outerHeaderCreation:
# teid: 1
# gtpuPeer: "10.0.10.3"
# - id: 2
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Access"
# - id: 61
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Core"
# outerHeaderCreation:
# teid: 61
# gtpuPeer: "fd00:d0cc:e700:1111:1::3"
# - id: 62
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Access"
# - id: 99
# applyAction:
# action: "Drop"
156 changes: 79 additions & 77 deletions config/ran2.yaml
Original file line number Diff line number Diff line change
@@ -1,81 +1,83 @@
pfcp-address: "10.0.60.6"
gtpu-entities:
- "10.0.10.4"
- "fd00:d0cc:e700:1111:1::4"
# - "fd00:d0cc:e700:1111:1::4"
simulate-ran:
ipv4: "10.0.200.2/24"
ipv6: "fd00:d0cc:e700:2222:1::2/80"
pfcp-sessions:
- pdrs:
- id: 1
precedence: 255
pdi:
sourceInterface: "Access"
ue-ip-address:
ip-address: "10.0.200.2"
farid: 1
- id: 2
precedence: 255
pdi:
sourceInterface: "Core"
fteid:
teid: 2
ipAddress: "10.0.10.4"
farid: 2
outerHeaderRemoval:
description: 0
extensionHeaderDeletion: 0
- id: 61
precedence: 255
pdi:
sourceInterface: "Access"
ue-ip-address:
ip-address: "fd00:d0cc:e700:2222:1::2"
farid: 61
- id: 62
precedence: 255
pdi:
sourceInterface: "Core"
fteid:
teid: 62
ipAddress: "fd00:d0cc:e700:1111:1::4"
farid: 62
outerHeaderRemoval:
description: 0
extensionHeaderDeletion: 0
- id: 99
precedence: 255
pdi:
sourceInterface: "Access"
sdf-filter:
description: "permit out ip from fe80::/10 to any"
farid: 99
fars:
- id: 1
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Core"
outerHeaderCreation:
teid: 2
gtpuPeer: "10.0.10.3"
- id: 2
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Access"
- id: 61
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Core"
outerHeaderCreation:
teid: 62
gtpuPeer: "fd00:d0cc:e700:1111:1::3"
- id: 62
applyAction:
action: "Forward"
forwardingParameters:
destinationInterface: "Access"
- id: 99
applyAction:
action: "Drop"
ipv6: ""
# ipv6: "fd00:d0cc:e700:2222:1::2/80"
#pfcp-sessions:
# - pdrs:
# - id: 1
# precedence: 255
# pdi:
# sourceInterface: "Access"
# ue-ip-address:
# ip-address: "10.0.200.2"
# farid: 1
# - id: 2
# precedence: 255
# pdi:
# sourceInterface: "Core"
# fteid:
# teid: 2
# ipAddress: "10.0.10.4"
# farid: 2
# outerHeaderRemoval:
# description: 0
# extensionHeaderDeletion: 0
# - id: 61
# precedence: 255
# pdi:
# sourceInterface: "Access"
# ue-ip-address:
# ip-address: "fd00:d0cc:e700:2222:1::2"
# farid: 61
# - id: 62
# precedence: 255
# pdi:
# sourceInterface: "Core"
# fteid:
# teid: 62
# ipAddress: "fd00:d0cc:e700:1111:1::4"
# farid: 62
# outerHeaderRemoval:
# description: 0
# extensionHeaderDeletion: 0
# - id: 99
# precedence: 255
# pdi:
# sourceInterface: "Access"
# sdf-filter:
# description: "permit out ip from fe80::/10 to any"
# farid: 99
# fars:
# - id: 1
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Core"
# outerHeaderCreation:
# teid: 2
# gtpuPeer: "10.0.10.3"
# - id: 2
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Access"
# - id: 61
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Core"
# outerHeaderCreation:
# teid: 62
# gtpuPeer: "fd00:d0cc:e700:1111:1::3"
# - id: 62
# applyAction:
# action: "Forward"
# forwardingParameters:
# destinationInterface: "Access"
# - id: 99
# applyAction:
# action: "Drop"
Loading

0 comments on commit db50740

Please sign in to comment.