smf.conf 6.21 KB
Newer Older
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
# 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
################################################################################
21

22
SMF =
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
23
{
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
24
    INSTANCE      = @INSTANCE@;         # 0 is the default
25
    PID_DIRECTORY = "@PID_DIRECTORY@";  # /var/run is the default
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
26
27
28

    INTERFACES :
    {
29
        N4 :
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
30
        {
31
            # SMF binded interface for N4 communication (UPF)
32
33
            INTERFACE_NAME = "@SMF_INTERFACE_NAME_FOR_N4@"; # YOUR NETWORK CONFIG HERE
            IPV4_ADDRESS   = "read";                        
34
35
         };

36
        SBI :
37
        {
38
            # SMF binded interface for SBI interface (e.g., communication with AMF, UDM)
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
39
40
41
42
            INTERFACE_NAME = "@SMF_INTERFACE_NAME_FOR_SBI@";     # YOUR NETWORK CONFIG HERE
            IPV4_ADDRESS   = "read";
            PORT           = @SMF_INTERFACE_PORT_FOR_SBI@;       # YOUR NETWORK CONFIG HERE (default: 80)
            HTTP2_PORT     = @SMF_INTERFACE_HTTP2_PORT_FOR_SBI@; # YOUR NETWORK CONFIG HERE
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
43
            API_VERSION    = "@SMF_API_VERSION@";                # YOUR SMF API VERSION CONFIG HERE
44
         };                 
45

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
46
47
48
49
50
    };


    # Pool of UE assigned IP addresses
    # Do not make IP pools overlap
51
    # first IPv4 address X.Y.Z.1 is reserved for GTP network device on UPF
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
52
53
54
    IP_ADDRESS_POOL :
    {
        IPV4_LIST = (
55
56
                      {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.
57
58
                      {RANGE = "10.10.10.2 - 10.10.10.253";}  # STRING, IPv4 RANGE IP_start - IP_end, YOUR NETWORK CONFIG HERE.

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
59
60
                    );
        IPV6_LIST = (
61
62
63
                      {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.
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
64
65
66
                    );
    };

67
    DNN_LIST = (
68
69
70
       # IPV4_POOL, IPV6_POOL are index in IPV4_LIST, IPV6_LIST, PDU_SESSION_TYPE choice in {IPv4, IPv6, IPv4v6}
      {DNN_NI = "default"; PDU_SESSION_TYPE = "IPv4"; IPV4_POOL  = 0; IPV6_POOL = -1},
      {DNN_NI = "carrier.com"; PDU_SESSION_TYPE = "IPv4"; IPV4_POOL = 1; IPV6_POOL = -1},
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
71
      {DNN_NI = "oai"; PDU_SESSION_TYPE = "IPv4"; IPV4_POOL = 2; IPV6_POOL = -1}
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
72
73
74
    );

    # DNS address communicated to UEs
75
76
77
78
    DEFAULT_DNS_IPV4_ADDRESS     = "@DEFAULT_DNS_IPV4_ADDRESS@";      # YOUR DNS CONFIG HERE
    DEFAULT_DNS_SEC_IPV4_ADDRESS = "@DEFAULT_DNS_SEC_IPV4_ADDRESS@";  # YOUR DNS CONFIG HERE
    DEFAULT_DNS_IPV6_ADDRESS     = "2001:4860:4860::8888";            # YOUR DNS CONFIG HERE
    DEFAULT_DNS_SEC_IPV6_ADDRESS = "2001:4860:4860::8844";            # YOUR DNS CONFIG HERE
79
 
80
81
82
83
84
    SUPPORT_FEATURES: 
    {
      # STRING, {"yes", "no"}, 
      REGISTER_NRF = "no";  # Set to yes if SMF resgisters to an NRF
      DISCOVER_UPF = "no";  # Set to yes to enable UPF discovery and selection
85
86
      FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS = "no"; # 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
87
88
89
      USE_LOCAL_SUBSCRIPTION_INFO = "yes";  # Set to yes if SMF uses local subscription information instead of from an UDM
    }  
  
90
91
    AMF :
    {
92
93
      IPV4_ADDRESS = "@AMF_IPV4_ADDRESS@";  # YOUR AMF CONFIG HERE
      PORT         = @AMF_PORT@;            # YOUR AMF CONFIG HERE (default: 80)
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
94
      API_VERSION  = "@AMF_API_VERSION@";   # YOUR AMF API VERSION FOR SBI CONFIG HERE
95
    };
96
    
97
98
    UDM :
    {
99
      IPV4_ADDRESS = "@UDM_IPV4_ADDRESS@";  # YOUR UDM CONFIG HERE
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
100
101
      PORT         = @UDM_PORT@;            # YOUR UDM CONFIG HERE (default: 80)
      API_VERSION  = "@UDM_API_VERSION@";   # YOUR UDM API VERSION FOR SBI CONFIG HERE
102
    };    
103

104
105
    NRF :
    {
106
107
108
      IPV4_ADDRESS = "192.168.12.100";  # YOUR NRF CONFIG HERE
      PORT         = 80;            # YOUR NRF CONFIG HERE (default: 80)
      API_VERSION  = "v1";   # YOUR NRF API VERSION FOR SBI CONFIG HERE
109
    };
110
111
112
113
114
        
    UPF_LIST = (
         {IPV4_ADDRESS = "@UPF_IPV4_ADDRESS@" ;}  # YOUR UPF CONFIG HERE
    );   
   
115
116
117
    LOCAL_CONFIGURATION :
    {
      SESSION_MANAGEMENT_SUBSCRIPTION_LIST = (
118
         { NSSAI_SST = 222, NSSAI_SD = "123", DNN = "default", DEFAULT_SESSION_TYPE = "IPV4", DEFAULT_SSC_MODE = 1, 
119
           QOS_PROFILE_5QI = 6, QOS_PROFILE_PRIORITY_LEVEL = 1, QOS_PROFILE_ARP_PRIORITY_LEVEL = 1, QOS_PROFILE_ARP_PREEMPTCAP = "NOT_PREEMPT", 
120
           QOS_PROFILE_ARP_PREEMPTVULN = "NOT_PREEMPTABLE", SESSION_AMBR_UL = "20Mbps", SESSION_AMBR_DL = "22Mbps"},
121
         { NSSAI_SST = 111; NSSAI_SD = "321", DNN = "oai", DEFAULT_SESSION_TYPE = "IPV4", DEFAULT_SSC_MODE = 1, 
122
           QOS_PROFILE_5QI = 7, QOS_PROFILE_PRIORITY_LEVEL = 1, QOS_PROFILE_ARP_PRIORITY_LEVEL = 1, QOS_PROFILE_ARP_PREEMPTCAP = "NOT_PREEMPT", 
123
124
125
126
           QOS_PROFILE_ARP_PREEMPTVULN = "NOT_PREEMPTABLE", SESSION_AMBR_UL = "10Mbps", SESSION_AMBR_DL = "11Mbps"}
        );                 
    };   
    
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
127
128
};