Initial commit of AthonetTools

This commit is contained in:
2025-08-21 12:59:43 +00:00
commit cd932b8fcb
2483 changed files with 433999 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
vswitches:
- vSwitchName: GAF_VSWITCH
vSwitchNics: [vmnic4, vmnic5]
vSwitchSecurity:
forged_transmits: true
mac_changes: true
portgroups:
- { vSwitch: GAF_VSWITCH, vlanId: 501, vlanName: GAF_BP_501_OAM }
- { vSwitch: GAF_VSWITCH, vlanId: 502, vlanName: GAF_BP_502_RAN }
- { vSwitch: GAF_VSWITCH, vlanId: 10, vlanName: DN_01 }
- { vSwitch: GAF_VSWITCH, vlanId: 4095, vlanName: GAF_BP_T_510_515 }

View File

@@ -0,0 +1,68 @@
# 3GPP core identifiers / names
mcc: "315"
mnc: "010"
full_network_name: "JohnWayne"
short_network_name: "JohnWayne"
# AMF / GUAMI
amf_name: "amf01.5gc.3gppnetwork.org"
guami:
region: "02"
set: "003"
pointer: "000001"
# MME (for 4G interop / S1)
mme_name: "mme1"
mmegi: "0001"
mmec: "01"
mme_cname: "gw01.nodes"
# DNS info
epc_dns_zone_data:
# Additional PLMNs to handle
plmns:
- { mcc: '999', mnc: '99' }
- { mcc: '001', mnc: '01' }
- { mcc: '315', mnc: '010' }
# 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: 192.168.120.95, vrf: RAN }
- action: override_mme_transport
params: { s1_address: 192.168.120.95, s1_vrf: RAN }
# UPF transports (N3 on RAN)
- action: override_upf_transport
params:
n3_interface: eth1
n3_address: 192.168.120.95
n3_vrf: RAN
# DN/DNN (N6) with UE pool
- action: add_n6_dnn
params:
n6_dnn: internet
n6_vrf: DN_01
n6_vlan: 10
n6_vrf_table: 511
n6_interface: eth2
n6_ip: 192.168.110.95/24
n6_gw: 192.168.110.1
n6_upf_pools:
- upf_route: 100.0.94.0/24
nssai: false
n6_bgp:
local_as: 65001
peer_as: 65000

View File

@@ -0,0 +1,10 @@
kind: ngcore-AIO
nf_skip_list:
- "aaa"
- "chf"
- "bmsc"
- "dra"
- "eir"
version: '25.1'
ova_file: /home/mjensen/OVA/HPE_ANW_P5G_Core-1.25.1.1-qemux86-64.ova
report_services: false

View File

@@ -0,0 +1,33 @@
# --- Networking recipe ---
net_recipe: generic_bgp
# --- OAM config ---
oam_network:
add_ansible_host_address: false
addresses:
- 192.168.105.159/24
gateway4: 192.168.105.1
# --- NTP ---
ntp:
- 0.pool.ntp.org
- 1.pool.ntp.org
# --- VRF config ---
_ngc_ext_aio_vrf:
- action: net_add_vrf
params: { name: RAN, table: 502 }
- action: net_add_vrf
params: { name: TELCO, table: 535 }
_ngc_ext_aio_net:
# RAN interface
- action: net_set_interface
params:
interface: eth1
vrf: RAN
addresses:
- 192.168.120.95/24 # S1+N2+N3
routes:
- destination: 0.0.0.0/0
gateway: 192.168.120.1

View File

@@ -0,0 +1,13 @@
## UDM/UDR testing profile
create_testing_profile:
slices:
- { sst: 1, sd: '000001' }
- { sst: 1, sd: '' }
dnns:
- internet
plmns:
- { mcc: '315', mnc: '010' }
# UDR Subscribers provisioning
udr_provisioning:
testing_profile_service_profile: "testing_profile"

View File

@@ -0,0 +1,19 @@
all:
hosts:
GBP08-AIO-1:
ansible_host: 100.93.1.100
children:
ESXi:
hosts:
ESXI-1:
VMs:
children:
_5GVMS:
hosts:
GBP08-AIO-1:
_5GAIO:
hosts:
GBP08-AIO-1:
vars:
serialize: 2
esxi_host: ESXI-1