Initial commit of AthonetTools
This commit is contained in:
68
templates/ansible_templates/aio_3gpp.yaml.j2
Normal file
68
templates/ansible_templates/aio_3gpp.yaml.j2
Normal file
@@ -0,0 +1,68 @@
|
||||
# 3GPP core identifiers / names
|
||||
mcc: "{{ mcc }}"
|
||||
mnc: "{{ mnc }}"
|
||||
full_network_name: "{{ network_name }}"
|
||||
short_network_name: "{{ network_name | replace(' ', '-') }}"
|
||||
|
||||
# AMF / GUAMI
|
||||
amf_name: "{{ amf_name | default('amf01.5gc.3gppnetwork.org') }}"
|
||||
guami:
|
||||
region: "{{ guami_region | default('02') }}"
|
||||
set: "{{ guami_set | default('003') }}"
|
||||
pointer: "{{ guami_pointer | default('000001') }}"
|
||||
|
||||
# MME (for 4G interop / S1)
|
||||
mme_name: "{{ mme_name | default('mme1') }}"
|
||||
mmegi: "{{ mmegi | default('0001') }}"
|
||||
mmec: "{{ mmec | default('01') }}"
|
||||
mme_cname: "{{ mme_cname | default('gw01.nodes') }}"
|
||||
|
||||
# DNS info
|
||||
epc_dns_zone_data:
|
||||
# Additional PLMNs to handle
|
||||
plmns:
|
||||
- { mcc: '999', mnc: '99' }
|
||||
- { mcc: '001', mnc: '01' }
|
||||
- { mcc: '{{ mcc }}', mnc: '{{ mnc }}' }
|
||||
|
||||
# SBI configuration
|
||||
sbi:
|
||||
interface: lo
|
||||
base_address: 127.0.1.1/24
|
||||
|
||||
# Transports configuration
|
||||
_ngc_ext_aio_transport:
|
||||
|
||||
# AIO local transports
|
||||
- action: set_local_transports
|
||||
params: {}
|
||||
|
||||
# RAN transports (use RAN IP)
|
||||
- action: override_amf_n2_transport
|
||||
params: { address: {{ ran.ip }}, vrf: RAN }
|
||||
- action: override_mme_transport
|
||||
params: { s1_address: {{ ran.ip }}, s1_vrf: RAN }
|
||||
|
||||
# UPF transports (N3 on RAN)
|
||||
- action: override_upf_transport
|
||||
params:
|
||||
n3_interface: eth1
|
||||
n3_address: {{ ran.ip }}
|
||||
n3_vrf: RAN
|
||||
|
||||
# DN/DNN (N6) with UE pool
|
||||
- action: add_n6_dnn
|
||||
params:
|
||||
n6_dnn: internet
|
||||
n6_vrf: DN_01
|
||||
n6_vlan: {{ dn.vlan }}
|
||||
n6_vrf_table: 511
|
||||
n6_interface: eth2
|
||||
n6_ip: {{ dn.cidr }}
|
||||
n6_gw: {{ dn.gw }}
|
||||
n6_upf_pools:
|
||||
- upf_route: {{ dn.ue_pool }}
|
||||
nssai: false
|
||||
n6_bgp:
|
||||
local_as: 65001
|
||||
peer_as: 65000
|
||||
Reference in New Issue
Block a user