Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
f832ceda
Commit
f832ceda
authored
Jan 19, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(config): missing flexibility on SBI/N11 interface
parent
815239ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
etc/amf.conf
etc/amf.conf
+7
-6
No files found.
etc/amf.conf
View file @
f832ceda
...
...
@@ -43,9 +43,7 @@ AMF =
}
SERVED_GUAMI_LIST
= (
{
MCC
=
"{{ env["
SERVED_GUAMI_MCC_0
"] }}"
;
MNC
=
"{{ env["
SERVED_GUAMI_MNC_0
"] }}"
;
RegionID
=
"{{ env["
SERVED_GUAMI_REGION_ID_0
"] }}"
;
AMFSetID
=
"{{ env["
SERVED_GUAMI_AMF_SET_ID_0
"] }}"
;
AMFPointer
=
"0"
},
#48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
{
MCC
=
"{{ env["
SERVED_GUAMI_MCC_1
"] }}"
;
MNC
=
"{{ env["
SERVED_GUAMI_MNC_1
"] }}"
;
RegionID
=
"{{ env["
SERVED_GUAMI_REGION_ID_1
"] }}"
;
AMFSetID
=
"{{ env["
SERVED_GUAMI_AMF_SET_ID_1
"] }}"
;
AMFPointer
=
"1"
}
{
MCC
=
"{{ env["
SERVED_GUAMI_MCC_0
"] }}"
;
MNC
=
"{{ env["
SERVED_GUAMI_MNC_0
"] }}"
;
RegionID
=
"{{ env["
SERVED_GUAMI_REGION_ID_0
"] }}"
;
AMFSetID
=
"{{ env["
SERVED_GUAMI_AMF_SET_ID_0
"] }}"
;
AMFPointer
=
"0"
}
#48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
);
...
...
@@ -74,9 +72,12 @@ AMF =
{
INTERFACE_NAME
=
"{{ env["
AMF_INTERFACE_NAME_FOR_N11
"] }}"
;
IPV4_ADDRESS
=
"read"
;
PORT
=
80
;
API_VERSION
=
"v1"
;
HTTP2_PORT
=
8080
;
# default is 80
PORT
= {{
env
[
"AMF_INTERFACE_PORT_FOR_N11"
]
if
"AMF_INTERFACE_PORT_FOR_N11"
in
env
.
keys
()
else
'80'
}};
# default is v1
API_VERSION
=
"{{ env["
AMF_API_VERSION
"] if "
AMF_API_VERSION
" in env.keys() else 'v1' }}"
;
# default is 8080
HTTP2_PORT
= {{
env
[
"AMF_INTERFACE_HTT2_PORT_FOR_N11"
]
if
"AMF_INTERFACE_HTT2_PORT_FOR_N11"
in
env
.
keys
()
else
'8080'
}};
SMF_INSTANCES_POOL
= (
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"{{ env["
SMF_IPV4_ADDR_0
"] if "
SMF_IPV4_ADDR_0
" in env.keys() else '0.0.0.0' }}"
;
PORT
=
"80"
;
HTTP2_PORT
=
8080
,
VERSION
=
"{{ env["
SMF_HTTP_VERSION
"] if "
SMF_HTTP_VERSION
" in env.keys() else 'v1' }}"
;
FQDN
=
"{{ env["
SMF_FQDN_0
"] if "
SMF_FQDN_0
" in env.keys() else 'localhost' }}"
,
SELECTED
=
"{{ env["
SELECTED_0
"] }}"
}
...
...
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