Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupRecord ¶
type EupfLocalRepository ¶
type EupfRepository ¶
type EupfRepository interface {
TraceList(ctx context.Context, baseURL string) ([]TraceRecord, error)
StartTrace(ctx context.Context, imsi, msisdn *string, baseURL string) error
StopTrace(ctx context.Context, imsi, msisdn *string, baseURL string) error
GetUpfConfig(ctx context.Context, baseURL string) (*UpfConfig, error)
RestoreConfigLoggingLevel(ctx context.Context, logLevel string, baseURL string) error
RestoreConfigLoggingCaller(ctx context.Context, logCaller bool, baseURL string) error
RestoreConfigDataPlaneEbpf(ctx context.Context, interfaceName []string, xdpAttachMode string, baseURL string) error
RestoreConfigDataPlaneAddresses(ctx context.Context, n3Address string, n9Address string, baseURL string) error
RestoreConfigPFCPN4(ctx context.Context, pfcpAddress string, pfcpNodeId string, pfcpRemoteNode []string, baseURL string) error
RestoreConfigPFCPSxa(ctx context.Context, sxaAddress string, sxaNodeId string, sxaRemoteNode []string, baseURL string) error
RestoreConfigPFCPSxb(ctx context.Context, sxbAddress string, sxbNodeId string, sxbRemoteNode []string, baseURL string) error
RestoreConfigPFCPTimers(ctx context.Context, associationSetupTimeout uint32, heartbeatTimeout uint32, baseURL string) error
RestoreConfigGTPPath(ctx context.Context, gtpPeer []string, gtpEchoInterval uint32, baseURL string) error
SessionShow(ctx context.Context, ip, teid, baseURL string) ([]PfcpSession, error)
SessionReleaseByIMSI(ctx context.Context, imsi, baseURL string) error
SessionReleaseByMSISDN(ctx context.Context, msisdn, baseURL string) error
SessionReleaseByID(ctx context.Context, id, baseURL string) error
}
type EupfUseCase ¶
type EupfUseCase interface {
CliConfigSetNewEUPFBaseURL(baseURL string) error
CliConfigShowEUPFBaseURL() (string, error)
BackupList(ctx context.Context) ([]BackupRecord, error)
BackupCreate(ctx context.Context, baseURL string) error
BackupRestore(ctx context.Context, baseURL string, name string) error
TraceList(ctx context.Context, tempBaseURL string) ([]TraceRecord, error)
StartTrace(ctx context.Context, imsi, msisdn *string, tempBaseURL string) error
StopTrace(ctx context.Context, imsi, msisdn *string, tempBaseURL string) error
SessionShow(ctx context.Context, ip, teid, baseURL string) ([]PfcpSession, error)
SessionRelease(ctx context.Context, imsi, msisdn, id, baseURL string) error
SetLoggingLevel(ctx context.Context, logLevel string, baseURL string) error
SetLoggingCaller(ctx context.Context, logCaller bool, baseURL string) error
SetDataPlaneEbpf(ctx context.Context, interfaceName []string, xdpAttachMode string, baseURL string) error
SetDataPlaneAddresses(ctx context.Context, n3Address string, n9Address string, baseURL string) error
SetPFCPN4(ctx context.Context, pfcpAddress string, pfcpNodeId string, pfcpRemoteNode []string, baseURL string) error
SetPFCPSxa(ctx context.Context, sxaAddress string, sxaNodeId string, sxaRemoteNode []string, baseURL string) error
SetPFCPSxb(ctx context.Context, sxbAddress string, sxbNodeId string, sxbRemoteNode []string, baseURL string) error
SetPFCPTimers(ctx context.Context, associationSetupTimeout uint32, heartbeatTimeout uint32, baseURL string) error
SetGTPPath(ctx context.Context, gtpPeer []string, gtpEchoInterval uint32, baseURL string) error
GetConfig(ctx context.Context, baseURL string) (*UpfConfig, error)
}
type PfcpSession ¶
type TraceRecord ¶
type UpfConfig ¶
type UpfConfig struct {
InterfaceName []string `json:"interface_name"`
XDPAttachMode string `json:"xdp_attach_mode"`
ApiAddress string `json:"api_address"`
PfcpAddress string `json:"pfcp_address"`
PfcpNodeId string `json:"pfcp_node_id"`
PfcpRemoteNode []string `json:"pfcp_node"`
SxaRemoteNode []string `json:"sxa_node"`
SxbRemoteNode []string `json:"sxb_node"`
SxaLocalAddress string `json:"sxa_address"`
SxbLocalAddress string `json:"sxb_address"`
SxaLocalNodeId string `json:"sxa_node_id"`
SxbLocalNodeId string `json:"sxb_node_id"`
AssociationSetupTimeout uint32 `json:"association_setup_timeout"`
MetricsAddress string `json:"metrics_address"`
N3Address string `json:"n3_address"`
N9Address string `json:"n9_address"`
S1UAddress string `json:"s1u_address"`
S5S8Address string `json:"s5s8_address"`
PAAddress string `json:"pa_address"`
GtpPeer []string `json:"gtp_peer"`
GtpEchoInterval uint32 `json:"gtp_echo_interval"`
QerMapSize uint32 `json:"qer_map_size"`
FarMapSize uint32 `json:"far_map_size"`
UrrMapSize uint32 `json:"urr_map_size"`
PdrMapSize uint32 `json:"pdr_map_size"`
EbpfMapResize bool `json:"resize_ebpf_maps"`
HeartbeatRetries uint32 `json:"heartbeat_retries"`
HeartbeatInterval uint32 `json:"heartbeat_interval"`
HeartbeatTimeout uint32 `json:"heartbeat_timeout"`
LoggingLevel string `json:"logging_level"`
LoggingCaller bool `json:"logging_caller"`
UEIPPool string `json:"ueip_pool"`
FTEIDPool uint32 `json:"teid_pool"`
FeatureUEIP bool `json:"feature_ueip"`
FeatureFTUP bool `json:"feature_ftup"`
Qci2DscpMapping map[string]int `json:"qci_dscp_mapping"`
AllowedApns string `json:"allowed_apns"`
DeniedApns string `json:"denied_apns"`
PfcpProfile string `json:"pfcp_profile"`
TraceAssociation bool `json:"trace_association"`
TraceHeartbeat bool `json:"trace_heartbeat"`
TraceBlocked bool `json:"trace_blocked"`
TraceMaxDumpFiles int `json:"trace_files"`
TraceMaxDumpSize int `json:"trace_max_size"`
TraceMaxDumpPackets int `json:"trace_max_packets"`
IP6RaSupport bool `json:"ip6_ra_support"`
Ip6RaPrefix string `json:"ip6_ra_prefix"`
}
Click to show internal directories.
Click to hide internal directories.