Documentation ¶
Index ¶
- Constants
- func GetBGPConfig(nfBgpConfig *types.NFBGPConfig) []types.BGPConfig
- func GetInterfaceConfigSpecMap(configs []*types.InterfaceConfig) map[int]types.InterfaceCfgSpec
- func GetInterfaceProfile(ctx context.Context, psi ps.PackageServiceInterface, kind string, ...) (map[string]*types.InterfaceProfile, error)
- func GetNetworkInterfaces(iProfiles []types.NFTypeInterfaceProfile, icMap map[int]types.InterfaceCfgSpec, ...) ([]types.NetworkInterface, error)
- func GetReferencedProfiles(ctx context.Context, psi ps.PackageServiceInterface, ...) (*types.NFBGPConfig, []*types.InterfaceConfig, error)
Constants ¶
View Source
const ( // Allowed values for nfType UPFKind = "upf" SMFKind = "smf" AUSFKind = "ausf" UDMKind = "udm" NFBGPConfigKind = "NfBgpConfig" InterfaceConfigKind = "InterfaceConfig" InterfaceProfileKind = "InterfaceProfile" // For input files like UpfType IpAPIVersion = "nfdeploy.nephio.org/v1alpha1" // For output files like UpfDeploy and SmfDeploy OpFileName = "%s-%s.yaml" // nfDeployName-siteID OpAPIVersion = "nfdeploy.nephio.org/v1alpha1" OpNameSpace = "nephio-system" )
Variables ¶
This section is empty.
Functions ¶
func GetBGPConfig ¶
func GetBGPConfig(nfBgpConfig *types.NFBGPConfig) []types.BGPConfig
func GetInterfaceConfigSpecMap ¶
func GetInterfaceConfigSpecMap(configs []*types.InterfaceConfig) map[int]types.InterfaceCfgSpec
func GetInterfaceProfile ¶
func GetInterfaceProfile(ctx context.Context, psi ps.PackageServiceInterface, kind string, names []string, nc nfdeployutil.NamingContext) (map[string]*types.InterfaceProfile, error)
GetInterfaceProfile returns InterfaceProfile map with name as key
func GetNetworkInterfaces ¶
func GetNetworkInterfaces(iProfiles []types.NFTypeInterfaceProfile, icMap map[int]types.InterfaceCfgSpec, ipMap map[string]*types.InterfaceProfile) ([]types.NetworkInterface, error)
func GetReferencedProfiles ¶
func GetReferencedProfiles(ctx context.Context, psi ps.PackageServiceInterface, nfBgpKind, interfaceConfigKind string, nc nfdeployutil.NamingContext) (*types.NFBGPConfig, []*types.InterfaceConfig, error)
GetReferencedProfiles returns the nfBgpConfig, interfaceConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.