blob: 87920bef42c17bf89d728122a46fdd4b708e4e1c [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2000-2019 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
* Gabor Szalai - initial implementation and initial documentation
******************************************************************************/
//
// File: TS29510_Nnrf_NFDiscovery.ttcn
// Description: Type definitions for 3GPP TS29510
///////////////////////////////////////////////
module TS29510_Nnrf_NFDiscovery {
import from TS29571_CommonData all
import from TS29510_Nnrf_NFManagement all
import from JSON_Generic all;
external function f_enc_SearchResult(in SearchResult pdu) return octetstring
with { extension "prototype(convert) encode(JSON)" }
external function f_dec_SearchResult(in octetstring stream, out SearchResult pdu) return integer
with { extension "prototype(backtrack) decode(JSON)" }
type set SearchResult {
integer validityPeriod optional,
set of NFProfile nfInstances optional
}
type set NFProfile {
TS29571_CommonData.NfInstanceId nfInstanceId,
TS29510_Nnrf_NFManagement.NFType nfType,
TS29510_Nnrf_NFManagement.NFStatus nfStatus,
TS29571_CommonData.PlmnId plmn optional,
set of TS29571_CommonData.Snssai sNssais optional,
set of charstring nsiList optional,
TS29510_Nnrf_NFManagement.Fqdn fqdn optional,
set of TS29571_CommonData.Ipv4Addr ipv4Address optional,
set of TS29571_CommonData.Ipv6Addr ipv6Address optional,
integer capacity (0..65535) optional,
integer load (0..100) optional,
charstring locality optional,
integer priority (0..65535) optional,
TS29510_Nnrf_NFManagement.UdrInfo udrInfo optional,
TS29510_Nnrf_NFManagement.UdmInfo udmInfo optional,
TS29510_Nnrf_NFManagement.AusfInfo ausfInfo optional,
TS29510_Nnrf_NFManagement.AmfInfo amfInfo optional,
TS29510_Nnrf_NFManagement.SmfInfo smfInfo optional,
TS29510_Nnrf_NFManagement.UpfInfo upfInfo optional,
TS29510_Nnrf_NFManagement.PcfInfo pcfInfo optional,
TS29510_Nnrf_NFManagement.BsfInfo bsfInfo optional,
JSON_generic_val customInfo optional,
TS29571_CommonData.DateTime recoveryTime optional,
set of NFService nfServices optional
}
type set NFService {
charstring serviceInstanceId,
TS29510_Nnrf_NFManagement.ServiceName serviceName,
set of TS29510_Nnrf_NFManagement.NFServiceVersion versions,
TS29571_CommonData.UriScheme scheme,
TS29510_Nnrf_NFManagement.NFServiceStatus nfServiceStatus,
TS29510_Nnrf_NFManagement.Fqdn fqdn optional,
set of TS29510_Nnrf_NFManagement.IpEndPoint ipEndPoints optional,
charstring apiPrefix optional,
set of TS29510_Nnrf_NFManagement.DefaultNotificationSubscription defaultNotificationSubscriptions optional,
integer capacity (0..65535) optional,
integer load (0..100) optional,
integer priority (0..65535) optional,
TS29571_CommonData.DateTime recoveryTime optional,
TS29571_CommonData.SupportedFeatures supportedFeatures optional
}
} with {
encode "JSON"
}