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
40aa0d26
Commit
40aa0d26
authored
Mar 21, 2019
by
gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Config files
parent
b3f671d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
0 deletions
+182
-0
etc/spgw_c.conf
etc/spgw_c.conf
+118
-0
etc/spgw_u.conf
etc/spgw_u.conf
+64
-0
No files found.
etc/spgw_c.conf
0 → 100644
View file @
40aa0d26
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
S
-
GW
=
{
INSTANCE
= @
INSTANCE
@;
# 0 is the default
PID_DIRECTORY
=
"@PID_DIRECTORY@"
;
# /var/run is the default
INTERFACES
:
{
S11_CP
:
{
# S-GW binded interface for S11 communication (GTPV2-C), if none selected the ITTI message interface is used
INTERFACE_NAME
=
"@SGW_INTERFACE_NAME_FOR_S11@"
;
# STRING, interface name, YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address, YOUR NETWORK CONFIG HERE
PORT
=
2123
;
# INTEGER, port number, PREFER NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
};
S5_S8_CP
:
{
# S-GW binded interface for S5 or S8 communication
INTERFACE_NAME
=
"@SGW_INTERFACE_NAME_FOR_S5_S8_CP@"
;
# STRING, interface name
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
PORT
=
2123
;
};
};
};
P
-
GW
=
{
INSTANCE
= @
INSTANCE
@;
# 0 is the default
PID_DIRECTORY
=
"@PID_DIRECTORY@"
;
# /var/run is the default
INTERFACES
:
{
S5_S8_CP
:
{
# P-GW binded interface for S5 or S8 communication
INTERFACE_NAME
=
"@PGW_INTERFACE_NAME_FOR_S5_S8_CP@"
;
# STRING, interface name
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
PORT
=
2123
;
};
SX
:
{
# P-GW binded interface for SX communication
INTERFACE_NAME
=
"@PGW_INTERFACE_NAME_FOR_SX@"
;
# STRING, interface name
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
PORT
=
8805
;
};
};
# Pool of UE assigned IP addresses
# Do not make IP pools overlap
# first IPv4 address X.Y.Z.1 is reserved for GTP network device on SPGW
# Normally no more than 96 pools allowed, but for non OVS GTP solution, only one pool allowed (TODO).
IP_ADDRESS_POOL
:
{
ARP_UE
=
"@ARP_UE@"
;
# String, {"no", "linux", 'oai'}, respond to incoming ARP for UE IP addresses on SGi interface
# 'linux' use arp executable (comes with your linux distribution)
# 'oai' can only be used with OVS
IPV4_LIST
= (
{
RANGE
=
"12.1.1.2 - 12.1.1.128"
;},
# STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.
{
RANGE
=
"12.1.1.129 - 12.1.1.224"
;},
# STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.
{
RANGE
=
"192.169.0.2 - 192.169.255.253"
;},
# STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.
{
RANGE
=
"192.170.0.2 - 192.170.255.253"
;},
# STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.
{
RANGE
=
"192.171.0.2 - 192.171.255.253"
;}
# STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.
);
IPV6_LIST
= (
{
PREFIX
=
"2001:1:2::/64"
;},
# STRING, IPv6 prefix, YOUR NETWORK CONFIG HERE.
{
PREFIX
=
"3001:1:2::/64"
;},
# STRING, IPv6 prefix, YOUR NETWORK CONFIG HERE.
{
PREFIX
=
"4001:1:2::/64"
;}
# STRING, IPv6 prefix, YOUR NETWORK CONFIG HERE.
);
};
APN_LIST
= (
# IPV4_POOL, IPV6_POOL are index in IPV4_LIST, IPV6_LIST, PDN_TYPE choice in {IPv4, IPv6, IPv4v6}
{
APN_NI
=
"default"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
0
;
IPV6_POOL
= -
1
;
SNAT
=
"no"
},
{
APN_NI
=
"apn1"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
1
;
IPV6_POOL
= -
1
;
SNAT
=
"no"
},
{
APN_NI
=
"apn2"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
2
;
IPV6_POOL
= -
1
;
SNAT
=
"no"
},
{
APN_NI
=
"apn3"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
3
;
IPV6_POOL
= -
1
;
SNAT
=
"no"
},
{
APN_NI
=
"apn2"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
4
;
IPV6_POOL
= -
1
;
SNAT
=
"no"
}
);
# DNS address communicated to UEs
DEFAULT_DNS_IPV4_ADDRESS
=
"@DEFAULT_DNS_IPV4_ADDRESS@"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_SEC_IPV4_ADDRESS
=
"@DEFAULT_DNS_SEC_IPV4_ADDRESS@"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_IPV6_ADDRESS
=
"2001:4860:4860::8888"
;
# FFU
DEFAULT_DNS_SEC_IPV6_ADDRESS
=
"2001:4860:4860::8844"
;
# FFU
# 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
FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS
=
"no"
;
# STRING, {"yes", "no"}.
PCEF
:
{
# Waiting for HSS APN-AMBR IE ...
APN_AMBR_UL
=
500000
;
# Maximum UL bandwidth that can be used by non guaranteed bit rate traffic in Kbits/seconds.
APN_AMBR_DL
=
500000
;
# Maximum DL bandwidth that can be used by non guaranteed bit rate traffic in Kbits/seconds.
};
};
etc/spgw_u.conf
0 → 100644
View file @
40aa0d26
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
SPGW
-
U
=
{
INSTANCE
= @
INSTANCE
@;
# 0 is the default
PID_DIRECTORY
=
"@PID_DIRECTORY@"
;
# /var/run is the default
INTERFACES
:
{
S1U_S12_S4_UP
:
{
# S-GW binded interface for S1-U communication (GTPV1-U) can be ethernet interface, virtual ethernet interface, we don't advise wireless interfaces
INTERFACE_NAME
=
"@SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP@"
;
# STRING, interface name, YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
PORT
= @
SGW_UDP_PORT_FOR_S1U_S12_S4_UP
@;
# Default is 2152
CPU_ID_THREAD_LOOP_READ
=
1
;
};
SX
:
{
# S/P-GW binded interface for SX communication
INTERFACE_NAME
=
"@SGW_INTERFACE_NAME_FOR_SX@"
;
# STRING, interface name
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
PORT
=
8805
;
# Default is 8805
};
SGI
:
{
# No config to set, the software will set the SGi interface to the interface used for the default route.
INTERFACE_NAME
=
"@SGW_INTERFACE_NAME_FOR_SGI@"
;
# STRING, interface name or "default_gateway"
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or read to let app read interface configured IP address
CPU_ID_THREAD_LOOP_READ
=
3
;
};
};
PDN_NETWORK_LIST
= (
{
NETWORK_IPV4
=
"12.1.1.0/24"
;
NETWORK_IPV6
=
"2001:1:2::0/64"
;
SNAT
=
"yes"
;},
{
NETWORK_IPV4
=
"12.1.2.0/24"
;
SNAT
=
"no"
;},
{
NETWORK_IPV4
=
"192.169.0.0/24"
;
SNAT
=
"no"
;},
{
NETWORK_IPV4
=
"192.170.0.0/24"
;
SNAT
=
"no"
;},
{
NETWORK_IPV4
=
"192.171.0.0/24"
;
SNAT
=
"no"
;}
);
SPGW
-
C_LIST
= (
{
IPV4_ADDRESS
=
"192.168.160.100"
;}
);
};
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